A way to list the supported ECC curves
Closed, ResolvedPublic


There should be a way to find out which ECC curve names are accepted by gpg.
Best would be to have a command to list them.

https://gnupg.org/documentation/manuals/gnupg/ (showing 2.2.5)
only has some documentation in quick-add-key, see https://gnupg.org/documentation/manuals/gnupg/OpenPGP-Key-Management.html#index-quick_002dadd_002dkey

And that does not list all algorithms nor does it point to a place or a way to get this listing.

Suggestion: add this to the --version command and change the documentation to mention this.

werner added a subscriber: werner.Apr 16 2018, 10:38 AM
This comment was removed by werner.
werner triaged this task as Normal priority.Apr 16 2018, 10:38 AM
werner added a project: Documentation.
gpg --with-colons --list-config curve | cut -d: -f3- |awk 'BEGIN{RS=";"};{print $0}'

Hint from @gniibe: gpg --with-colons --list-config curve is a workaround.
So it still should be documented and made accessible from a non-esoteric, non-internal way. ;)

werner closed this task as Resolved.Aug 29 2018, 3:15 PM
werner claimed this task.