Optionally use existing private key to generate S/MIME certificate

This commit is contained in:
the-djmaze 2024-02-27 02:19:12 +01:00
parent 97b65465e2
commit 182f884374
6 changed files with 41 additions and 14 deletions

View file

@ -52,10 +52,13 @@ export class IdentityPopupView extends AbstractViewPopup {
if (oData.Result.x509) {
identity.smimeKey(oData.Result.pkey);
identity.smimeCertificate(oData.Result.x509);
} else {
this.submitError(oData.ErrorMessage);
}
}, {
name: identity.name(),
email: identity.email(),
privateKey: identity.smimeKey(),
passphrase: pass.password
});
}