upvote
The reason why the default key type was switched to ECDSA P-384 and not to one of the quantum-resistant types supported by the current or by the next OpenSSH version, is that the latter are not supported by old servers and clients, so choosing one of them as default would prevent connections.

ECDSA P-384 is supported even by at least 9-year old OpenSSH versions (I have such a device), perhaps even by much older versions.

So setting it as default achieves the goal of better security than with 256-bit elliptic curves, while maintaining compatibility with ancient clients and servers.

When you know that both computers that communicate have up-to-date OpenSSH versions, you can choose to generate quantum-resistant host and client keys.

reply
P-384 seems like a sensible default for now. We've been testing PQC interoperability today and even stock /usr/bin/ssh on macOS 27.2.1 doesn't understand ssh-mldsa44-ed25519 from OpenSSH 10.6. It still has the experimental @openssh.com variant, disabled by default. Hybrid KEX (mlkem768x25519-sha256) works fine though. I'd keep ECDSA P-384 host keys for now until the clients catch up. Wrote a post https://news.ycombinator.com/item?id=50774944.
reply
There also the option to use Hybrid Streamlined NTRU Prime sntrup761 and X25519 (sntrup761x25519-sha512), RFC 9941. This is based on:

Bernstein, D.J., Brumley, B. B., Chen, M., Chuengsatiansup, C., Lange, T., Marotzke, A., Peng, B., Tuveri, N., Vredendaal, C. V., and B. Yang, "NTRU Prime: round 3", DOI 10.5281/zenodo.13983972, October 2020,

https://ntruprime.cr.yp.to/nist/ntruprime-20201007.pdf

reply
I really hope Red Hat, Debian et al backport support for these into their older openssh packages, or provide backported openssh 10.x.
reply
Not wrong, but it's perhaps worth noting that OpenSSH has PQC-hybrid key exchange (kex) for many years now, so harvest-now-decrypt-later is (AIUI) not really possible. Recent versions of OpenSSH have added 'official' kex algorithms, but even the unofficial ones probably (!) keep things safe.

The main source of worry is the SSH host and client keys not having PQC options, so 'impersonation attacks' are probably the primary source of risk in the near future.

reply
RHEL8 is on OpenSSH 8.0, which by itself won't do any PQC, plus whatever patches they drop on top of that, and that will still be supported until the early 2030s.
reply
Debian has already backported OpenSSH 10.6 to trixie-backports!
reply
They have. Just bear in mind that that comes from testing, and testing doesn't get security updates as fast as stable. And there's no guarantee that a backport ever gets updated.

Switching would only be sensible in a dire circumstance.

reply
Wait the cornerstone of open source communication has to start from the lowest common denominator rather than starting from the best option and then negotiating downwards?
reply
Are there any curves that have the same compatibility story, are 384 bits or bigger, and weren't selected by the NSA?
reply
ed448 exists, but I don't think there's any SSH client that supports it
reply
> When you know that both computers that communicate have up-to-date OpenSSH versions, you can choose to generate quantum-resistant host and client keys.

Reminder that you can generate PQC keys right now (where available), and they will be offered right now, but you can still have fall back options.

reply
Kudos for choosing sensible defaults.
reply
It certainly looks like everyone is going to treat this break as a "just move to larger EC keysize bro" and not bite the bullet on PQC until we have a quantum computer staring us in the face.
reply
> "Add support for composite ML-DSA 87 / ECDSA p384"

Looks like that's do do with using FIPS-approved algos.

https://marc.info/?l=openssh-bugs&m=179641802244257&w=2

reply
reply
If I'm correct, Ed448 is not approved in CNSA. mldsa44-ed25519 gives the shortest key (though still longer than even RSA8192) and probably fastest among hybrid options, while mldsa87-p384 is the strongest + NSA approved.
reply
While the latest OpenSSH version supports quantum-resistant algorithms, they are not strong enough to be approved by NSA.

The next version of OpenSSH is likely to include the algorithms made mandatory by CNSA 2.0 for all systems that are classified as "National Security Systems", and which are also recommended by NSA elsewhere.

These algorithms are "mlkem1024nistp384-sha384" (RFC 10042) for key exchange and "ssh-mldsa87-p384" for host keys and client keys (draft RFC).

While Ed448 is not among the recommendations of NSA, there is no doubt that it is more secure than P-384, and also faster, so the hybrid algorithms with ML-KEM-1024 and ML-DSA-87 where the curve NIST P-384 is replaced by Ed448 are certainly preferable.

Such combinations are defined and they might become available in some TLS 1.3 and IPsec implementations, but it is unlikely that OpenSSH will include them, because it has never included support for Ed448.

reply
The NSA refusing to approve it is a damn good endorsement.
reply
The current situation is ideal for them: They come out with CNSA which is a requirement for classified information. The Internet treats anything out of the NSA with suspicion, and they do the opposite with their own algorithms.

They can stratify the system into strong and weak with reverse psychology.

reply
Not the opposite, but the same with other parameters and based on prior experience. So instead of switching to MLKEM or now P384+MLKEM, we can do ED448+MLKEM.
reply
Plenty of opposite. Prime example, WireGuard: Chacha20-Poly1305, Curve25519, BLAKE2s.
reply
Is curve25519 really the opposite of P-256? No, it's the same but different.
reply
You're making my point.

P-256 wasn't in CNSA 1.0, it said P-384 only. (Suite B restricted it to SECRET level)

reply
Or a signal of a problem. You can read that one either way.
reply
In their recommendations for the "Commercial National Security Algorithm (CNSA) Suite 2.0", NSA says about many algorithms that there are no plans to approve their usage.

Nonetheless, there is an obvious difference in tone when mentioning algorithms that must be avoided, i.e. any elliptic curves with sizes below 384 bits or RSA with sizes below 3072 bits, and algorithms in which NSA appears to be not interested, at least for now, without providing any opinion about whether they are good or bad. A big enough elliptic curve like Ed448 belongs to the latter class.

Another poster has made a comment that I believe to be correct, i.e. that NSA has attempted to minimize the number of algorithms that are included in CNSA 2.0 to the minimum possible, because they are interested to have all of them implemented in some custom hardware, where, unlike in software, every additional option increases significantly the cost.

reply
Even RSA2048 is allowed if you really have to, while P256 is downright to be avoided.
reply
Or more likely, even NSA has finite resources, and properly evaluating each cryptographic primitive requires enormous resources.
reply
This cuts both ways.

The actions of the NSA sit in a super position of good-faith and bad-faith interpretations.

Therefor we must also interpret its silence and apathy towards Ed448 somewhere between unremarkable and the strongest possible endorsement.

reply
NSA refusing to approve it to protect U.S. Government classified information is a good endorsement?
reply
Yes. The NSA prefers algorithms with backdoors. Of course it also won't approve weak algorithms, so this isn't the sole criteria for a good endorsement.
reply
NSA-approved is what US government must use. Make of that what you will.
reply
For important US government comunications only NSA Suite A Cryptography is used. Suite A was never published and will not be published.

https://en.wikipedia.org/wiki/NSA_Suite_A_Cryptography

reply
TOP SECRET is covered by CNSA 2.0 and is pretty damn important. This category is restricted to information whose disclosure could cause “grave damage” to the national security.
reply
There are many situations where it cannot be used, e.g. in mobile devices, or devices in high risk locations.
reply
U.S. government goes to a great length to protect the secrecy of NSA Suite A Cryptography. For example when space shuttle Columbia was lost:

" A piece of debris classified "top secret" is somewhere among the thousands of shards of the space shuttle Columbia spread across Texas.

The communications device handles encrypted messages between the shuttle and the ground. According to its serial number, it is in a class of equipment labeled "TSEC" -- telecommunications security -- that must be handled with strict chain-of-command documentation.

Experts differed on the importance to national security of recovering the device, which was "keyed," or prepared for use with mathematical algorithms. "

http://www.globalsecurity.org/org/news/2003/030206-comsec-sh...

reply
I’m not sure what point you’re trying to make here, but the situation is this.

There are cases where Suite A or Type 1 is appropriate, and there are times where it is not. That partly depends on risk, and also whether a suitable product exists. There is a process that is used to decide what will be used in what circumstances.

reply
The original statement was "NSA-approved is what US government must use. Make of that what you will".

My claim is that from the viewpoint of cryptographic strenght/weakness it is really irelevant what cryptographic algorithms NSA publicly approves, because U.S. goveement doesn't use publicly known algorithms in the really important communication systems.

It's important only to the HW/SW vendors that want to sell products to the U.S goverment for the not important communication systems.

reply
It’s not that simple, as I highlighted earlier.

There are extremely important communication systems in the national security community that rely on commercial cryptography. Some of these will very quickly get people killed if they fail.

reply
> It's important only to the HW/SW vendors that want to sell products to the U.S goverment for the not important communication systems.

Do you think that if the AWS and Azure clouds that power so much government classified computation had all their communications breakable by Russia or China, that this would be considered unimportant to the USG?

reply
That doesn't say much. The NSA definitely spies on the government.
reply
OpenSSH doesn't support Ed448.
reply
I'm also hoping for this one.
reply
why isn't ML-DSA 87 / ECDSA p384 the default?? it's at least as safe as pure ECDSA 384
reply
it will be 7 years before ubuntu puts this version on my servers.
reply
I think Ubuntu of late has proven itself unfit for servers. ;(
reply
I have never understood why anybody would ever put Ubuntu on a server. Genuine question, why do people do this?
reply
It's because 10 years ago Canonical positioned themselves as a server distro

And this was possible because 20 years ago they first introduced Linux to thousands of kids that grew to be sysadmins, and those kids-turned-sysadmins knew and trusted Ubuntu

I know because around 2006 I distributed Ubuntu live CDs I received for free (I think it was Ubuntu Dapper)

reply
I mean I wasn't a kid then, but I know what you mean. Ubuntu was the first system I ever dual-booted on.
reply
Newer software versions than stable Debian releases and more frequent/predictable LTS releases. And in the past they responded pretty quickly to security issues.
reply
Ubuntu LTS is not that much newer. They've generally been following a release schedule of releasing every 2 years around June-August, usually in an odd year. While Ubuntu LTS in April in even years.

Ubuntu may be a bit more aggressive in their freeze (less time between freeze and release, seems to be about 2 months) compared to Debian (around 5 months for Debian 13), but I don't see much of a difference between 2 years and 2 months and 2 years and 5 months of package oldness. And even then, Ubuntu doesn't allow updating on release day, they prevent you from doing so until a few months later with the x.y.1 release.

reply
Debian testing.
reply
Then don’t use Debian stable. Use the most recent Debian version, “unstable”.
reply
Unstable used to mean unstable; things would break often enough to be annoying. Their testing has improved but they still hedge the language.
reply
Unstable also means unsupported by 3rd parties when they're posting apt sources or deb packages.
reply
From how I understand the current landscape, Debian "stable" means that not a single package will ever bump a single version - except for security patches.

No new features. No new nothing. Boring, but stable. Kinda lika Ubuntu LTS, but possibly even more boring.

"Unstable" means that you'll probably never ever experience anything which causes issues, but the versions are not carved in stone - and new version of things arrive in a useful way - like actually having maintained versions of OpenSSH and OpenSSL for your system.

It has versions - and when a new "unstable" version is out, you have to dist-upgrade. Boring, but more up to date, while still reliable & predictable.

"Testing" is essentially a rolling distro - and I wouldn't recomend that for any server.

But in today's security landscape I wouldn't recommend Debian stable either. The crypto-libraries are too old.

Debian Unstable is IMO the ideal fit for a server these days. People going Debian Stable just by habit may consider re-evaluating their choices.

reply
You have it the other way around from reality as I understand it. Debian testing inherits packages that have been in debian sid (unstable) for a while and proven not to break anything. Debian testing is the branch from which the next debian stable is finalized. For instance in the last couple of months before a new major debian stable release, the contents of 'testing' are very similar to what will be in the stable release. It's 'sid' (unstable) that is essentially a rolling distro.
reply
First distro with a gui installer that mostly worked, and then a bit of inertia.
reply
Roughly the same reason folks run Windows servers. Marketing is an incredibly powerful tool.
reply
But Debian 13 added 10.6p2 to stable-backports on Dec 3rd.
reply
Yeah on 24.04 is still v9.6. Security-related rollouts are really lacking.
reply
you can generate and use the same keys with whatever version of ssh you already have, who cares
reply
So ECDSA isn't the broken one. Good to know I guess. Time to change all the damn keys.
reply
384-bit ECDSA, not 256-bit ECDSA.

Not sure why they aren't going all the way to 521-bit out of extreme caution, though.

(Oddly, the ECDSA sizes are 256, 384, and 521 -- the big one is 521 not 512).

reply
The big one is 521 because 2^521 - 1 is a prime number (a Mersenne prime), which accelerates the computation of the remainder operation in comparison with computing a remainder modulo some random prime.
reply
There is 511 which has about as much/little use as 521
reply
p-384 has 128 bit security in the n^(1/3) regime.
reply
P-521 is slooooow
reply
Yeah but it’s only used for key exchange, right?
reply
I have switched from ED25519 to P-521, both for host and client keys and for the key exchange algorithm, on some ancient devices where updating OpenSSH would be difficult.

There is no noticeable slow-down, I still connect instantaneously, but that is because I am the only one who connects through SSH to those devices. If there would be thousands of SSH connection establishments per second, I suppose that there might be a measurable difference in CPU load between using ED25519, P-384 and P-521. For a Github server or for a Huggingface server, the size of the curve should matter, because those have a great number of clients connecting through SSH, but not for a server with a single administrator, who uses SSH.

reply
The suspicions I've heard floated are with elliptic curves generally and 256-bit key sizes specifically. ECDSA P-384 is an available EC algorithm with a larger key size.
reply
The announcements seem to say that 256bit and shorter is broken.

And what was added here was ML-DSA (PQ) dual signed with ECDSA 384. So in addition to being PQ, if whatever secret attack against 256bit ECDSA is improved to get te 384, then the ML-DSA is intended to still protect the key.

reply
What announcement says anything of the sort?
reply
The rumors, because the official announcements do not say anything concrete, except that the transition away from elliptic curves with small parameters must be accelerated, preferably towards quantum-resistant algorithms.
reply
Filippo too interpreted it this way. "256-bit elliptic curves (P-256 and Curve25519/X25519/Ed25519) are likely broken or significantly weaker than we thought;"

https://words.filippo.io/nsa-advisory/

And then there's https://www.int08h.com/post/how-cooked-are-your-keys/. And Bruce Schneier: https://www.schneier.com/blog/archives/2026/12/nsa-urging-tr...

And then there's https://www.xda-developers.com/google-rushed-replace-cryptog...

I'm not pulling this out of my butt.

reply
NSA said it when they repeatedly yammered on about removing ECC <384bit. https://media.defense.gov/2026/Dec/01/2004039413/-1/-1/0/CSA...
reply
If by yammering, you mean quoting NIST's policies published 10 years ago. The statement just says be diligent and agile. Literally nothing different for anyone in the field. I guess yes, they have made hand-wavy statement to move faster.
reply
>The statement just says be diligent and agile.

If you read closely it mentions specifics

>particularly checking for algorithms not approved in CNSA 2.0 or CNSA 1.0 (e.g., DSA, elliptic curves other than P-384 or P-521 for ECDH or ECDSA, EdDSA, deprecated Diffie-Hellman groups, pairing-based cryptography).

>Removing all weaker elliptic-curve and deprecated DH options (e.g., IKE groups 22-24) from cipher suite and key exchange preferences.

Those mentioned IKE prime order sub groups are of 160/224/256 bits. Lots of algos are outside CNSA 2.0 and 1.0, but they found it important to point to a small subset specifically

reply
There isn't a mention of anything being broken in this link outside of recommendations keeping with the same recommendations that have been made since 2015 or so. Did someone tell you that's what this document is saying or something or can you quote the exact thing you think says this?
reply
If we’re migrating why are we not just hard migrating to SPHINCS+ (hybrid with RSA or elliptic)? ML-DSA (Dilithium) is weakened by the recent Anthropic findings (https://blog.cloudflare.com/pq-is-still-safe), SPHINCS+ is (as of now atleast) the strongest standing NIST scheme.

The keys are not that much bigger or slower. Can we please just do this one time well?

reply
SPHINCS+ keys are quite small, but signatures are huge, on the order of ~30 kB.
reply
What’s the real usage concern (other than DDOS attacks) with 30kb signatures?
reply