Choosing & Generating Your Key Pair: Ed25519 vs. RSA-4096
For a new personal key, Ed25519 is the right default: the public key fits in 32 bytes, a signature in 64, and signing is fast because the algorithm is deterministic — no random number needed at sign time. RSA-4096 earns its place only for compatibility: old OpenPGP smartcards, pre-2018 clients, and some hardware tokens do not speak elliptic curves.
In GnuPG, gpg --full-generate-key walks through the choice — option (9) for elliptic curves, then (1) for Curve 25519:
$ gpg --full-generate-key
Please select what kind of key you want:
(9) ECC (sign and encrypt)
Your selection? 9
Please select which elliptic curve you want:
(1) Curve 25519 *default*
Your selection? 1
Key is valid for? (0) 2y
Real name: Alice
Email address: alice@example.org
In Kleopatra — the certificate manager bundled with Gpg4win on Windows and included in Tails — the same pair is made from File → New OpenPGP Key Pair, with the curve selector under Advanced Settings.
Two choices at creation time pay off later. Issue a revocation certificate immediately — gpg --output revoke.asc --gen-revoke alice@example.org — and store it offline; if the machine holding the secret key is lost or seized, that file is the only way to mark the key as dead. And set an expiry of one to two years: you can push it forward while you hold the private key, but a permanently lost key at least stops looking valid on keyservers.