How to batch generate ECC key

Kristian Fiskerstrand kristian.fiskerstrand at sumptuouscapital.com
Fri Dec 29 17:31:49 CET 2017


On 12/29/2017 04:53 PM, Rezart Qelibari für GnuPG wrote:
> - How did you find out the protocol names, especially the upper case „E“
> of „Ed25519“ and that „cv25519“ is actually named „Curve25519“? Although
> „gpg --expert --full-generate-key“ correctly states  „Curve 25519“, „gpg
> -k“ still yields „cv25519“. I find this behaviour very strange and unwisely.

The short answer is libgcrypt's cipher/ecc-curves.c , see line 45/46 for
mapping of shortnames to OIDs. Now, I agree this should at least be
case-insensitive, but there might be a feature request open for that
already :)

> 
> - Why do the algorithm ids (22 for „Ed25519“ and 18 for „Curve25519“)
> not work?

Algorithm IDs are not directly tied to curves, so that would be more
related to Key-Type than Key-Curve (and corresponding subkey), not the OIDs.

-- 
----------------------------
Kristian Fiskerstrand
Blog: https://blog.sumptuouscapital.com
Twitter: @krifisk
----------------------------
Public OpenPGP keyblock at hkp://pool.sks-keyservers.net
fpr:94CB AFDD 3034 5109 5618 35AA 0B7F 8B60 E3ED FAE3
----------------------------
"If you are successful, you may win false friends and true enemies.
Succeed anyway."
(Mother Teresa)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <https://lists.gnupg.org/pipermail/gnupg-users/attachments/20171229/06a1edea/attachment.sig>


More information about the Gnupg-users mailing list