Bug 404795 - Bug in Kleopatra software (GNU / Linux only)
Summary: Bug in Kleopatra software (GNU / Linux only)
Status: RESOLVED FIXED
Alias: None
Product: kleopatra
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Andre Heinecke
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-02-25 06:46 UTC by bobcat
Modified: 2019-02-27 11:49 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
ошибка создания ключа (если не использовать создание ключа "подпись" (1.04 MB, image/png)
2019-02-25 06:46 UTC, bobcat
Details

Note You need to log in before you can comment on or make changes to this bug.
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