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/EMailVerificationPayload.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/EMailVerificationPayload.cpp')
| -rw-r--r-- | src/m_email/EMailVerificationPayload.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/m_email/EMailVerificationPayload.cpp b/src/m_email/EMailVerificationPayload.cpp index c4fabfe..a2cf513 100644 --- a/src/m_email/EMailVerificationPayload.cpp +++ b/src/m_email/EMailVerificationPayload.cpp @@ -79,6 +79,7 @@ const NameTable<EMailBadgeState> kBadgeNames{{ {EMailBadgeState::kSIGNED_UNKNOWN_KEY, "signed_unknown_key"}, {EMailBadgeState::kSIGNED_MISMATCH, "signed_mismatch"}, {EMailBadgeState::kSIGNED_ERROR, "signed_error"}, + {EMailBadgeState::kSIGNED_UNAUTHORIZED_KEY, "signed_unauthorized_key"}, {EMailBadgeState::kSIGNED_BAD, "signed_bad"}, }}; |
