Bug 501762 - GPG-Key Selection based on Sender-Address does not work
Summary: GPG-Key Selection based on Sender-Address does not work
Status: REPORTED
Alias: None
Product: kmail2
Classification: Applications
Component: composer (other bugs)
Version First Reported In: 6.3.2
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-03-19 19:26 UTC by mail+kde
Modified: 2025-03-19 19:26 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Screenshot showing the result (bad behaviour) (146.73 KB, image/png)
2025-03-19 19:26 UTC, mail+kde
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mail+kde 2025-03-19 19:26:31 UTC
Created attachment 179583 [details]
Screenshot showing the result (bad behaviour)

SUMMARY
When having multiple Identities set up with different addresses and GPG Keys,
after composing an email, the wrong GPG Key (not matching the sender email address) is selected.

STEPS TO REPRODUCE
1. Configure multiple Identities
2. Set up different GPG Keys for those identities (with passphrases)
3. Change the sender address to some other address that is not the default identity
4. Compose the Email
5. Press send 

OBSERVED RESULT
You will get asked the passphrase for the GPG Key of the default identity

EXPECTED RESULT
Getting asked the passphrase for the GPG Key of the senders identity

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 6.13.5-1-vanilla (64-bit) with KDE on Wayland
KDE Plasma Version: 6.3.2
KDE Frameworks Version: 6.11.0
Qt Version: 6.8.2

ADDITIONAL INFORMATION