There's something interesting about to happen to bitcoin. It seems that, because old wallets with huge amounts of bitcoin have known known public keys, bitcoin will have to fork and lock out any wallets that don't transfer their bitcoin to the new fork. An alternative is to do nothing and hope any attacks are just too expensive/infeasible in the next 40+ years.
I'd love to have a conversation about it and hear people's opinions. I tired the bitcoin reddit but it's a difficult place to do that because so many people are heavily invested in it.
show comments
andix
Is there a good reason not to use to P-521, instead of P-384? Is it noticeable slower?
Bender
Before compiling this manually or updating your OpenSSH client, back up your existing keys and test manually to all of your oldest servers of each distribution flavor. One should have protected snapshots of all their keys regardless. Append the new key to authorized keys and avoid removing the old entry until it is verified that all systems accept the new key.
In an ideal world the trusts of public keys would be managed by a configuration management system that knows who really owns which public keys and fires alerts when unknown keys are added or added to the wrong account. Mapping should be by the public key itself and not the comment. Or configure PAM to query the SSH public keys from LDAP and cache them securely.
show comments
cyphar
I wonder why people aren't switching to Curve448, it has the same benefits of Curve25519 (nothing up my sleeve parameters, implementations are less likely to be buggy, unaffiliated with the NSA). It even has a larger security margin than P-384 (224 bits vs. 192 bits) so even if you assume the undisclosed issue is a classic attack on all elliptic curves it's a better choice.
Sadly it's not widely supported (a lot of internet standards forget to include it) but if you're implementing cryptosystems it's pretty easy to get your hands on and it's even FIPS approved. OpenSSL supports it but based on some very minimal testing it seems browsers won't negotiate it for TLSv1.3.
show comments
opk
Would this change also be applicable to GPG. I have a need to create a fresh GPG key anyway (for signing release tarballs) and I see it defaults to Curve 25519. Should I go for NIST P-521 instead? It doesn't seem to support anything equivalent to the mldsa44-ed25519 that openssh 10.6 has, just some "Brainpool" thing with the same bit sizes as NIST.
show comments
cvhc
Is there a plan to support nistp384 for FIDO2 keys? I just checked and it seems only "sk-ssh-ed25519" and "sk-ecdsa-sha2-nistp256" are supported.
seethishat
Curious why not RSA 4096 instead? RSA is the oldest and maybe the safest, most well studied option IMO.
show comments
ajasmin
1password can't import ecdsa-sha2-nistp384 just yet
throw0101d
The link is pointing to the Github mirror, which can probably take a lot of traffic better than the canonical repo:
- ssh-keygen(1) now defaults to ECDSA NISTP384.
- default first-preference signature algorithm has been changed to ML-DSA 44/ed25519 hybrid.
- initial support for composite ML-DSA 87 / ECDSA P384 signatures has been added.
thisisthenewme
Declarative config + private network is the future. Just switched all my machines to Nixos, moved all to ssh only over Tailscale. Still might have holes somewhere but at least its all easy to think about and manage rather than constant anxiety into potential gaps.
denverllc
Does anyone know if Curve25519 (Montgomery) is also generally affected? I believe that’s what WireGuard uses
show comments
bitanarch
Hardware keys like YubiKey will all need to be upgraded :(
asveikau
I wonder on what timeline we will see:
* Backports to OpenBSD stable branch and errata
* New OpenSSH portable release
* Distros adopting previous step
Or is do we end up waiting for a new OpenBSD release -- the 6 months cadence would put it at around May -- before normies start seeing these patches?
As cryptography news develops so quickly, I wonder if LTS Linux distros have a place to exist, at least for internet-facing ones.
show comments
charlieyu1
So just use longer keys instead of trying PQC that may or may not be vulnerable is the safe approach
nocturn9x
so 256 bit ECC is well and truly dead huh. 1 minute of silence for my favorite curve, you'll always be in my heart Ed25519
show comments
lewdwig
Every “which is the best SSH key type?” blog post is now wrong in two directions
cassonmars
Can we please add support for a PQ signing algo that is non-NIST? After all that has happened we need to stop with the charade of assuming those options are safe.
seanieb
I don’t love using curves created using mystery numbers from the NSA, thank you.
show comments
ls65536
Are updates to host key algorithms covered by this as well?
sidcool
Should we be changing out GitHub SSH keys?
JoyfulPanda
didn't we choose ed25519 over ecdsa because we didn't trust how nist came up with their curve or so?
show comments
JanisErdmanis
I guess it won't take long until Github will invalidate all my P256 keys ;/
globular-toast
I'm going for RSA-4096. If that gets banned too then we'll know something is up.
johnea
According the DJ Bernstein, NIST P-384 fails his SafeCurves criteria:
I'm not an expert, that's why I'd use a Bernstein recommended algorithm.
nodesocket
This is gonna be a nightmare re-generating all ssh keys and revoking old keys from authorized_keys once support for mldsa44-ed25519 authentication drops. I only have a handful of homelab servers and a few AWS EC2 instances and this is gonna royally be a pain in the ass. Imagine large companies who have thousands of servers with thousands of ssh keys.
show comments
shevy-java
Was this in response to NSA saying the crypto-world will soon come to its end?
kuschku
Can we also get support for the webauthn sk- versions of p384? Currently they aren't supported
chasil
Would the 521 curve not be more prudent?
show comments
tae_yang
wait so read-only just means you can't write files into the mount? tools/ is full of executable bash scripts and running one calls the server for real. readme literally says only use it with MCP servers you trust https://github.com/openai/mcpfs#readme
The very next commit is "Add support for composite ML-DSA 87 / ECDSA p384":
* https://github.com/openssh/openssh-portable/commit/fc6f26530...
* https://github.com/openssh/openssh-portable/commits/master/s...
* https://cvsweb.openbsd.org/log/src/usr.bin/ssh/ssh-keygen.c (1.514)
It is per:
* https://datatracker.ietf.org/doc/draft-ietf-sshm-composite-s...
There's something interesting about to happen to bitcoin. It seems that, because old wallets with huge amounts of bitcoin have known known public keys, bitcoin will have to fork and lock out any wallets that don't transfer their bitcoin to the new fork. An alternative is to do nothing and hope any attacks are just too expensive/infeasible in the next 40+ years.
I'd love to have a conversation about it and hear people's opinions. I tired the bitcoin reddit but it's a difficult place to do that because so many people are heavily invested in it.
Is there a good reason not to use to P-521, instead of P-384? Is it noticeable slower?
Before compiling this manually or updating your OpenSSH client, back up your existing keys and test manually to all of your oldest servers of each distribution flavor. One should have protected snapshots of all their keys regardless. Append the new key to authorized keys and avoid removing the old entry until it is verified that all systems accept the new key.
In an ideal world the trusts of public keys would be managed by a configuration management system that knows who really owns which public keys and fires alerts when unknown keys are added or added to the wrong account. Mapping should be by the public key itself and not the comment. Or configure PAM to query the SSH public keys from LDAP and cache them securely.
I wonder why people aren't switching to Curve448, it has the same benefits of Curve25519 (nothing up my sleeve parameters, implementations are less likely to be buggy, unaffiliated with the NSA). It even has a larger security margin than P-384 (224 bits vs. 192 bits) so even if you assume the undisclosed issue is a classic attack on all elliptic curves it's a better choice.
Sadly it's not widely supported (a lot of internet standards forget to include it) but if you're implementing cryptosystems it's pretty easy to get your hands on and it's even FIPS approved. OpenSSL supports it but based on some very minimal testing it seems browsers won't negotiate it for TLSv1.3.
Would this change also be applicable to GPG. I have a need to create a fresh GPG key anyway (for signing release tarballs) and I see it defaults to Curve 25519. Should I go for NIST P-521 instead? It doesn't seem to support anything equivalent to the mldsa44-ed25519 that openssh 10.6 has, just some "Brainpool" thing with the same bit sizes as NIST.
Is there a plan to support nistp384 for FIDO2 keys? I just checked and it seems only "sk-ssh-ed25519" and "sk-ecdsa-sha2-nistp256" are supported.
Curious why not RSA 4096 instead? RSA is the oldest and maybe the safest, most well studied option IMO.
1password can't import ecdsa-sha2-nistp384 just yet
The link is pointing to the Github mirror, which can probably take a lot of traffic better than the canonical repo:
* https://cvsweb.openbsd.org/log/src/usr.bin/ssh/ssh-keygen.c
(See 1.512 on Thu, 03 Dec 2026 08:40:32 UTC.)
currently being hugged to death. archive: https://web.archive.org/web/20261205154533/https://www.undea...
gist is:
Declarative config + private network is the future. Just switched all my machines to Nixos, moved all to ssh only over Tailscale. Still might have holes somewhere but at least its all easy to think about and manage rather than constant anxiety into potential gaps.
Does anyone know if Curve25519 (Montgomery) is also generally affected? I believe that’s what WireGuard uses
Hardware keys like YubiKey will all need to be upgraded :(
I wonder on what timeline we will see:
* Backports to OpenBSD stable branch and errata
* New OpenSSH portable release
* Distros adopting previous step
Or is do we end up waiting for a new OpenBSD release -- the 6 months cadence would put it at around May -- before normies start seeing these patches?
https://btcpuzzle.info/puzzles
They didn’t yet crack 2^71 jfi
As cryptography news develops so quickly, I wonder if LTS Linux distros have a place to exist, at least for internet-facing ones.
So just use longer keys instead of trying PQC that may or may not be vulnerable is the safe approach
so 256 bit ECC is well and truly dead huh. 1 minute of silence for my favorite curve, you'll always be in my heart Ed25519
Every “which is the best SSH key type?” blog post is now wrong in two directions
Can we please add support for a PQ signing algo that is non-NIST? After all that has happened we need to stop with the charade of assuming those options are safe.
I don’t love using curves created using mystery numbers from the NSA, thank you.
Are updates to host key algorithms covered by this as well?
Should we be changing out GitHub SSH keys?
didn't we choose ed25519 over ecdsa because we didn't trust how nist came up with their curve or so?
I guess it won't take long until Github will invalidate all my P256 keys ;/
I'm going for RSA-4096. If that gets banned too then we'll know something is up.
According the DJ Bernstein, NIST P-384 fails his SafeCurves criteria:
http://safecurves.cr.yp.to/
I'm not an expert, that's why I'd use a Bernstein recommended algorithm.
This is gonna be a nightmare re-generating all ssh keys and revoking old keys from authorized_keys once support for mldsa44-ed25519 authentication drops. I only have a handful of homelab servers and a few AWS EC2 instances and this is gonna royally be a pain in the ass. Imagine large companies who have thousands of servers with thousands of ssh keys.
Was this in response to NSA saying the crypto-world will soon come to its end?
Can we also get support for the webauthn sk- versions of p384? Currently they aren't supported
Would the 521 curve not be more prudent?
wait so read-only just means you can't write files into the mount? tools/ is full of executable bash scripts and running one calls the server for real. readme literally says only use it with MCP servers you trust https://github.com/openai/mcpfs#readme