bugfix: store in Passphrases

This commit is contained in:
the-djmaze 2024-02-23 03:22:29 +01:00
parent 6f33bc23d3
commit a7041b4efb
3 changed files with 4 additions and 7 deletions

View file

@ -1566,8 +1566,7 @@ export class ComposePopupView extends AbstractViewPopup {
params.signCertificate = identity.smimeCertificate();
params.signPrivateKey = identity.smimeKey();
if (identity.smimeKeyEncrypted()) {
const pass = await Passphrases.ask(
identity.smimeKey(),
const pass = await Passphrases.ask(identity,
i18n('SMIME/PRIVATE_KEY_OF', {EMAIL: identity.email()}),
'CRYPTO/DECRYPT'
);