Hi,

I’ve seen some tutorial to create EdDSA key with Gnupg

gpg --full-gen-key

and it’s supposed to allow me to create ECC key, but I see only

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)
(14) Existing key from card
Your selection?\

gpg --version show:


gpg (GnuPG) 2.2.27
Supported algorithms:
Pubkey: RSA, ELG, DSA, ECDH, ECDSA, EDDSA

Any idea what’s wrong ?

  • Rogue
    link
    fedilink
    arrow-up
    1
    ·
    6 hours ago

    I had the same issue so wrote this down when I figured it out

    Generate ultimate key

    gpg2 --quick-generate-key hello@example.com ed25519 default 0 
    

    Add sub key

    gpg2 --quick-add-key <FINGERPRINT> ed25519
    

    List keys in long format

    gpg2 --list-keys --with-subkey-fingerprint --keyid-format long