Encrypt credential with shared key

This commit is contained in:
brantje 2016-10-02 13:02:00 +02:00
parent aff63a5f77
commit 7f1783294f
No known key found for this signature in database
GPG key ID: 5FF1D117F918687F

View file

@ -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++){