diff options
Diffstat (limited to 'src/m_email/EMailModule.cpp')
| -rw-r--r-- | src/m_email/EMailModule.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/m_email/EMailModule.cpp b/src/m_email/EMailModule.cpp index 48b24e1..cc7a647 100644 --- a/src/m_email/EMailModule.cpp +++ b/src/m_email/EMailModule.cpp @@ -654,6 +654,7 @@ auto ReportStatusFor(EMailBadgeState overall) -> int { return 1; case EMailBadgeState::kSIGNED_BAD: + case EMailBadgeState::kSIGNED_UNAUTHORIZED_KEY: case EMailBadgeState::kSIGNED_ERROR: case EMailBadgeState::kMALFORMED: return -1; @@ -738,6 +739,14 @@ auto ReportDescriptionFor(const EMailVerificationResult& result) -> QString { "was not made for this message.") + rewritten; + case EMailBadgeState::kSIGNED_UNAUTHORIZED_KEY: + return QApplication::translate( + "EMailModule", + "The signature matches the bytes it covers, but it was made " + "with a key the sender's certificate does not authorize to " + "sign. It cannot be relied on as the sender's signature.") + + rewritten; + case EMailBadgeState::kSIGNED_ERROR: return QApplication::translate( "EMailModule", |
