Curve25519 option is missing???
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gnupg2 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Curve25519 option is missing, looked in forms & bug reports for "Curve25519", but not seeing anyone reporting, or asking about this, so here goes:
$ gpg2 --expert --full-gen-key
gpg (GnuPG) 2.1.11; Copyright (C) 2016 Free Software Foundation, Inc.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Please select what kind of key you want:
(1) RSA and RSA (default)
(2) DSA and Elgamal
(3) DSA (sign only)
(4) RSA (sign only)
(7) DSA (set your own capabilities)
(8) RSA (set your own capabilities)
(9) ECC and ECC
(10) ECC (sign only)
(11) ECC (set your own capabilities)
Your selection? 9
Please select which elliptic curve you want:
(2) NIST P-256
(3) NIST P-384
(4) NIST P-521
(5) Brainpool P-256
(6) Brainpool P-384
(7) Brainpool P-512
Your selection? 1
Invalid selection.
Your selection?
-------
So as you see, the elliptic curve options start numbering with 2). But option 1) should be Curve25519
What's going on here?
Running a fully-updated Xubuntu 16.04.1 LTS
...including gpg (GnuPG) 2.1.11 & libgcrypt 1.6.5
It is available if one selects (10) ECC (sign only).
Upon selectgin (9) i believe you will generate two keys the Curve25519 for signing and another one for encryption. From above it seems you are selecting wich algo to use for the encryption key, as Curve25519 is not yet standartised for encryption.