mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-28 19:49:20 +03:00
Cleanup PGP PUBLIC KEY handling
This commit is contained in:
parent
6ce08726b4
commit
ca12655e5f
3 changed files with 5 additions and 13 deletions
|
|
@ -24,7 +24,7 @@ export class MimeHeaderAutocryptModel/* extends AbstractModel*/
|
|||
return `addr=${this.addr}; keydata=${this.keydata}`;
|
||||
}
|
||||
|
||||
key() {
|
||||
pem() {
|
||||
return '-----BEGIN PGP PUBLIC KEY BLOCK-----\n\n'
|
||||
+ this.keydata
|
||||
+ '\n-----END PGP PUBLIC KEY BLOCK-----';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue