mirror of
https://github.com/the-djmaze/snappymail.git
synced 2025-02-24 06:47:05 +08:00
#89 OpenPGP better labeling
This commit is contained in:
parent
70c55a60be
commit
949005eda7
3 changed files with 2 additions and 4 deletions
|
@ -51,7 +51,7 @@ class OpenPgpKeyModel {
|
|||
if (key.users) {
|
||||
key.users.forEach(user => user.userID.email && aEmails.push(user.userID.email));
|
||||
}
|
||||
this.id = key.getKeyID().toHex();
|
||||
this.id = key.getKeyID().toHex().toUpperCase();
|
||||
this.fingerprint = key.getFingerprint();
|
||||
this.can_encrypt = !!key.getEncryptionKey();
|
||||
this.can_sign = !!key.getSigningKey();
|
||||
|
|
|
@ -729,8 +729,6 @@ export class MailMessageView extends AbstractViewRight {
|
|||
const publicKey = OpenPGPUserStore.getPublicKeyFor(sender);
|
||||
OpenPGPUserStore.verify(message.plain(), null/*detachedSignature*/, publicKey).then(result => {
|
||||
if (result) {
|
||||
// TODO: if result.data is not cleartext then
|
||||
// parse mime to find and verify signature
|
||||
message.plain(result.data);
|
||||
message.viewPlain();
|
||||
console.dir({signatures:result.signatures});
|
||||
|
|
|
@ -40,7 +40,7 @@
|
|||
<div data-bind="component: {
|
||||
name: 'Checkbox',
|
||||
params: {
|
||||
label: 'Store public key on server',
|
||||
label: 'Backup public key on server',
|
||||
value: backupPublicKey
|
||||
}
|
||||
}"></div>
|
||||
|
|
Loading…
Reference in a new issue