Bug 363148 - Deselecting Signing check box in Advanced Settings - Certificate Usage results in General Error in Kleopatra
Summary: Deselecting Signing check box in Advanced Settings - Certificate Usage result...
Status: CONFIRMED
Alias: None
Product: kleopatra
Classification: Applications
Component: general (show other bugs)
Version: 2.3.0
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Andre Heinecke
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-05-16 20:43 UTC by Niall
Modified: 2016-05-18 15:35 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Kleopatra Version 2.3.1 - Steps to Reproduce (98.28 KB, application/pdf)
2016-05-16 20:43 UTC, Niall
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Niall 2016-05-16 20:43:47 UTC
Created attachment 99024 [details]
Kleopatra Version 2.3.1 - Steps to Reproduce

If using Kleopatra on Windows 10 operating system and following standard use case of File - New Certificate, select Create a Personal OpenPGP... option. Fill in the Name, EMail, and leave Comment field blank. Click Advanced Settings button. Go with defaults, but deselect the Signing checkbox as that checkbox is optional in UI. Click Create Key. 
Result: Could not create certificate: General Error.

Retests: tested this with data in Comment field and without data in case any entry I made was impacting the checkbox activity in parallel. Also tested making changes to Date expiry and leaving at default. If I reselect the Signing checkbox, the certificate creation process runs fine as normal, so just that checkbox being deselected results in error. GPG4Win install is fine otherwise and all other functions I need for now are executing fine both from Kleopatra and command line windows.

I was testing this after running some tests in the command-line utility for creation of separate sign-only certificates, so came across more by accident as I would not normally deselect the Signing option when creating a New cert in Kleopatra. I had checked the Bug database for older bugs and autolist when logging this but not seeing a duplicate. Please discard if it is and sorry for the noise it is a duplicate of an old bug.

I ran a test on two other versions as I initially thought it was the 2.3.1 version I installed today and that 2.3.1 was the problem, but it wasn't as using Signing option everything works fine. I noticed the same error behavior in the 2.3.0 release and the original older version I had: 2.2.6. Everything was tested on Windows 10.

I have attached a document with 2 screenshots illustrating precondition and failed cert creation result.
Comment 1 Stefan 2016-05-18 00:43:16 UTC
Could confirm the issue here --- Win 10, Kleopatra 2.2.0.
Comment 2 Andre Heinecke 2016-05-18 15:35:20 UTC
I've checked on the command line. GnuPG does not allow this. So I've opened an issue with GnuPG about it.
https://bugs.gnupg.org/gnupg/issue2364

But yes Kleopatra should disable this option if a certify only key is not supported.