mirror of
https://github.com/nextcloud/passman.git
synced 2025-10-18 09:27:02 +08:00
Encrypt credential with shared key
This commit is contained in:
parent
aff63a5f77
commit
7f1783294f
1 changed files with 4 additions and 0 deletions
|
@ -135,6 +135,10 @@ angular.module('passmanApp')
|
|||
|
||||
ShareService.generateSharedKey(20).then(function(key){
|
||||
console.log(key);
|
||||
|
||||
|
||||
var encryptedSharedCredential = ShareService.encryptSharedCredential($scope.storedCredential, key);
|
||||
|
||||
var list = $scope.share_settings.credentialSharedWithUserAndGroup;
|
||||
console.log(list);
|
||||
for (var i = 0; i < list.length; i++){
|
||||
|
|
Loading…
Add table
Reference in a new issue