Bug 404795

Summary: Bug in Kleopatra software (GNU / Linux only)
Product: [Applications] kleopatra Reporter: bobcat <proocc>
Component: generalAssignee: Andre Heinecke <aheinecke>
Status: RESOLVED FIXED    
Severity: normal CC: kdepim-bugs, mutz
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: ошибка создания ключа (если не использовать создание ключа "подпись"

Description bobcat 2019-02-25 06:46:54 UTC
Created attachment 118346 [details]
ошибка создания ключа (если не использовать создание ключа "подпись"

невозможно создать ключ шифрования только для шифрования - ошибка (создать ключ возможно только с подключом подписи, но ключ подпись не всегда требуется)

It is impossible to create an encryption key only for encryption - an error (it is possible to create a key only with a signature subkey, but a signature key is not always required)
Comment 1 Andre Heinecke 2019-02-25 07:52:07 UTC
This is a very specialized requirement and it is probably better to use the command line for that.

You always need at least a certify signature key to create the keybinding signatures.

I'll treat it as a bug because the user interface should not offer something that will result in a general error.
Comment 2 bobcat 2019-02-25 14:23:52 UTC
If you uncheck the box (+ RSA), the Key for encryption only (no signature is required) is created successfully.
Comment 3 Andre Heinecke 2019-02-27 11:49:00 UTC
Git commit 8cec225896093bb320bd0e79d118cc8b1a3bbe6a by Andre Heinecke.
Committed on 27/02/2019 at 11:48.
Pushed by aheinecke into branch 'master'.

Fix keygen without signing capability

If no usage is provided we need to explicitly
set "cert" as usage. This only affects OpenPGP because
for S/MIME the UI forces at least one usage.

GnuPG-Bug-Id: T4373

M  +8    -8    src/newcertificatewizard/newcertificatewizard.cpp

https://commits.kde.org/kleopatra/8cec225896093bb320bd0e79d118cc8b1a3bbe6a