Skip to content

OpenSSH drops Ed25519 as its default key type, switches to ECDSA P-384

A commit from OpenSSH lead developer Damien Miller changes what ssh-keygen generates by default, reversing a decade of advice to prefer Ed25519, and starts preferring a post-quantum hybrid signature.

OpenSSH’s development branch now generates ECDSA NIST P-384 keys by default when you run ssh-keygen with no arguments, not Ed25519. Damien Miller committed the change on 3 December, with the log message “switch default key type generated to ECDSA NISTP384; ok markus@”. A second commit the same day reordered the default signature algorithm preference to try an ML-DSA 44/Ed25519 hybrid first, then fall back to ECDSA P-384.

$ ssh-keygen
# previously: Ed25519
# now: ECDSA, NIST P-384, 384 bits

Ed25519 has been the recommended default for most of the last decade, favoured for speed and for not depending on NIST’s curve parameters. This reverses that guidance inside OpenSSH itself. Miller also landed initial, not-yet-default support for a composite ML-DSA 87/P-384 signature type, based on a draft IETF spec for post-quantum SSH signatures. None of this has shipped in a stable OpenSSH release yet, it’s only in the -current development branch.

Why it matters: this is the first concrete technical move from inside a tool nearly every developer runs daily, arriving two days after OpenAI and Anthropic’s joint statement that unreleased models had found weaknesses in RSA and elliptic-curve maths. If you pin key generation to a specific algorithm in scripts, onboarding docs or CI, don’t assume the current defaults hold once this reaches a release.

The caveat: this is unreleased development code, and OpenSSH hasn’t published a rationale beyond the commit message. Existing Ed25519 keys are not affected, and nobody’s keys change today.

Share

Related reading

More from The Wire

All briefs