mirror of
https://github.com/openpgpjs/openpgpjs.git
synced 2026-03-04 08:15:20 +00:00
Merge pull request #163 from MarcoPolo/master
Fixed keyring local storage
This commit is contained in:
@@ -42,7 +42,7 @@ LocalStore.prototype.load = function () {
|
||||
if (armoredKeys !== null && armoredKeys.length !== 0) {
|
||||
var key;
|
||||
for (var i = 0; i < armoredKeys.length; i++) {
|
||||
key = openpgp.key.readArmored(armoredKeys[i]);
|
||||
key = openpgp.key.readArmored(armoredKeys[i]).keys[0];
|
||||
keys.push(key);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user