Bug 469722

Summary: Modifying identity assumes some GPG key for signing
Product: [Applications] kmail2 Reporter: tusooa <tusooa>
Component: config dialogAssignee: kdepim bugs <kdepim-bugs>
Status: CONFIRMED ---    
Severity: normal    
Priority: NOR    
Version: 5.22.3   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description tusooa 2023-05-14 00:50:39 UTC
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1. Create an identity with no gpg key associated.
2. Modify that identity.
3. Add some address to "email aliases."
4. **Without navigating to the Cryptography tab**, Hit OK to save.
5. Open the modify identity dialog and go to the Cryptography tab.

OBSERVED RESULT
It is automatically associated with some GPG key. Note that if you do not do 5, and start to compose an email instead, "message will be signed" will appear in the composer.

EXPECTED RESULT
It should not be associated with any GPG key.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 6.1.19 / 5.27.5
(available in About System)
KDE Plasma Version: 5.27.5
KDE Frameworks Version: 5.105.0
Qt Version: 5.15.9

ADDITIONAL INFORMATION