Summary: | Composer signs messages by default even if turned off in settings | ||
---|---|---|---|
Product: | [Applications] kmail2 | Reporter: | Grósz Dániel <groszdanielpub> |
Component: | composer | Assignee: | kdepim bugs <kdepim-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | jjm |
Priority: | NOR | ||
Version First Reported In: | 6.0.2 | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/pim/kmail/-/commit/b43f1730955606ea4222d7894fe1495b77937ad8 | Version Fixed In: | |
Sentry Crash Report: |
Description
Grósz Dániel
2024-04-28 15:45:02 UTC
Confirmed with current KMail Git master (7f3171e8). Settings - Configure KMail - Security - Encryption has the first four check boxes ("Encrypt draft messages", "Encrypt sent messages", "Sign all messages" and "Encrypt all messages when possible") all turned off. Accounts - Identities - default identity - Modify - Cryptography has a PGP key selected but "Enable Autocrypt" and "Override global settings for security defaults" turned off. Starting to compose a new mail still starts with the "Sign Message" tool button selected and the "Message will be signed" banner shown. A possibly relevant merge request was started @ https://invent.kde.org/pim/kmail/-/merge_requests/142 Git commit b43f1730955606ea4222d7894fe1495b77937ad8 by Jonathan Marten. Committed on 17/10/2024 at 07:32. Pushed by marten into branch 'master'. Set the message signing state correctly when the composer is opened Need to use our own internal pgpAutoSign() in changeCryptoAction(), because that takes account of both the global defaults and the identity-specific override. M +4 -1 src/editor/kmcomposerwin.cpp https://invent.kde.org/pim/kmail/-/commit/b43f1730955606ea4222d7894fe1495b77937ad8 |