Security review and fix issues
This commit is contained in:
+1
-1
@@ -184,7 +184,7 @@ pgpMailUi.wrapShowCompose(baseShowCompose => function (reply, forward = false) {
|
||||
if (!selectPgpMailUi('#pgp-hint')) return;
|
||||
if (status.missing.length) hint.textContent = `No public key for ${status.missing.join(', ')}`;
|
||||
else {
|
||||
hint.textContent = status.recipients.some(item => item.trust === 'unknown') ? 'Keys found; some are not verified yet' : 'Keys found for all recipients';
|
||||
hint.textContent = status.recipients.some(item => item.trust !== 'verified') ? 'Keys found; some are not verified yet' : 'Keys found for all recipients';
|
||||
if (!touched && !encrypt.checked) encrypt.checked = true;
|
||||
}
|
||||
} catch { hint.textContent = ''; }
|
||||
|
||||
Reference in New Issue
Block a user