Added: GnuPG encrypt (sign still fails)

This commit is contained in:
the-djmaze 2022-02-09 10:53:55 +01:00
parent f3717815e1
commit 8fff6fa759
11 changed files with 196 additions and 91 deletions

View file

@ -161,10 +161,6 @@ export const OpenPGPUserStore = new class {
return findOpenPGPKey(this.privateKeys, query/*, sign*/);
}
getPublicKeyFor(query/*, sign*/) {
return findOpenPGPKey(this.publicKeys, query/*, sign*/);
}
/**
* https://docs.openpgpjs.org/#encrypt-and-decrypt-string-data-with-pgp-keys
*/