Bug 400785 - GPG Group Support not working any more
Summary: GPG Group Support not working any more
Status: REPORTED
Alias: None
Product: kmail2
Classification: Applications
Component: crypto (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-11-07 06:48 UTC by Stephan Mueller
Modified: 2019-01-06 11:44 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stephan Mueller 2018-11-07 06:48:17 UTC
Starting with kmail shipped with 18.04 and still present in kmail whipped with 18.08, the GPG group support does not work any more.

I.e. when creating an Addressbook entry and assign multiple GPG keys to it, kmail used to encrypt the emails to all of those GPG keys before submission.

This does not work any more. Instead, kmail states that it cannot find the key for the given email address as in my case that email address is a mail-exploder email address without its own GPG key.


STEPS TO REPRODUCE
1. Have an email address without a GPG key
2. Create an addressbook entry for this email address and assign GPG keys to it in the addressbook
3. compose an email with kmail and encrypt it to that email address

OBSERVED RESULT
kmail does not know the recipient key and asks for it.

EXPECTED RESULT
kmail should automatically select all GPG keys configured in kaddressbook.

SOFTWARE VERSIONS
(available in About System)
KDE Plasma Version: 5.13.5
KDE Frameworks Version: 5.50.-
Qt Version: 5.11.1

ADDITIONAL INFORMATION
Comment 1 Stephan Mueller 2019-01-06 11:44:32 UTC
The following patch resolves the issue: https://lists.gnupg.org/pipermail/gnupg-devel/2019-January/034148.html

Note, there is a UI issue that is a nuisance: When encrypting to a group and the dialog box showing the recipients appears, it is empty. IMHO this is due to the fact that kmail does not request a "gpg --list-key" resolution before the dialog box is displayed.