mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-10 15:08:28 +03:00
Update openpgpjs 0.3.0 -> 0.5.1 (#142)
This commit is contained in:
parent
1ed1efbe6c
commit
61a7a9c078
23 changed files with 160 additions and 228 deletions
|
|
@ -49,10 +49,10 @@ function PopupsGenerateNewOpenPgpKeyViewModel()
|
|||
mKeyPair = window.openpgp.generateKeyPair(1, Utils.pInt(self.keyBitLength()), sUserID, Utils.trim(self.password()));
|
||||
if (mKeyPair && mKeyPair.privateKeyArmored)
|
||||
{
|
||||
oOpenpgpKeyring.importKey(mKeyPair.privateKeyArmored);
|
||||
oOpenpgpKeyring.importKey(mKeyPair.publicKeyArmored);
|
||||
oOpenpgpKeyring.privateKeys.importKey(mKeyPair.privateKeyArmored);
|
||||
oOpenpgpKeyring.publicKeys.importKey(mKeyPair.publicKeyArmored);
|
||||
oOpenpgpKeyring.store();
|
||||
|
||||
|
||||
RL.reloadOpenPgpKeys();
|
||||
Utils.delegateRun(self, 'cancelCommand');
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue