Bug 406909

Summary: Unable to select GPG key with a + in address
Product: [Applications] kmail2 Reporter: aeris <aeris>
Component: config dialogAssignee: kdepim bugs <kdepim-bugs>
Status: REPORTED ---    
Severity: major CC: sknauss
Priority: NOR    
Version: 5.11.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: GPG show the corresponding key
Address configured on identity
No GPG key available

Description aeris 2019-04-26 07:39:49 UTC
SUMMARY

When using an email address with a "+" on it, kmail doesn't detect any GPG key even if at least one has a matching UID

STEPS TO REPRODUCE
1. Create a GPG key with an UID containing an address containing a "+"
2. Create a Kmail identity using this address
3. Select a GPG key for this Kmail identity

OBSERVED RESULT

No GPG key show on dropdown list

EXPECTED RESULT

GPG key available on dropdown list

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux
KDE Plasma Version: 5.15.4-1
KDE Frameworks Version: KDE Frameworks 5.57.0
Qt Version: Qt 5.12.3 (built on 5.12.2)

ADDITIONAL INFORMATION
Comment 1 aeris 2019-04-26 07:40:31 UTC
Created attachment 119643 [details]
GPG show the corresponding key
Comment 2 aeris 2019-04-26 07:42:08 UTC
Created attachment 119644 [details]
Address configured on identity
Comment 3 aeris 2019-04-26 07:42:54 UTC
Created attachment 119645 [details]
No GPG key available