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?


2 Answers 2


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.

FYI, you must add the --expert option to reveal the new options.


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.

  • 1
    support for this is now in the modern branch. So this is somewhat more near stable. gnupg.org/download
    – code_monk
    Commented Sep 7, 2015 at 20:14
  • 3
    This answer is out of date and should be updated or removed.
    – ecnepsnai
    Commented Nov 29, 2019 at 2:48

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .