fix(mail): check if smime certificate matches sender address

Fixes #5407
This commit is contained in:
Francis Lachapelle
2021-10-29 16:34:36 -04:00
parent 5e7c9a8890
commit 6eb5e97154
3 changed files with 113 additions and 14 deletions
@@ -290,12 +290,18 @@
/* Trying to access a non-existent certificate */
"No certificate associated to account." = "No certificate associated to account.";
/* Invalid message signature */
/* Invalid S/MIME signature */
"Digital signature is not valid" = "Digital signature is not valid";
/* Valid message signature */
/* Valid S/MIME signature */
"Message is signed" = "Message is signed";
/* Valid S/MIME signature but common name doesn't match */
"Message is signed but the certificate (%{certificateCn}) doesn't match the sender email address" = "Message is signed but the certificate (%{certificateCn}) doesn't match the sender email address";
/* Valid S/MIME signature but common name not found */
"Message is signed but the certificate doesn't match the sender email address" = "Message is signed but the certificate doesn't match the sender email address";
/* Unknown error while validating message signature */
"Digital signature is not valid" = "Digital signature is not valid";