Bug 315726 - KMail 2 doesn't accept subkeys for signing and encrypting
Summary: KMail 2 doesn't accept subkeys for signing and encrypting
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kmail2
Classification: Applications
Component: crypto (show other bugs)
Version: unspecified
Platform: Other All
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-24 19:21 UTC by Samir Nassar
Modified: 2017-01-07 22:46 UTC (History)
6 users (show)

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 Samir Nassar 2013-02-24 19:21:50 UTC
KMail 2 doesn't allow entering separate subkeys for signing and encrypting but only allows the use of the primary key for signing and encrypting.

Even editing .kde/share/config/emailidentities directly and explicitly setting the fingerprints for the signing and encryption subkeys doesn't work:

PGP Encryption Key= & PGP Signing Key= will both be reset to the primary key.

Reproducible: Always

Steps to Reproduce:
1. Attempt to set separate signing and encryption subkeys
Actual Results:  
Only primary key is selectable.

Expected Results:  
Being allowed to use separate signing and encryption keys.
Comment 1 Hauke Laging 2013-07-09 02:54:55 UTC
If there is a subkey available for a certain operation then the mainkey is never used. Have a look at the results with gpg --list-packets. You will most probably see that the subkeys have been used.

If there are several equivalent subkeys available then you are in the situation that you cannot choose. But this is a seldom, rather complicated operation and probably not your problem.

It would be nice, though, if KMail could be configured to use a separate GnuPG configuration. This is possible for KGpg. But that would solve only half of your problem and would not be a very clean solution.
Comment 2 Denis Kurz 2016-09-24 18:21:40 UTC
This bug has only been reported for versions before 4.14, which have been unsupported for at least two years now. Can anyone tell if this bug still present?

If noone confirms this bug for a Framework-based version of kmail2 (version 5.0 or later, as part of KDE Applications 15.12 or later), it gets closed in about three months.
Comment 3 Denis Kurz 2017-01-07 22:46:18 UTC
Just as announced in my last comment, I close this bug. If you encounter it again in a recent version (at least 5.0 aka 15.08), please open a new one unless it already exists. Thank you for all your input.