Remix.run Logo
▲ OpenSSH: "switch default key type generated to ECDSA NISTP384"(github.com)
460 points by throw0101d 8 hours ago | 229 comments

https://www.undeadly.org/cgi?action=article;sid=202612051219...

https://web.archive.org/web/20261205154533/https://www.undea...

▲throw0101d 6 hours ago | parent | next [-]

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...

▲adrian_b 4 hours ago | parent | next [-]

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.

▲sibman 2 hours ago | parent | next [-]

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.

▲formerly_proven 2 hours ago | parent [-]

I really hope Red Hat, Debian et al backport support for these into their older openssh packages, or provide backported openssh 10.x.

▲throw0101d an hour ago | parent | next [-]

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.

▲forbiddenlake an hour ago | parent | prev [-]

Debian has already backported OpenSSH 10.6 to trixie-backports!

▲b112 2 minutes ago | parent [-]

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.

▲cowlevel 2 hours ago | parent | prev | next [-]

Are there any curves that have the same compatibility story, are 384 bits or bigger, and weren't selected by the NSA?

▲throw0101d 3 hours ago | parent | prev | next [-]

> 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.

▲atmosx 3 hours ago | parent | prev | next [-]

Kudos for choosing sensible defaults.

▲quotemstr 2 hours ago | parent | prev [-]

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.

▲traceroute66 6 hours ago | parent | prev | next [-]

> "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

▲thefilmore 6 hours ago | parent | prev | next [-]

Why not ssh-mldsa87-ed448 [1]?

[1] https://datatracker.ietf.org/doc/draft-sun-ssh-composite-sig...

▲cvhc 4 hours ago | parent | next [-]

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.

▲adrian_b 4 hours ago | parent | next [-]

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.

▲athrowaway3z 4 hours ago | parent | prev [-]

The NSA refusing to approve it is a damn good endorsement.

▲brookst 4 hours ago | parent | next [-]

Or a signal of a problem. You can read that one either way.

▲adrian_b 3 hours ago | parent | next [-]

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.

▲bigfatkitten 43 minutes ago | parent | next [-]

Or more likely, even NSA has finite resources, and properly evaluating each cryptographic primitive requires enormous resources.

▲bonzini an hour ago | parent | prev [-]

Even RSA2048 is allowed if you really have to, while P256 is downright to be avoided.

▲athrowaway3z 3 hours ago | parent | prev [-]

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.

▲bigfatkitten an hour ago | parent | prev | next [-]

NSA refusing to approve it to protect U.S. Government classified information is a good endorsement?

▲baq 3 hours ago | parent | prev [-]

NSA-approved is what US government must use. Make of that what you will.

▲leonidasrup 2 hours ago | parent | next [-]

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

▲bigfatkitten 42 minutes ago | parent [-]

There are many situations where it cannot be used, e.g. in mobile devices, or devices in high risk locations.

▲leonidasrup 28 minutes ago | parent [-]

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...

▲cowlevel 2 hours ago | parent | prev [-]

That doesn't say much. The NSA definitely spies on the government.

▲kbolino 5 hours ago | parent | prev | next [-]

OpenSSH doesn't support Ed448.

▲computerfriend 6 hours ago | parent | prev [-]

I'm also hoping for this one.

▲rao-v 2 hours ago | parent | prev | next [-]

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?

▲rc_kas 5 hours ago | parent | prev | next [-]

it will be 7 years before ubuntu puts this version on my servers.

▲1over137 4 hours ago | parent | next [-]

I think Ubuntu of late has proven itself unfit for servers. ;(

▲bonki 3 hours ago | parent [-]

I have never understood why anybody would ever put Ubuntu on a server. Genuine question, why do people do this?

▲nightfly 3 hours ago | parent | next [-]

Newer software versions than stable Debian releases and more frequent/predictable LTS releases. And in the past they responded pretty quickly to security issues.

▲novafunc 12 minutes ago | parent | next [-]

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.

▲drnick1 2 hours ago | parent | prev | next [-]

Debian testing.

▲josteink 2 hours ago | parent | prev [-]

Then don’t use Debian stable. Use the most recent Debian version, “unstable”.

▲GauntletWizard an hour ago | parent [-]

Unstable used to mean unstable; things would break often enough to be annoying. Their testing has improved but they still hedge the language.

▲josteink 14 minutes ago | parent [-]

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.

▲nextaccountic 3 hours ago | parent | prev | next [-]

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)

▲mister_mort 2 hours ago | parent [-]

I mean I wasn't a kid then, but I know what you mean. Ubuntu was the first system I ever dual-booted on.

▲cobzilla an hour ago | parent | prev [-]

Roughly the same reason folks run Windows servers. Marketing is an incredibly powerful tool.

▲Tepix 4 hours ago | parent | prev | next [-]

But Debian 13 added 10.6p2 to stable-backports on Dec 3rd.

▲manbash 5 hours ago | parent | prev | next [-]

Yeah on 24.04 is still v9.6. Security-related rollouts are really lacking.

▲Palomides 4 hours ago | parent | prev [-]

you can generate and use the same keys with whatever version of ssh you already have, who cares

▲literalAardvark 6 hours ago | parent | prev | next [-]

So ECDSA isn't the broken one. Good to know I guess. Time to change all the damn keys.

▲Polizeiposaune 6 hours ago | parent | next [-]

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).

▲adrian_b 5 hours ago | parent | next [-]

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.

▲adgjlsfhk1 4 hours ago | parent | prev | next [-]

There is 511 which has about as much/little use as 521

▲formerly_proven 5 hours ago | parent | prev | next [-]

Or Curve448

▲leafingensemble 4 hours ago | parent | prev | next [-]

p-384 has 128 bit security in the n^(1/3) regime.

▲nmadden 5 hours ago | parent | prev [-]

P-521 is slooooow

▲maximilianburke 4 hours ago | parent [-]

Yeah but it’s only used for key exchange, right?

▲adrian_b 4 hours ago | parent [-]

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.

▲loeg 6 hours ago | parent | prev | next [-]

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.

▲knorker 5 hours ago | parent | prev [-]

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.

▲havnagiggle 5 hours ago | parent [-]

What announcement says anything of the sort?

▲adrian_b 4 hours ago | parent | next [-]

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.

▲sigmar 4 hours ago | parent | prev [-]

NSA said it when they repeatedly yammered on about removing ECC <384bit. https://media.defense.gov/2026/Dec/01/2004039413/-1/-1/0/CSA...

▲havnagiggle 3 hours ago | parent | next [-]

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.

▲sigmar 17 minutes ago | parent [-]

>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

▲Tanjreeve 4 hours ago | parent | prev [-]

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?

▲nextaccountic 3 hours ago | parent | prev [-]

why isn't ML-DSA 87 / ECDSA p384 the default?? it's at least as safe as pure ECDSA 384

▲pippy360 6 hours ago | parent | prev | next [-]

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.

▲aenvoker 5 hours ago | parent | next [-]

Anyone can fork Bitcoin. It’s been done thousands of times. There are probably 10 forks made yesterday in response to the news. The hard part is getting everyone else to switch over to using your new fork.

The fork everyone has in mind would be one announced by the bitcoin core team. If that happened, it would go the same as it did when core Ethereum forked. There would be a worldwide argument over the legitimacy of the fork vs the unmodified client. Both chain would continue to run in parallel. And, everyone holding Bitcoin today would be holding both Bitcoin (new fork) and an equal amount of “Bitcoin Classic” (old fork). And, we’d all sit and watch how the prices of the two go from there.

A big difference would be there wouldn’t be much of an argument for sticking with a vulnerable fork. Even hardcore originalists would agree the fork was recommended by Satoshi himself if this happened.

The awkward part is that there would be a de facto pause on the network. At some point there would be an announcement “OK. We’re officially going to fork off of block N. We can’t stop you from continuing to transact on the current chain. But, your transactions after block N won’t be carried over to the forked chain.” The time between block N and the launch of the new fork will be painful.

And, I’m interested to see how secure migration of the 6 million bitcoins in vulnerable old wallets will work given that it would need to support a long time window. Preferably forever. But, I don’t know enough to say how to make that work.

The bright side is that Bitcoin might finally be able to drop the specter of Satoshi’s 1.1 million bitcoins. They are stored in vulnerable wallets and are not expected to migrate. So, the Bitcoin max supply would drop from a de facto 20 mil to an actual 20 mil (less lost, forgotten, burned and abandoned coins).

▲garaetjjte 5 hours ago | parent | next [-]

There is no need for any pause, you just push new client version that will start to accept new address format from some future block N, and stop accepting old addresses from future block M (presumably you wouldn't want to leave insecure coins for taking). I'm not even sure if this requires hard fork, as SegWit was deployed with some trickery as soft fork. (even if not, Ethereum hard forked multiple times for protocol changes without too much trouble)

▲thehamkercat 4 hours ago | parent | prev | next [-]

> Bitcoin might finally be able to drop the specter of Satoshi’s 1.1 million bitcoins.

Completely opposite of what Satoshi wanted, government/people/a group being able to freeze your money,

or at least this will set up a precedent for that

▲cowlevel 2 hours ago | parent | next [-]

Bitcoin has always been able to do that. They retroactively removed 4 billion bitcoin that were generated by an integer overflow bug.

▲srdjanr 2 hours ago | parent | prev | next [-]

His coins will actually be kept intact. It just that the whole world will agree they're basically worthless, and with a good reason.

With broken crypto, the only two options would be keeping Bitcoin as is, vulnerable and thus worthless, or to give an option to migrate to a new fork to avoid that. I don't see how forking isn't a strictly better option.

▲ForHackernews 2 hours ago | parent [-]

Some might argue random sha256 hashes are worthless. Perhaps AI will help us reach consensus on that point sooner than we would have otherwise.

▲aenvoker 4 hours ago | parent | prev [-]

The fork wouldn’t freeze Satoshi’s coins. If he wants to migrate them, nothing would stop him.

▲mminer237 4 hours ago | parent [-]

Yes, it would. It would have to give a deadline to migrate them. Otherwise it doesn't give any security.

▲aenvoker 3 hours ago | parent [-]

There’s a long distance between “a central authority froze your assets today” and “a majority, but not all, of the worldwide community has decided that they’ll collectively lose interest in funds that fail to migrate before some future deadline”.

▲rvba 3 hours ago | parent [-]

you mean 5 people and like 200-300 exchanges, most of which could easily be run by various secret services?

▲jMyles 5 hours ago | parent | prev [-]

Your comment insinuates that hard forks, and community consensus to adopt new forks, is uncommon, but this is the ordinary course of business for ethereum upgrades, and is a well-established practice and tradition.

Also, GP is specifically asking about _wallets whose address reveals the pubkey_. Thus, if SECP256K1 is pwned, their private key can be gleaned.

There is going to have to be some serious deliberation about what to do about these. It may be that the only viable option is to require attestation from the original BIP-32 derivation material in order for these addresses to be considered valid for migration.

▲gwillen 4 hours ago | parent | next [-]

There are a number of possible schemes, and deliberation has been ongoing for some time.

Attestation from BIP-32 derivation material is obviously not possible for very old wallets, most notably the "Satoshi coins"*, which are P2PK addresses and predate the existence of BIP-32.

A possible alternative involves allowing holders of such coins to bury a blinded commitment to a secret in the blockchain _now_, or soon, before "q-day" when all quantum-vulnerable spend paths get shut off. Then they could reveal the blinded commitment at any time in the future to make a quantum-resistant spend of the old coins. This preserves the status quo: holders of old coins can still retain access to them, without having to break their privacy by revealing anything, not even whether the coins do still have an owner.

*Technically nobody has any idea whose coins they are, or if they even belong to a single individual; only that they were mined by one or more very early miners, and never moved. Many people suspect that they were intentionally destroyed, since in the very early days of the network they were worthless, and reliable mining was a public service rather than a profit-making enterprise. And Satoshi (if it was Satoshi) may have realized that it wouldn't be good for the economics of the new currency if the creator owned the supermajority of all the coins.

▲jMyles 3 hours ago | parent [-]

Goodness, thank you. What you've spelled out here is exactly how I see it.

This thread was making me feel crazy.

The development and deployment of a protocol-level secret blinded witness attestation is a great silver lining of this whole thing. I hope it happens quickly.

Do you know where this is being worked on? (I presume it's a separate path for ethereum, based on a ZKP or Schnorr or something?)

▲foota 4 hours ago | parent | prev [-]

I guess the alternative, and what GP is talking about, is to assume that no break exists today. Then, everyone needs to ASAP move to a more secure method somehow on the blockchain to be able to continue using their account, because as soon as there's a public break, they would have to shut off the ability for people to prove their ownership using the legacy blockchain.

I'm not an expert on bitcoin, but again if we assume things are safe today, people could submit some "I am switching this account over SECP_SUPER_SECURE with address FOOBAR" message on the blockchain, but this method can only work until SECP256K1 is broken, since afterwards you wouldn't be able to trust those conversion messages since they would be spoofable.

▲indigo945 3 hours ago | parent | next [-]

This is equivalent to just sending the money to a new address.

▲jMyles 3 hours ago | parent | prev [-]

> I'm not an expert on bitcoin, but again if we assume things are safe today, people could submit some "I am switching this account over SECP_SUPER_SECURE with address FOOBAR" message on the blockchain,

For addresses that are post BIP-32 (ie, nearly all of them), this is not strictly necessary, because the original derivation material (which went through an HMAC to derive addresses) can serve as a witness.

For addresses older than that, it's not necessary to make a public pronouncement as you suggest; a blinded secret witness (or, for ethereum, a ZKP) can achieve this, in case bearers of such secrets want even their existence to remain uncertain.

▲foota 2 hours ago | parent [-]

> For addresses older than that, it's not necessary to make a public pronouncement as you suggest; a blinded secret witness (or, for ethereum, a ZKP) can achieve this, in case bearers of such secrets want even their existence to remain uncertain.

But how would the dating come into play here? I guess what you're saying is that before some date someone could publish some ZKP kind of thing (hand-waving, but I accept that this is likely possible) that would allow them to later prove that at that date they knew the private key, and hence if they later want to access those funds they should be able to?

▲jMyles 2 hours ago | parent [-]

Exactly. And it doesn't even necessarily need a STARK-circuit-style ZKP; there are other precommit-and-anti-frontrun solutions as well.

Expect discussion about this to ramp up in the next 10 days or so.

▲gwillen 4 hours ago | parent | prev | next [-]

My impression, reading the tea leaves, is that P-256 is _not_ currently breakable by a realistic adversary; there was just some discovery that means it no longer has anywhere near the security level that the NSA is comfortable with.

This means Bitcoin is on a much-accelerated timeline to get onto post-quantum cryptography, for which plans were already in motion, but it does NOT mean that Bitcoin wallets are breakable tomorrow or necessarily even next year.

For the NSA and the USG, it means they need to worry _now_ about attackers who can store huge volumes of encrypted communications today, and break them in a few years, when they might still be relevant from an intelligence perspective. Bitcoin doesn't need to worry about such attacks; once coins are moved, the old keys are worthless. So a break that brings timelines down from 30 years to 15, or from 10 years to 5, is critical to the USG/NSA but not to Bitcoin yet.

▲selectodude 4 hours ago | parent | next [-]

I’ve read the opposite - single keys are now within reach but every key requires a new search. So your old communications are safe-ish but bitcoin is uniquely vulnerable.

▲ComplexSystems 2 hours ago | parent | prev [-]

Not currently, right. But this whole thing is nuts. Will it be broken in a year? Or can't Levant Alpöge just go run his damn agent harness that gave us GRH, exotic 4D spheres, etc and give us some results?

▲fwlr 2 hours ago | parent | prev | next [-]

Assuming the still-maddeningly-unspecified issue is a break that makes substantially all old wallets vulnerable, but does not make mining vulnerable:

Bitcoin, in its role as a decentralized currency issued by mathematical rather than political fiat, faces no threat. Genesis coins being reactivated means fewer coins were destroyed than market participants previously assumed, but it doesn’t break the hard cap of 21 million so Bitcoin remains a deflationary currency and Coase’s Theorem will eventually redistribute those old coins more-or-less fairly. For a non-technical analogy: It would be something like the market shock if Musk passed away suddenly without a will and his assets were liquidated and distributed equally amongst all his biological children.

Bitcoin, in its role as an unregulated-ish cyber gambling game / stock market, faces an existential threat as the amount of old coins dwarfs the current amount in play. A non-technical analogy here is if all the money in a casino’s vault was destroyed and all patrons simultaneously realise the chips they’re betting with, expecting to be able to cash them in for real dollars, are now basically Monopoly money.

The tension would be that this second group, who have essentially “conquered” Bitcoin by virtue of being most of its users, would have the desire and maybe the ability to break some of Bitcoin’s principles or protocols to prevent their apocalypse.

Essentially, this is not strictly a fatal problem for Bitcoin, but current users could make it Bitcoin’s problem.

▲hartator 2 hours ago | parent | prev | next [-]

There is also some odds that bitcoin is already broken as old wallets seem to have moved. In that the case, how to determine when the hard fork should be? If current blockchain is a mix of legitimate and non-legitimate transactions?

▲alchemist1e9 2 hours ago | parent [-]

the old wallet movement is highly consistent with an OG miner securing weaker wallets. even if these old wallets were cracked it’s unlikely to be “bitcoin” itself and the encryption it uses but instead that a weakness was found in the RNG that was used in old versions of mining software allowing to guess the private keys.

However most knowledgeable observers think it’s more consistent with the real owner becoming paranoid about that theoretical issue and/or the early public address system being more theoretically vulnerable (as has been speculated) and deciding to move their coins now (bad timing imho).

▲naveen99 5 hours ago | parent | prev | next [-]

You can just think of cracking the satoshi exposed pay to public key coins as new type of bonus mining rewards. Pay to hash is still secure… unless they can crack a public key in less than 10 minutes.

▲swinglock 5 hours ago | parent | prev | next [-]

https://delvingbitcoin.org/ would be a better forum than Reddit for such topics that aren't memes.

▲PretzelPirate 4 hours ago | parent | prev | next [-]

If coins are vulnerable, either the owner will lose them to an attacker or will lose them to being locked.

In either case, the owner loses them. When the miners decide that unsafe coins are abandoned and it's better to lock them than to allow them to be stolen by a nation state.

This all assumes that bitcoin adds support for a new signature scheme and gives time for wallets to be migrated.

▲post-it 5 hours ago | parent | prev | next [-]

I don't really see the issue. If the wallets are in use, the owners will update. If they're not, it doesn't matter if someone cracks them.

▲stnikolauswagne 5 hours ago | parent [-]

For starters one of the long dormant wallets is satoshis thats like give or take 5% of bitcoins entire supply.

▲int32_64 4 hours ago | parent | next [-]

Satoshi's wallets are 22000 addresses with 50btc each.

Nobody is going to spend billions to crack individual addresses and then dox their cryptographic capabilities sending them to an exchange to sell.

▲mattashii 5 hours ago | parent | prev | next [-]

So the price of the BTC might go down due to an increase in supply. That doesn't sound so bad to me.

▲pippy360 5 hours ago | parent | next [-]

one worry is that there's a split between people who want to see old wallets locked to protect the price of bitcoin and people who believe it's wrong and the coins should be left vulnerable. A big enough split could be a whole new problem on top of the existing one.

▲za_creature 4 hours ago | parent [-]

Pretty sure we know which way that'll go:

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

▲cowlevel 2 hours ago | parent [-]

That was Ethereum, a centralised cryptocurrency.

▲za_creature 2 hours ago | parent [-]

Next you'll tell me they never tried real communism either, right?

▲buddhistdude 5 hours ago | parent | prev [-]

It's really only bad for people who were looking to get rich of it, not for the supposed goals of the technology

▲nmadden 5 hours ago | parent | prev | next [-]

Is the public key known for those wallet(s)? (IIRC Bitcoin wallets are identified by a hash of the PK, not the PK itself. So only keys that have ever been used are exposed).

▲_heimdall 3 hours ago | parent [-]

I could be wrong, but I thought early wallets used the public key and hashes came later.

▲armchairhacker 5 hours ago | parent | prev [-]

If his wallet drained it would definitely hurt Bitcoin, why would cutting it be bad? Unless he’s still alive and wants the reserves, but that seems unlikely, and unless he’s willing to die or experience more loss without withdrawing, means Bitcoin is a ticking time bomb anyways.

▲jwpapi 5 hours ago | parent | prev | next [-]

Maybe bitcoin IRC?

▲ForHackernews 5 hours ago | parent | prev | next [-]

Personally, I think bitcoin is doomed either way:

- If they do nothing, eventually those old wallets are hacked and stolen, new supply + loss of confidence crashes the price.

- If they fork it and lock those old (abandoned -- but maybe not!) wallets, then they have undermined the only value proposition BTC has ever had - it's not an infallible "trustless" currency, some cabal of devs/miners can take away your coins. Obviously that's always been true, but they are vividly demonstrating it.

It's lose-lose, because both narratives are catastrophic for BTC.

▲muyuu an hour ago | parent | next [-]

Bitcoin has introduced hard-forking changes before, and it will do again, and they only requirement for this is that there is a clear understanding that the change is necessary.

With the integer bug, the consensus was there that is was an obvious bug and had to be fixed, and it went swimmingly.

With Bcash, there was no consensus so they were pretty much forked off the network and both value and PoW left no doubt about which one had the community's consensus behind.

There have been grey areas more recently, but a hard necessity to change will see the community move together like it happened before. Either that, or it will indeed collapse. But such trials happened before.

▲satvikpendem 5 hours ago | parent | prev | next [-]

The second scenario already happened with Bitcoin Cash, perhaps many are too young to remember that now.

▲rcpt 30 minutes ago | parent | prev | next [-]

How cheap is the new exploit vs. a regular 50% attack?

▲armchairhacker 5 hours ago | parent | prev | next [-]

> it's not an infallible "trustless" currency, some cabal of devs can take away your coins (obviously that's always been true, but they are demonstrating it)

Maybe people are too stupid. But the point has always been that the “cabal” must be a vast majority of crypto users, who would never persecute you (or your demographic) specifically, unless you’re doing something extremely wrong (even petty or local crime won’t cause a hard fork).

▲jimmydorry 4 hours ago | parent [-]

The "cabal" has almost never been a "vast majority" of crypto users. It's always been the combination of enough miners to make up 51% (or there abouts) of hashing... which large periods of Bitcoin's life has been two or three pool operators (sometimes just one!); and the Bitcoin Core developers which are a just a handful of people with ownership of the repo and website who are often in conflicts of interest with what is best for their companies / self and what is best for the ecosystem.

There have been numerous times where there has been contention about what to do about specific problems, and every time the combination of above has put their foot down and those that disagreed, left or were pushed out of the project.

▲swinglock 5 hours ago | parent | prev | next [-]

https://groups.google.com/g/bitcoindev/c/ARMwWdWcz9A

▲pippy360 5 hours ago | parent | prev | next [-]

yeah this is why I think the situation is so interesting. It really does seem like there's no way out. It actually looks inevitable.

▲jMyles 2 hours ago | parent [-]

Either I'm missing something, or the many comments advancing this "no way out" theory are.

For all addresses derived since BIP-32 (which is almost all addresses), the HMAC input (seed phrase or whatever) can be used as an independent witness, no? That requires no changes at all right now, and will cover all of the wallets except from the genesis era.

Also, assuming the curve isn't pwned right now today, the chains can stand up slots for a secret blinded witness to be used as a spending attestation in a PQC scheme. These are two "ways out", and I'm sure there are plenty more.

Why does everyone assume it's either ban already-published pubkeys or commit them to a wasteland of uncertainty and robbery?

▲cowlevel 2 hours ago | parent [-]

The moment you publish that to the mempool, everyone else can send copies of your transaction with different new addresses, unless that somehow invalidates the witness.

▲jMyles 2 hours ago | parent [-]

There are several solutions to prevent frontrunning of the variety you describe.

▲jMyles 5 hours ago | parent | prev [-]

Am I missing something? What about the third option:

* Require attestation from the original HMAC derivation material in order to migrate the wallet.

▲yieldcrv 4 hours ago | parent | prev | next [-]

the network doesn’t have to do anything

if satoshi’s coins were signed and transferred but nobody else’s can be accessed, whats the issue here? that bitcoin’s price goes down for the accurate reason of there being more supply on the market?

okay? so what? people will purchase it, that volume of bitcoin has been bought and sold in periods of high volatility before as well as OTC and bitcoin’s liquidity is near its highest its ever been.

the commodities market is always based on supply and demand, not a permanently bullish “it must go up” treatment that equities investors have.

this is more akin to a huge known gold deposit thats been under a glacier for a long time and the glacier just melted

its not a free for all where everyone steals from each other indefinitely rendering the network unusable

but the price is accurate as is so the network should do nothing and promote movement of balances to proper addresses

▲knorker 6 hours ago | parent | prev [-]

I for one think the best outcome is to see this crime coin just die. With enough speculators walking away it'll be 100% crime, and the criminals won't be able to hide amongst the speculators.

I'd comment on the third kind of bitcoin holders, but there isn't a third kind.

One day the speculators should come to terms with how they profited by hiding organized crime. But I'm not holding my breath.

▲pippy360 5 hours ago | parent | next [-]

calling it a "crime coin" just poisons the conversation. I came to hacker news instead of reddit to avoid this. You can make your point without inflammatory stuff like that.

▲knorker 2 hours ago | parent [-]

> calling it a "crime coin" just poisons the conversation.

To call it anything else would be as dishonest as referring to Andrew Tate as an "entrepreneur", and Russel Brand having performed "seductions". I don't think the conversation is useful if we refuse to state the plain truths about the topic.

You could equally say that you left reddit because it's so full of people pretending blockchains solve any actual problems, and the likes of /r/wallstretbets.

So I don't think I can make my point while only using the words of the delusion group itself, no.

▲forgotoldaccoun 5 hours ago | parent | prev | next [-]

its definitely not the majority of people who own crypto but it has come in handy paying for some very legal things too that payment processors don't wanna touch or where i don't wanna put my credit card in. also you want some crime to happen. a lot of things are only legal now because a bunch of people commited the crime of doing it and there was enough demand to get those things legalized/decriminalized.

▲cowlevel 2 hours ago | parent [-]

It's been useful for my when my credit card declines an online purchase for absolutely no reason.

▲TedDoesntTalk 5 hours ago | parent | prev | next [-]

There is a contingent of people who use it for “stored value” like gold. I don’t know how many people do that; I don’t anyone really knows. But I agree; the crime factor is huge and I wish it would die.

▲knorker 2 hours ago | parent | next [-]

I file this under speculation, not a third group.

▲cromka 5 hours ago | parent | prev [-]

The only person I knew they had gold, they stole it.

▲dontlaugh 5 hours ago | parent | prev | next [-]

The third kind is sanctions evaders, which depending on your perspective may not be a crime. But losing bitcoin for the purpose wouldn’t be fatal to the practice.

▲wry_xy 5 hours ago | parent | prev | next [-]

Funny enough, it was speculators who killed Bitcoin's utility. Back when it was used almost entirely by criminals, it was actually used as a currency. Too expensive and volatile for that now. Criminals have mostly moved on.

▲knorker 2 hours ago | parent [-]

Without cryptocurrency we very likely would not have ransomware. Yes, it's technically possible to have ransomware without cryptocurrencies, but "technically possible" and "a major every day problem" are not the same thing.

▲shaky-carrousel 5 hours ago | parent | prev | next [-]

Same could be said about the US dollar.

▲mtlmtlmtlmtl 5 hours ago | parent | prev | next [-]

Don't criminals mainly use monero now?

▲knorker an hour ago | parent [-]

Monero, being a blockchain based cryptocurrency, has the same two use cases as bitcoin, yes.

I meant crime coin (cryptocurrency) in general.

▲survirtual 5 hours ago | parent | prev [-]

Organized crime primarily uses USD and other government-sponsored currencies. They control the monetary supply with impunity, socializing losses while privatizing gains. They commit genocide on a scale never before seen in humanity, deport natives and citizens to unfathomable inhumane prisons, and commit unspeakable sexual crimes against children.

What crimes has bitcoin been used for? Making an honest monetary system that allows teenagers to buy some drugs for personal use?

I think you may want to reflect on what happened during 2008 that triggered the creation of bitcoin. Because you are on the wrong side of history. Modern robber barons stole from the world at an unprecedented scale and suffered ZERO consequences. Bitcoin was the first real salvo against that modern tyranny. But instead of people coming together and stopping them, that same tyranny has hoarded resources and gobbled up the world’s compute and they finally have a real response (allegedly) against this thorn in their strange-hold on humanity.

If I had to guess, this is just the beginning. Don't be a bootlicker contributing to the continuation of the suffering of our species.

We are all about to go through a gauntlet. They want us to own nothing and be grateful for it. They want us to trust them as they lie, feast, and steal from us. They want to drain our creativity and exhaust our will. Even this supposed crypto cracking situation is an example; there are easy ways to provide evidence of their attack but instead they weave a web of lies and rumors against their enemy: all of us. The sew confusion, fear, loss, hopelessness. I am talking right now about a very old and ancient pattern that we all know very well.

I wonder what we're all going to do about it? It isn't looking good if people think their enemy is literally math.

▲solyin 4 hours ago | parent | next [-]

Let's not ignore that extortionists, some in in North Korea, Russia, USA, have been named as the people behind ransomware attacks which have taken down hospitals, schools, and casinos. These attacks aren't petty crimes that can be shrugged off as maladjusted teenagers hanging out behind the 7-11. Whatever you want to believe about power, control, and fiat money, Bitcoin is a bit bigger than a couple of drug addicts on the dark web. It's not even very good for that.

▲cowlevel 2 hours ago | parent | prev | next [-]

While you're right about government money, bitcoin turned out to be no better - it's just a different kind of government money, run by a different kind of government (the core team and/or the cabal of big miners).

▲knorker an hour ago | parent | prev | next [-]

> What crimes has bitcoin been used for?

I have a hard time taking this question at face value. Ransomware basically entirely depends on cryptocurrency.

> Organized crime primarily uses USD

Sure. Fiat currencies are also used for speculation and crime. It's just that it is also, and mainly, NOT used for that. A third category. And that third category is the main one.

> I think you may want to reflect on what happened during 2008 that triggered the creation of bitcoin.

I think this condescending statements misunderstands the nature of capital and wealth, and tries to equate it to fiat money.

> Because you are on the wrong side of history.

Oh, you're a true believer? That whole classy "every satoshi today is a slave you'll have in the future" thing?

> Modern robber barons stole from the world at an unprecedented scale and suffered ZERO consequences. Bitcoin was the first real salvo against that modern tyranny.

All it did was give criminals more power. Or shift power from at least elected criminals to the non elected kind.

> Don't be a bootlicker contributing to the continuation of the suffering of our species.

Jesus. You think funding CSAM and ransomware reduces suffering?

> They want us to own nothing and be grateful for it.

Bitcoin won't help you against that. It's just delusional.

> It isn't looking good if people think their enemy is literally math.

Yup, that's true believer talk. Math isn't law. Law is law. If you don't pay your taxes because it's not in your smart contract, then when the government kicks your door in, drags you away to a small room, and sells your house to someone else, then a smart contract somewhere saying your house still belongs to you doesn't actually mean anything. Math isn't the enemy. But neither can some scribbles on a blockchain "prove" that you are a sovereign citizen.

▲sirmike_ 5 hours ago | parent | prev [-]

Uh-huh. Sure buddy. Stop the hyperventilating and DMT suppositories.

▲Bender 6 hours ago | parent | prev | next [-]

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.

▲traceroute66 6 hours ago | parent | next [-]

> Append the new key to authorized keys and avoid removing the old entry until it is verified that all systems accept the new key.

Also a good time to consider migrating to using SSH certificates so you never have to play the authorized keys dance ever again. :)

Its not that difficult.

▲jeroenhd 6 hours ago | parent | next [-]

But then you need to update your SSH certificates, because I'd your key was signed by a broken algorithm, your certificate probably was as well.

Which reminds me to check my certificates, actually.

▲Bender 6 hours ago | parent | prev | next [-]

There are a number of pros and cons to each method that each person or organization will have to decide for themselves. If I list the pros and cons of each it will appear biased so I would encourage everyone to do their own extensive research on this topic before making such a change.

▲traceroute66 6 hours ago | parent [-]

Messing around with authorized keys files is inherently risk-laden. Stuff doesn't get put in. Stuff doesn't get taken out. Bad stuff gets put in by people accidentally or on-purpose.

Sure there are managed ways to do it, like `AuthorizedKeysCommand` or Ansible etc.

But for most people, especially those people allowing manual management of keys files, there are more cons than benefits of authorized keys.

▲Bender 6 hours ago | parent [-]

It is a lot more involved and nuanced. Trigger warning: I would encourage people to use their favorite LLM flavor of the day to get a more detailed answer about all the pros and cons of using traditional SSH public keys vs. SSH CA certificates.

▲rustyhancock 6 hours ago | parent | prev | next [-]

I can't believe I hadn't heard of SSH certificates. It does seem a nice simplification I'll look into this weekend.

I assume and hope it's as simple as setting up one key and then automatically being able to log in with any subsequently signed key.

▲traceroute66 5 hours ago | parent [-]

> I assume and hope it's as simple as setting up one key and then automatically being able to log in with any subsequently signed key.

Yes, in the most basic implementation that's it.

Obviously RTFM, but the gist is that the CA SSH Key gets defined on the server (sshd_config) side, e.g :

    TrustedUserCAKeys /etc/ssh/user_ca.pub
    AuthorizedPrincipalsFile /etc/ssh/principals
    # AuthorizedKeysFile none  # only once you're happy everything works ;)
And then yes, you can automagically log in with whatever is signed with the key(s) in `TrustedUserCAKeys` (as long as the principal defined in the signature matches one listed in `AuthorizedPrincipalsFile` – although IIRC you can wildcard `AuthorizedPrincipalsFile` so you might not even need to worry about that if you want a super-simple setup).

Then once you're happy with the basic principles and tested it out, you can do more fancy stuff like using Yubikeys as a poor-man's HSM (hardware CA) and eventually all sorts of server-side (man sshd_config) magic.

Its great ! Welcome to the dark side. ;)

▲Nnnes 3 hours ago | parent [-]

In theory, having your CA private keys on the same side as sshd wipes out the security benefits of using certs so this kind of setup is usually recommended against (you would ideally generate the CA certificate on a device that doesn't connect to anything except to sign keys, like a hardware security key as you mentioned, or at least somewhere that isn't accessible by SSH).

In practice, your client side devices may well be at more risk of loss due to theft or similar than your server is of being broken into, and it's pretty convenient to just scp your public keys over to sign them. I can reach my own CA private keys by SSH, just not via public IP address.

Here's a good resource for anyone wanting to get started with SSH certs: https://free-pmx.org/guides/ssh-certs/

▲jamesog an hour ago | parent [-]

I'm using a Yubikey as my CA which works nicely. I don't need to worry about having a machine that can be compromised. https://jamesog.net/2023/03/03/yubikey-as-an-ssh-certificate...

▲champtar 6 hours ago | parent | prev | next [-]

You do need to move your CA to bigger sizes or different type, so this time you still need to do some changes on all your systems.

▲ycombinatrix 5 hours ago | parent | prev [-]

Adding a remote dependency & new point of failure to my SSH servers? No thanks.

▲doubled112 3 hours ago | parent [-]

You can be your own certificate authority. SSH will trust whatever CA you give it the certificate for.

The CA could be on a remote server. It could also be a folder of certs and keys on your laptop, and you manage it with the openssl CLI.

▲ijustlovemath 6 hours ago | parent | prev [-]

Which configuration management system do you use?

▲Bender 6 hours ago | parent [-]

I used to use Ansible but now being retired I just have a handful of hobby nodes and that is trivial to manage with a shell script compared to the 50k+ physical servers and ungodly number of VM's most of which used LDAP for ssh keys.

▲ajasmin 5 minutes ago | parent | prev | next [-]

1password can't import ecdsa-sha2-nistp384 just yet

▲cyphar 5 hours ago | parent | prev | next [-]

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.

▲verandaguy 5 hours ago | parent | next [-]

"Unaffiliated with the NSA" is a selling point to some, but not to others. Many enterprise customers and compliance frameworks go with NIST-recommended algos, which are almost universally NSA-recommended.

▲cyphar 4 hours ago | parent [-]

They are finally FIPS-approved so there shouldn't really be any impediment even if you are selling to government.

NIST SP 800-56Ar3 does not explicitly approve X{25519,448} but Appendix D references NIST SP 800-186 which does allow them, and NIST has announced they plan to update it to include them. (Everyone switching to X25519MLKEM768 is already on the same boat in terms of compliance.)

And Ed{25519,448} signatures are explicitly approved in FIPS 186-5.

▲throw0101d 3 hours ago | parent | prev [-]

> I wonder why people aren't switching to Curve448 […]

How many configurations have it as an option as compared to the various NIST 'P-series' options? If you, and also the folks you have to interop with, do not have Curve448, what's the point of implementing it now? Further, if you do government work and have to use Official Workflows™, then it may not be an option (FIPS 186-5 notwithstanding).

If you're going to spend effort to implement something now, you might as well put effort in (hybrid and/or pure) PQC options.

▲thisisthenewme an hour ago | parent | prev | next [-]

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.

▲opk 5 hours ago | parent | prev | next [-]

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.

▲treeblah 5 hours ago | parent | next [-]

I believe gpg's answer is kyber1024_cv448, which is a hybrid key supporting ML-KEM (one of the recommendations per https://words.filippo.io/nsa-advisory/)

▲treeblah 5 hours ago | parent | next [-]

Although I just noticed you mentioned signing, which gnupg doesn't support with PQC yet. The kyber stuff is encryption only. Sequioa PGP supports PQC signing: https://sequoia-pgp.org/blog/2025/11/15/202511-post-quantum-.... Annoyingly the standards differ between the two tools.

▲blackcatsec 5 hours ago | parent | prev [-]

Not sure why one would stick with a purported vulnerable secondary cipher on the hybrid approach. If we take the worst case scenario, it's effectively useless right now.

Unfortunately I've found on most of the internet the hybrid support is largely x25519/mlkem768. But if you don't have an explicit need to be TLS compatible, I'd move further.

▲treeblah 4 hours ago | parent [-]

Fair point, that leaves kyber1024_cv448 for gpg

▲cowlevel 2 hours ago | parent | prev [-]

NIST = NSA, it's probably not a good idea to use any NSA curve for obvious reasons

▲r2vcap 30 minutes ago | parent | prev | next [-]

As cryptography news develops so quickly, I wonder if LTS Linux distros have a place to exist, at least for internet-facing ones.

▲globular-toast 3 minutes ago | parent [-]

LTS means long term support. That means security patches. That's the whole point. You can always stay on an unsupported distro forever if the goal is merely stability.

▲cvhc an hour ago | parent | prev | next [-]

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 6 hours ago | parent | prev | next [-]

Curious why not RSA 4096 instead? RSA is the oldest and maybe the safest, most well studied option IMO.

▲noinsight 6 hours ago | parent | next [-]

Its performance is terrible. That’s the reason for the shift to ECC in the first place (partly).

▲globular-toast an hour ago | parent | next [-]

Does that make any difference for SSH? My understanding is asymmetric crypto is only used once per connection to exchange a symmetric key which is used to encrypt the actual data. PGP is similar. Nobody uses RSA of any key size to encrypt any actual data.

▲upofadown 4 hours ago | parent | prev | next [-]

If you think that RSA is OK then RSA2048 is good enough. It is significantly more performant then RSA4096. It is probably faster than typical curve based stuff for encryption and signature verification.

▲cowlevel 2 hours ago | parent [-]

Well no, the same announcement that said move to 384-bit ECC also said move to 3072-bit RSA. If you don't believe the announcement then continue using 256-bit ECC.

▲upofadown 2 hours ago | parent [-]

That there is any possibility of breaking RSA2048 counts as another unsubstantiated rumour at this point. A reasonable rationale has not been provided.

▲rrr_oh_man 6 hours ago | parent | prev [-]

What does terrible mean, practically?

▲bob1029 6 hours ago | parent | next [-]

Large RSA keys are only impacting at the negotiation phase. This mostly matters for hyperscalars and anyone else doing high volumes of crypto operations at scale.

▲otabdeveloper4 4 hours ago | parent [-]

Anybody doing more than double digit https connections per second is affected.

And by "affected" I mean your CPU will die when you switch from 2048 bits to 4096.

▲rsync 16 minutes ago | parent [-]

We're not talking about HTTPS - we are talking about OpenSSH and it's very rare to find non-hyperscalers dealing with ssh traffic volumes where these performance characteristics matter.

▲noinsight 5 hours ago | parent | prev | next [-]

RSA doesn't scale past 2048 bit keys. Performance drops by 85% for a 112->140 increase in bits of security with 4096 bit keys (3072 is 128).

Of course the security bits of e.g. ED25519 are up in the air now, but it (used to) offers 128 bits of security at vastly better performance.

See for yourself on your own hardware:

$ openssl speed rsa2048 rsa4096 ed25519

▲dist-epoch 4 hours ago | parent | next [-]

Computers got vastly better in the last 15 years. Does this still matter?

▲noinsight an hour ago | parent [-]

Depends on your security and performance requirements of course.

Is 2000 handshake operations per CPU core per second good enough (RSA 2048)? Is 300 (RSA 4096)? Do you need 30000 (ED25519)?

Google will have a different opinion than the operator of a cat picture website. OTOH, if the cat picture website is hosted on a Raspberry Pi, its operator might greatly care as well - those numbers are a lot smaller.

▲rrr_oh_man 4 hours ago | parent | prev | next [-]

What does that mean in practical terms, though? For a standard website, web app?

▲cowlevel 2 hours ago | parent [-]

Means every connection initialization takes up half a second of CPU time on your web server and in the browser. It's that bad. May be tolerable for SSH (with port knocking or something to reduce DoS), not really for HTTPS.

▲otabdeveloper4 4 hours ago | parent | prev [-]

> are up in the air now

No they aren't.

You're literally doing a Chicken Little dance based on literal Twitter rumors.

Get a grip on yourselves.

▲jamwil 2 hours ago | parent [-]

None of this has anything to do with twitter rumours. The information provided through the official statements explicitly calls ECC into question.

▲13415 6 hours ago | parent | prev [-]

I'm using RSA 8192 and have no performance problems in practice. I suppose it depends on what you're doing, though, I'm only connecting to remote servers manually and with simple deployment scripts.

▲binaryturtle 2 hours ago | parent [-]

Using RSA 8192 since many years too. On >12 years old hardware: 3 GHz Intel Core i7. I never noticed any performance issues. I often fire up multiple sessions (up 12) at once for semi-automatic stuff.

Recently experimented with other types of keys, that now turn out to be problematic… and it didn't made any difference really from the performance perspective.

▲rsync 20 minutes ago | parent | prev [-]

"Curious why not RSA 4096 instead? RSA is the oldest and maybe the safest, most well studied option IMO."

This should be our first question and, as a follow-up, why did OpenSSH steer default algorithms away from large (3072/4096) RSA in the first place ?

Who among us is handling thousands of SSH connections per minute ? Who among us is handling multi-gigabit streams of SSH traffic ? If so, you know what you're doing and can make good selections based on your unique and interesting use-cases.

Meanwhile, how many personal/home/small/sensitive users were shunted away from RSA over the last decade for no good reason ?

▲throw0101d 8 hours ago | parent | prev | next [-]

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.)

▲asveikau 2 hours ago | parent | prev | next [-]

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?

▲charlieyu1 an hour ago | parent | prev | next [-]

So just use longer keys instead of trying PQC that may or may not be vulnerable is the safe approach

▲denverllc 5 hours ago | parent | prev | next [-]

Does anyone know if Curve25519 (Montgomery) is also generally affected? I believe that’s what WireGuard uses

▲adrian_b 5 hours ago | parent | next [-]

With the exception of a few privileged, nobody knows for sure whether there exists a faster attack against all elliptic curves with small parameters, or only against a restricted class.

Nonetheless, the safer choice is to assume the worst case, which is that Curve25519 is also vulnerable. With this assumption, in all places where elliptic curves smaller than 384 bits are used, they must be replaced, which corresponds to the recommendations of NSA.

▲globular-toast an hour ago | parent | prev | next [-]

The recommendation from the Wireguard author is to use the pre-shared key option and not rely on any asymmetric encryption.

▲cowlevel 2 hours ago | parent | prev [-]

Nobody knows anything at all. Nobody actually knows that any curves are affected. All we have are two pieces of public information: the changes to NSA recommendations, and Chrome (who have probably spoken to the NSA) rapidly deprecating root certs that don't meet the recommendations.

▲steeleduncan 39 minutes ago | parent [-]

The NSA recommendations are unchanged since 2016, they reiterated the urgency of following them.

▲johnea 3 hours ago | parent | prev | next [-]

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.

▲jwpapi 5 hours ago | parent | prev | next [-]

https://btcpuzzle.info/puzzles

They didn’t yet crack 2^71 jfi

▲nocturn9x 7 hours ago | parent | prev | next [-]

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

▲xaduha 5 hours ago | parent [-]

Hardware keys ed25519-sk and ecdsa-sk are 256 bit. Most passkeys are a P-256 key pair and an ECDSA signature as well, that's not going anywhere. I don't see people mention passkeys in these conversations at all.

▲lewdwig 6 hours ago | parent | prev | next [-]

Every “which is the best SSH key type?” blog post is now wrong in two directions

▲sidcool 2 hours ago | parent | prev | next [-]

Should we be changing out GitHub SSH keys?

▲seanieb 4 hours ago | parent | prev | next [-]

I don’t love using curves created using mystery numbers from the NSA, thank you.

▲mxey 4 hours ago | parent [-]

https://words.filippo.io/seeds-solved/

▲cowlevel 2 hours ago | parent [-]

DJB would classify this as "manipulable".

▲globular-toast an hour ago | parent | prev | next [-]

I'm going for RSA-4096. If that gets banned too then we'll know something is up.

▲JanisErdmanis 3 hours ago | parent | prev | next [-]

I guess it won't take long until Github will invalidate all my P256 keys ;/

▲shevy-java an hour ago | parent | prev | next [-]

Was this in response to NSA saying the crypto-world will soon come to its end?

▲chasil 6 hours ago | parent | prev | next [-]

Would the 521 curve not be more prudent?

▲traceroute66 6 hours ago | parent | next [-]

> Would the 521 curve not be more prudent?

Probably because their goal was notional compliance with CNSA 1.0.[1]

[1]https://marc.info/?l=openssh-bugs&m=179646617823608&w=2

▲noinsight 6 hours ago | parent | prev | next [-]

No, that curve is dead. Browsers removed support for it.

▲chasil 4 hours ago | parent [-]

You might also remember that PuTTY made a basic error in with their P-521 implementation, and it was corrected, not removed.

Th P-521 seems the best option for ECDSA at the current time.

http://blog.cr.yp.to/20140323-ecdsa.html

"To be fair I should mention that there's one standard NIST curve using a nice prime, namely 2^521 – 1; but the sheer size of this prime makes it much slower than NIST P-256."

▲bflesch 6 hours ago | parent | prev [-]

They're using FUD to push everyone away from RSA and towards a new, backdoored curve because the current backdoored curve has been exposed.

▲kortex 5 hours ago | parent | next [-]

Tech companies are recommending hybrid x25519+MLKEM, or P-384 where hybrid isnt available, and RSA-4096 as a last-ditch interim. What exactly is this "new backdoored curve"?

▲chasil 2 hours ago | parent | next [-]

DJB's opinion of P-384 is that it is quite poor.

https://safecurves.cr.yp.to/

▲cowlevel 2 hours ago | parent | prev | next [-]

P-384 is. It's an NSA curve.

It's also suspected the NSA have broken MLKEM, there's no other reason they would push so hard against hybrid for the past 10 years.

▲bflesch 3 hours ago | parent | prev [-]

Zero trust principle includes not trusting PR campaigns and "very urgent" recommendations from foreign governments. Let them beta test the new crypto while I stay with what is proven.

This kind of fake urgency is normally used in social engineering.

▲SoftTalker 6 hours ago | parent | prev | next [-]

Is that what Anthropic discovered? An intentional backdoor and not an algorithmic weakness?

▲airspresso 6 hours ago | parent | next [-]

More like an algorithmic weakness only some knew about and could abuse to their benefit. Until it gets independently discovered by others, like Anthropic did here most likely.

▲jMyles 6 hours ago | parent | prev | next [-]

Nobody knows, but that theory has certainly been the subject of growing wild speculation over the past 72 hours.

▲bflesch 3 hours ago | parent | prev [-]

I don't know. But I also don't know if these "quantum computers" are anything more than a scam to get government handouts.

And my personal assessment of those "quantum" companies is that they are more focused on media campaigns, interviews and public funding than on building a product.

I have zero trust that those connected types cashing out the government funding will actually deliver anything except FUD and PR campaigns.

So any time those airheads are used to justify an urgent security-related configuration change my bullshit detector goes off.

▲cowlevel 2 hours ago | parent [-]

The nature of the alarmism seems to be that they've found a way to break them on ordinary computers.

If anything. It might be that they have nothing.

▲mschuster91 6 hours ago | parent | prev [-]

RSA is similarly broken. 1024 bit keys can be cracked by a sufficiently well equipped adversary (I think I came around a figure of 120 million dollars in compute cost, but that was before the AI craze), and 2048/4096 are going to fall as soon as someone manages to create a working quantum computer.

▲bflesch 4 hours ago | parent [-]

I fully agree with you.

"Quantum computers" is the same kind of scam as "hydrogen fuel", easy government money.

I'm not well connected but I haven't met a single trustworthy company in the "quantum" space. Until one of these things is standing right here on my desk you can pry the RSA keys out of my cold dead hands.

They use media campaigns so you move away from RSA because they can't decrypt it.

▲JoyfulPanda 4 hours ago | parent | prev | next [-]

didn't we choose ed25519 over ecdsa because we didn't trust how nist came up with their curve or so?

▲gildenFish an hour ago | parent | next [-]

kinda yes, kinda no

▲tptacek 4 hours ago | parent | prev [-]

No.

▲nodesocket 4 hours ago | parent | prev | next [-]

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.

▲JoyfulPanda 2 hours ago | parent [-]

they invented ansible for that. and also certificates

▲kuschku 2 hours ago | parent | prev | next [-]

Can we also get support for the webauthn sk- versions of p384? Currently they aren't supported

▲tae_yang 6 hours ago | parent | prev [-]

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