Summary: | KMail does not find the key used to sign a message if a signing subkey was used | ||
---|---|---|---|
Product: | [Applications] kmail2 | Reporter: | Ingo Klöcker <kloecker> |
Component: | crypto | Assignee: | Ingo Klöcker <kloecker> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | 5.22.3 | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/pim/messagelib/commit/70f39256784280d2034aa7bf1c4765f606c22d56 | Version Fixed In: | 5.23.1 |
Sentry Crash Report: |
Description
Ingo Klöcker
2023-05-03 09:45:50 UTC
Git commit 606ea1478d2d5b5aacdc6ef3f050655fe0352d87 by Ingo Klöcker, on behalf of Ingo Klöcker. Committed on 03/05/2023 at 12:51. Pushed by kloecker into branch 'release/23.04'. Look for matching subkey if no key was found for fingerprint If the message was signed with a signing subkey instead of with the primary key of an OpenPGP certificate, then we won't find a key with findByFingerprint(). To look for a matching subkey we need to use findSubkeysByKeyID(). FIXED-IN: 5.23.1 M +11 -1 mimetreeparser/src/messagepart.cpp https://invent.kde.org/pim/messagelib/commit/606ea1478d2d5b5aacdc6ef3f050655fe0352d87 Git commit 70f39256784280d2034aa7bf1c4765f606c22d56 by Ingo Klöcker, on behalf of Ingo Klöcker. Committed on 03/05/2023 at 15:47. Pushed by kloecker into branch 'master'. Look for matching subkey if no key was found for fingerprint If the message was signed with a signing subkey instead of with the primary key of an OpenPGP certificate, then we won't find a key with findByFingerprint(). To look for a matching subkey we need to use findSubkeysByKeyID(). FIXED-IN: 5.23.1 (cherry picked from commit 606ea1478d2d5b5aacdc6ef3f050655fe0352d87) M +11 -1 mimetreeparser/src/messagepart.cpp https://invent.kde.org/pim/messagelib/commit/70f39256784280d2034aa7bf1c4765f606c22d56 |