I'd like to generate an ECDSA (rather than RSA, DSA, or ElGamal) key using GnuPG, and use it as I might otherwise use an OpenPGP-compatible master key. I've read that gpg2has support for ECDSA keys, but I haven't been able to use that functionality. What am I missing?


Solution 1:

GnuPG 2.1.x does support ECC (including Ed25519) for more info (and examples) see https://www.gnupg.org/faq/whats-new-in-2.1.html#ecc

Solution 2:

Neither GPG 1.4.x nor GPG 2.0.x currently support ECC or ECDSA keys. Werner has been working on it for the highly developmental 2.1.x releases, but that's nowhere near ready for production use. Elliptic Curve may be backported to the current stable releases in the future, but there is no timeframe on that.