Cleanup _pgpEncrypt
Signed-off-by: Georg Pfuetzenreuter <georg.pfuetzenreuter@suse.com>
This commit is contained in:
parent
f49a3ac1ff
commit
4c8f31ffb0
@ -81,7 +81,6 @@ class Email {
|
||||
* @return {string} the encrypted PGP message block
|
||||
*/
|
||||
async _pgpEncrypt(plaintext, publicKeyArmored) {
|
||||
//const {keys: [key], err} =
|
||||
let key;
|
||||
try {
|
||||
key = await openpgp.readKey({armoredKey: publicKeyArmored});
|
||||
|
Loading…
Reference in New Issue
Block a user