Refractoring Stage 6.9 Moved the OpenPGP key UI’s active-account lookup to the mail feature API. The renderer now uses explicit APIs for account, snooze, attachment, OpenPGP mail/key, shortcuts, and DAV integrations; remaining transitional globals are mainly in the core shell and cross-feature hooks.
This commit is contained in:
@@ -3,7 +3,7 @@ function pgpAvailable() { return Boolean(window.daybreakMail?.pgp); }
|
||||
|
||||
function openEncryptionKeys() {
|
||||
const root = $('#modal-root');
|
||||
const account = connectedMailAccount || {};
|
||||
const account = window.epMailFeatures.mail.connectedAccount || {};
|
||||
root.innerHTML = `<div class="modal-overlay"><div class="compose-modal attachments-modal"><div class="modal-head"><span>Encryption keys</span><button class="modal-close" aria-label="Close">×</button></div><div class="compose-fields">
|
||||
<p class="account-note">OpenPGP keys are protected by a passphrase and stored encrypted by your operating system. Back up your private key and revocation certificate: without them, encrypted mail cannot be recovered. Contact keys below are used to encrypt mail to your correspondents and to check signatures.</p>
|
||||
<div id="pgp-key-list" class="attachment-list">Loading keys…</div>
|
||||
|
||||
Reference in New Issue
Block a user