Kleopatra: Key generation fails with "unkown elliptic curve"
Closed, ResolvedPublic

Assigned To
Authored By
• ebo
Feb 27 2026, 12:04 PM

Description

Trying to generate a key with default options (and it seems with any other, too) fails every time.

gpg: key generation failed: Unbekannte elliptische Kurve
1	0.000000	9056	kleopatra.exe	kf.windowsystem: Could not find any platform plugin
2	3.605681	9056	kleopatra.exe	org.kde.pim.kleopatra: 0x27acf8e2e90
3	6.129315	9056	kleopatra.exe	org.kde.pim.libkleo: KeyCacheAutoRefreshSuspension
4	6.294935	9056	kleopatra.exe	org.kde.pim.libkleo: errorAsString gettext_use_utf8(-1) returns 1
5	6.294985	9056	kleopatra.exe	org.kde.pim.libkleo: errorAsString error: "Unbekannte elliptische Kurve"
6	6.295972	9056	kleopatra.exe	org.kde.pim.libkleo: errorAsString error (percent-encoded): "Unbekannte%20elliptische%20Kurve"

Gpgme log:

Details

Version
Gpg4win 5.0.2 (Beta)

Revisions and Commits

Event Timeline

• ebo triaged this task as Unbreak Now! priority.Feb 27 2026, 12:04 PM
• ebo created this task.

Works on the command line and adding a subkey later does also work.

Libkleo does not specify the curve in the parameter file becuase keyCurvve:isEmpty is asserted:

if (!d->keyCurve.isEmpty()) {
    keyParameters.push_back(serialize("Key-Curve", d->keyCurve));
}
• werner lowered the priority of this task from Unbreak Now! to High.Feb 27 2026, 2:54 PM

This is not "Unbreak now" because we have not released the software yet. Unbreak now should be used for bugs in deployed software but not during development.

• ikloecker changed the task status from Open to Testing.Mar 2 2026, 10:42 AM
• ikloecker claimed this task.
• ikloecker moved this task from Backlog to WIP on the gpd5x board.
• ikloecker added a subscriber: • ikloecker.

Fixed. This regression was caused by changes made for T8056: Support config options RSAKeySizes and PGPKeyType for Kf6.

• ebo moved this task from WIP to Done on the gpd5x board.

Works with Gpg4win-5.0.2-beta2

• ikloecker mentioned this in Unknown Object (Maniphest Task).Mar 9 2026, 9:11 AM