diff options
| author | saturneric <[email protected]> | 2026-10-21 21:42:47 +0200 |
|---|---|---|
| committer | saturneric <[email protected]> | 2026-10-21 21:42:47 +0200 |
| commit | d65a5a56d8a703b144af7f05023931e1a61d5992 (patch) | |
| tree | 190efdf780aff14f31928aa51be80be7bca7dd8b /src/m_email/EMailViewLayout.cpp | |
| parent | fix(build): prioritize selected OpenSSL headers (diff) | |
| download | modules-d65a5a56d8a703b144af7f05023931e1a61d5992.tar.gz modules-d65a5a56d8a703b144af7f05023931e1a61d5992.zip | |
fix(email): show an unauthorized signing key as its own verdict
- map host validity 10 (key not authorized) to a new badge state
- rank it between "could not be checked" and "bad signature"
- word it on the badge, security view and report, not as BAD
- carry it through the verification payload by name
- translate the new strings in every shipped locale
Diffstat (limited to 'src/m_email/EMailViewLayout.cpp')
| -rw-r--r-- | src/m_email/EMailViewLayout.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/m_email/EMailViewLayout.cpp b/src/m_email/EMailViewLayout.cpp index 82c7b4c..7c6689e 100644 --- a/src/m_email/EMailViewLayout.cpp +++ b/src/m_email/EMailViewLayout.cpp @@ -150,6 +150,10 @@ auto EMailSecurityStatus(EMailBadgeState badge, bool encrypted) case EMailBadgeState::kSIGNED_BAD: return {QCoreApplication::translate("EMailPageView", "Bad signature"), warning}; + case EMailBadgeState::kSIGNED_UNAUTHORIZED_KEY: + return {QCoreApplication::translate("EMailPageView", + "Signing key not authorized"), + warning}; case EMailBadgeState::kSIGNED_ERROR: // Not the same claim as a bad signature, and not the same as one nobody // has looked at. The check was made and could not produce an answer, |
