Jeff Mixon / Plan as if RSA and elliptic curves are already broken

Created Fri, 04 Dec 2026 00:00:00 -0800 Modified Fri, 04 Dec 2026 23:26:15 -0800

This is an opinion piece. The news in it is linked. The bet is mine, and I’ll mark the spot where one turns into the other.

Three months of strange news

In September two teams set public factoring records with AI agents doing the legwork. Eric Lu at Cognition factored RSA-260 (862 bits) with Devin. Two weeks later Steve Weis at Anthropic factored RSA-896 after Claude adapted the CADO-NFS factoring suite to GPUs and ran it on up to 2,048 of them for about ten days. Weis was clear that he hadn’t improved the algorithm. It was an engineering record, and the Internet runs on 2048-bit keys, not 896.

Then late November got weird. A rumor went around that a frontier AI lab had broken RSA-2048. Nobody named the lab and nobody produced a paper. Elon Musk amplified it anyway. Cloudflare’s CEO mused that the company’s post-quantum work “maybe will turn out to be more appropriately called post-AI cryptography,” and Germany’s BSI told Reuters its experts were “reviewing the matter intensively.”

On November 30 Anthropic published four lattice papers. The headline one gives a quasi-polynomial quantum algorithm for Module-LWE. That’s the problem underneath ML-KEM, and half of what’s underneath ML-DSA: the algorithms we’re all supposed to be migrating to. The result is asymptotic, its own abstract calls it impractical against the standardized parameters, and the Cryptography Incident Review Group’s initial assessment found no key in use at risk. Still, the replacement got a theoretical dent the same week the original got a rumor.

The same week the NSA published PP-26-4956, “Immediate Actions to Push Toward Post-Quantum.” It tells the people who run national security systems to inventory their crypto, move to TLS 1.3, stand up post-quantum certificate authorities and re-sign their software. The inventory step says to look for algorithms “not approved in CNSA 2.0 or CNSA 1.0,” the NSA’s own suites, and its examples include “elliptic curves other than P-384 or P-521 for ECDH or ECDSA” and EdDSA. That covers X25519 and Ed25519. The advisory never says what prompted it, but the fine print at the end says it was written “in furtherance of NSA’s cybersecurity and super intelligence (SI) missions.” I didn’t know the NSA had a superintelligence mission until I read that line. Alongside it, a joint statement from the NSA, CISA and the Office of the National Cyber Director said AI companies had “disclosed discoveries that impact the security of some cryptography currently in use,” and that those discoveries “do not present an immediate and widespread threat to that cryptography.” It didn’t name the companies or the algorithms.

I’ve read that first sentence maybe forty times now. Discoveries that impact the security of some cryptography currently in use. That’s plural, it’s in the present tense, and as far as I can find, most of it isn’t public.

My bet

Here’s where the speculation starts. I think a model found a classical shortcut to the two problems that almost all of today’s public-key crypto rests on: factoring, which is what RSA depends on, and the discrete logarithm on an elliptic curve, which is what X25519, Ed25519 and ECDSA depend on.

It’s worth being exact about what that means, because the popular version of this rumor is “AI can predict primes,” and that part isn’t scary at all. Finding big primes has been easy for decades. Your phone finds a 1024-bit prime in a fraction of a second. RSA’s safety comes from a product of two primes being hard to take apart. Curve crypto’s comes from a different place: given a point that’s some secret multiple of another point, nobody knows a fast way to recover the multiple. My bet is that a model found something that makes one or both of those hard problems a lot less hard. A model that has chewed through more number theory than any mathematician alive is a plausible thing to stumble on a shortcut first. Labs spent all of 2026 pointing models at hard math, and the factoring records show they pointed some of them at exactly this.

The circumstantial case goes like this. An agency that usually writes deadlines in decades put “immediate” in a title, and credited the advisory to its superintelligence mission. The BSI didn’t wave the rumor off. A CEO whose company terminates a large share of the web’s TLS is talking about “post-AI” cryptography. And the joint statement doesn’t say there were no discoveries. It says they impact cryptography in use, and then that they aren’t an immediate and widespread threat, which is a careful thing to say about something real.

Now the case against me, which I owe you. The September records were engineering, by the authors’ own account. The NSA’s curve list is, by its own wording, a list of algorithms its suites never approved. CNSA 1.0 only ever allowed P-384 for curves, so X25519 and Ed25519 were never on it, and the list may tell us nothing new. The same advisory still tells organizations to build new root certificate authorities on RSA-3072 or P-384, and allows RSA-2048 where legacy systems need it. That’s an odd thing to write if you believe factoring is broken, unless 3072 bits is enough margin against whatever was found. The most likely “discovery” behind that statement is the lattice work, which is quantum and isn’t about factoring or curves at all. And rumors with one press quote and no paper usually die quietly. I could easily be wrong. I’m still rotating my signing key.

One more caveat about my own theory. Factoring and the curve problem are separate. The tricks that speed up factoring, the number field sieve and its relatives, have historically bounced off well-chosen elliptic curves, which is why a 256-bit curve key can stand in for a 3072-bit RSA key. Shor’s algorithm on a real quantum computer breaks both, but a classical shortcut to one wouldn’t automatically give you the other. So the half of my bet I’m surest of is factoring, where the rumor points. The curve half rests on the NSA’s list naming X25519 and Ed25519, which is thinner evidence. If both halves are true, that’s the bad version of this story.

If I’m right, what breaks

Recorded traffic goes first. Anything that used RSA to carry a session key (TLS 1.2 without forward secrecy, S/MIME, PGP to an RSA key) becomes readable the moment the private key can be derived from the public one. Classic finite-field Diffie-Hellman, which plenty of VPNs still negotiate, probably goes with it: its best attacks have always been cousins of the best factoring attacks. Every archived capture of that traffic turns into an archive of plaintext. People have warned about “harvest now, decrypt later” for years. In this scenario the decrypt step is no longer later.

If curves fall too, forward secrecy stops helping. Most TLS for the past decade has used an ephemeral elliptic-curve exchange, so every capture of that traffic is exposed as well. The exception is traffic that already used hybrid key exchange. Chrome and Cloudflare have negotiated a hybrid of X25519 and ML-KEM by default for a while, wherever the other end supports it. The ML-KEM half rests on lattices, so a recording of a connection made that way stays private even if X25519 falls. Anything recorded on curve-only key exchange doesn’t.

Authentication is where it gets ugly. The web’s certificate chains are RSA or ECDSA, root CAs included. Break a root key and you can mint a valid certificate for any domain, and the padlock stops meaning anything. Encrypted key exchange doesn’t help a live connection whose other end is an impostor. Certificate Transparency won’t catch it either: browsers accept a certificate when it carries signed receipts from CT logs, and those logs sign with ECDSA or RSA too, so a forger can mint the receipts and never touch a log. The DNSSEC root key is RSA. SSH keys are mostly RSA or Ed25519. Payment cards and passports carry keys in chips that won’t be reissued for years.

The worst case is software updates, because a forged update is built to spread. OS updates, app stores, firmware and package registries all lean on signatures, and a lot of those signing keys were generated a decade ago and labeled “permanent.”

Bitcoin and Ethereum sign on the elliptic curve secp256k1. A factoring shortcut leaves them alone, but a curve shortcut would put every coin at risk whose public key is already on chain.

The good news is that the post-quantum migration that’s been grinding along for “a quantum computer, someday” is the same migration this scenario needs. ML-KEM, ML-DSA and SLH-DSA don’t rest on factoring or curves. The lattice papers are the reminder not to swap one monoculture for another, though. The deployments that look smart right now are hybrids that need both halves broken, plus hash-based signatures for the keys that have to last. SLH-DSA rests on hash functions alone, and nothing I’ve seen this year touches those.

What Knit is doing about it

Knit is my encrypted mesh messenger for Android and iOS. I wrote about its design earlier this year. When the news broke I took an inventory of every public-key operation in both apps. Two exposures stood out, and both line up with the scenario above.

The signing key

Every Android install outside Google Play (F-Droid, GitHub, and phones that got Knit from a contact) trusts one RSA-2048 signing key. The next release lets Knit pass app updates between phones, so a forged build signed with that key could reach a contact’s phone, install once they approve it, and travel on from there. If RSA-2048 falls, that key is the most valuable thing in the project, and it’s the one exposure that only needs the factoring half of my bet.

Our own docs called that key permanent. That turned out to be wrong: Android can rotate an app’s signing key in place, through a signed lineage from the old key to the new one. F-Droid’s tooling is the obstacle. It doesn’t understand rotation yet, so a build signed only by the new key would never be offered as an update to anyone who installed Knit from F-Droid. So the plan rotates now, in two steps. The new key is EC P-384, generated on an offline machine and kept on two hardware tokens, never as a CI secret. P-384 is a curve, so it rests on a different hard problem from factoring, and it’s on the NSA’s interim list. If the curve half of my bet is true as well, P-384 buys nothing, and that’s what the next part is for.

The first step uses Android’s default rotation. The old key still signs for Android 10 to 12 and the new key signs for Android 13 and later, which F-Droid handles today with nothing changed on its side. The second step moves the older phones once F-Droid can carry it, or right away if RSA-2048 is publicly broken or the old key leaks.

Rotation only protects phones that take the update before an attacker shows up, and until the second step it doesn’t protect Android 10 to 12 at all. A phone that never updates stays forgeable by whoever factors the old key, and I can’t fix that from here.

On top of the rotation, the plan is a second signature on peer updates in SLH-DSA, the hash-based standard, which doesn’t depend on factoring, curves or lattices. Android’s new hybrid APK signer pairs a classical key with ML-DSA for phones on Android 17 and later, and it goes in once it works with a rotated key. I tried it this week, and it threw a NullPointerException on every combination.

The messages

Every confidentiality path in Knit ends at X25519, and the mesh makes Knit unusually easy to harvest. By design, ciphertext sits on strangers’ phones for up to a day so it can reach someone who’s offline. Knit’s Internet relays keep it for two days. The long-range radio mode puts it on the open air for kilometers.

In August I wrote “rejected outright for the mesh” next to post-quantum key exchange in our roadmap. ML-KEM keys are bigger than a whole long-range radio packet, and the math was right. The premise had quietly gone stale, though: that radio mode doesn’t carry key material anymore. So the new design looks like this:

Key agreement becomes a hybrid, in the style of Signal’s PQXDH. Each phone publishes an ML-KEM-1024 prekey beside its X25519 one, and the KEM secret is mixed into the session root. Every later key in the conversation derives from that root, so someone who records traffic now and eventually breaks every X25519 key in the session still doesn’t have it. It adds about 1.6 kB to each message until a conversation is confirmed and nothing after that, plus a key bundle of about 9 kB that each phone republishes weekly. Long-range radio messages get a post-quantum pair secret, sent once inside the protected session, which costs zero bytes on the air.

Identity gets a post-quantum key now, before anything forces it. Each phone gets an ML-DSA-87 identity key, vouched for by its current Ed25519 key and pinned for good by its contacts, with a lock that refuses any later attempt to drop it. There’s a wrinkle I didn’t expect here. If Ed25519 is already weak, whoever publishes a post-quantum key in your name first gets pinned, and the lock then keeps the real one out. So the identity goes out in the very first post-quantum keys a phone publishes, never in a later release, and the faster people upgrade, the smaller that window gets. A confirmed classical attack on Ed25519 would also pull the mandatory phase forward.

Both changes are additive at first: phones that support them use them with each other right away, and the next wire-format break makes them required. Before any of it, though, the boring fix. The backup recovery key is about 100 bits run through a fast KDF. That’s fine against today’s computers but thin against a quantum search over a stolen backup, and the backup holds the identity keys. The plan raises it to at least 128 bits or puts it behind a slow KDF.

Both apps get these changes together, since they speak the same protocol. On iPhone, Apple’s CryptoKit only offers ML-KEM and ML-DSA from iOS 26, so older iPhones simply won’t advertise the capability. Before it becomes mandatory, Knit will either require iOS 26 or bundle its own implementation. This week’s news also moved the parameter choice. The draft said ML-KEM-768 and ML-DSA-65 until the NSA advisory pointed back at CNSA 2.0’s ML-KEM-1024 and ML-DSA-87, and the lattice reviewers advised the higher levels too.

None of this has shipped. The designs are written up, and the first implementation commits are on branches in both apps. Nothing here protects anything recorded before it lands, and I’d rather say that than let a roadmap read like a guarantee.

Why the bet barely matters

I keep coming back to this. Whether I’m right about the shortcut changes almost nothing about what anyone should do. The fixes are the same: inventory your keys, turn on hybrid key exchange, rotate the signing keys that guard updates, and keep a hash-based option around. The only thing my bet changes is the deadline. If the rumor is false, we did 2030’s work in 2026 and lost a few kilobytes. If it’s true, the organizations waiting for a published break will find out from a forged update.

What actually unsettles me is the shape of the evidence. We used to learn about cryptographic breaks from a paper at a conference. This time the best evidence is a carefully worded government statement about discoveries nobody has published, and the models that may have made them are on the other end of an API.

Sources: the news above links to the coverage I read, and I read the NSA advisory itself. Several outlets lean on the same Reuters quote, I haven’t seen a primary BSI statement, and the joint statement’s wording is as Cybersecurity Dive quoted it. Knit’s designs are in its decision records; the parts here are summarized, and the numbers are from those records as of December 4, 2026.