What actually breaks the day RSA-2048 falls
On November 29 someone on X wrote that a frontier AI lab had broken 2048-bit RSA. Elon Musk replied "I've heard this from a few people", and for a few days that was the whole story. To be clear up front: as of today nob
On November 29 someone on X wrote that a frontier AI lab had broken 2048-bit RSA. Elon Musk replied "I've heard this from a few people", and for a few days that was the whole story.
To be clear up front: as of today nobody has shown a factored RSA-2048 key. The real results nearby are smaller. RSA-896 was factored in September with an AI model helping on the engineering side, and the people behind it said it doesn't affect 2048-bit keys. There are already plenty of posts explaining that, so this isn't another one.
This post asks the other question. Suppose it does happen. What breaks, what doesn't, and how would you even find out?
First: how it was broken matters more than that it was
"RSA-2048 is broken" can mean very different things, and the answer changes almost everything below.
- A big speedup of the number field sieve. Factoring gets cheaper, but the cost still grows fast with key size. 2048 falls, 3072 and 4096 are still out of reach for a while. This is the boring, most plausible version, and it's a migration problem, not a catastrophe.
- A new factoring algorithm. Then 4096 might not save you either. Every RSA key size becomes a countdown.
- Something that also solves discrete logarithms. Now elliptic curves are in trouble too, and that's a different and much worse post.
Whoever announces a break will be asked one question first: does it scale? Keep that in mind when you read the next headline.
What breaks
If you can turn an RSA public key into its private key, anything that proves identity with RSA stops proving anything.
| Where RSA shows up | What an attacker gets |
|---|---|
| TLS certificates with RSA keys | Impersonate the site, if they can also sit in the path of the connection |
Old TLS with static RSA key exchange (TLS 1.2 TLS_RSA_* suites) |
Decrypt traffic someone already recorded. This is the "harvest now, decrypt later" case |
| Code signing, package and firmware signatures | Ship tampered updates that pass signature checks |
JWTs signed with RS256
|
Mint valid tokens for any user |
SSH host and user keys of type ssh-rsa / rsa-sha2-*
|
Pose as a server, or log in as a user whose public key is known |
| Email: DKIM, S/MIME, PGP | Send mail that verifies as someone else, read old encrypted mail |
| DNSSEC zones signed with RSA | Forge DNS answers that validate |
The pattern is that signatures are the big problem. A forged signature works today, against live systems, without anyone noticing.
What doesn't break (as much as people think)
TLS 1.3 traffic you already sent. TLS 1.3 removed RSA key exchange. Session keys come from an ephemeral (EC)DHE exchange, and the certificate's RSA key only signs that exchange. Breaking the RSA key lets an attacker impersonate the server from now on. It doesn't let them decrypt the TLS 1.3 traffic they recorded last year.
Bitcoin and Ethereum keys. Wallet signatures are ECDSA or Schnorr on secp256k1, not RSA. An RSA-only break doesn't let anyone spend your coins. The exposure is the stuff around the chain: the exchange's HTTPS certificate, an RS256 login token, a withdrawal confirmation email. If someone tells you to move your coins because of RSA, that's a phishing opener, not advice.
Symmetric crypto and hashes. AES and SHA-256 don't care about factoring.
Three ways it could play out
1. Published
A paper, code, and the receipt: the two primes of the RSA-2048 challenge number. Anyone can check it in a second by multiplying them. Then it's a race. CAs and browsers push RSA certificates out, big CDNs swap to ECDSA within days, because most already serve both. The long tail is where it hurts: banking backends, VPN appliances, IoT firmware with an RSA key burned in, anything with a 10-year support cycle. Week one is fine for the big sites, and year one is still a mess for everyone else.
2. Kept quiet and told to governments first
From the outside, this looks like nothing happened. The only signal is that migration guidance gets more urgent without saying why. That's also exactly what normal post-quantum planning looks like, which is why this scenario is so easy to read into any news. It's speculation either way, and it's worth saying so when you write about it.
3. Held by an attacker
Nobody announces anything. The question is whether we'd notice, and the answer is "partly":
- If they factor a site's own key, they reuse the existing certificate. Nothing new is issued, so there is nothing to see in public logs. Only someone in the network path can use it.
- If they factor an intermediate CA key and mint their own certificates, those certificates aren't in Certificate Transparency logs. Chrome and Safari require signed proof of CT logging (SCTs), and most CT logs sign with ECDSA, not RSA. So a newly issued certificate from a publicly trusted CA would generally leave a public trace. That's one of the few places the web already has a receipt check built in. Detection still depends on someone monitoring those logs, though, and private PKI deployments may not be covered.
Code signing and JWTs have nothing like that. A forged signature there looks exactly like a real one, and nobody else ever sees it.
What to grep for this week
None of this needs a break to be worth doing. It's the same list NIST and NSA have been pushing for post-quantum migration anyway.
# TLS: what key types and suites do you actually serve?
nmap --script ssl-enum-ciphers -p 443 your.host
# Certificates you issue or pin
openssl x509 -in cert.pem -noout -text | grep "Public Key Algorithm"
# JWT signing config
grep -rn "RS256\|RS384\|RS512" --include=*.{js,ts,py,go,java,yaml,json} .
# SSH keys still RSA
grep -l "ssh-rsa" ~/.ssh/*.pub /etc/ssh/*.pub
These commands are only a starting point. Also check KMS/HSM, secret vaults, CI/CD signing keys, firmware signing, third-party services, and other services that verify your JWTs.
Then, in order:
- Anything still on RSA-1024: replace it now. That one doesn't need a rumor.
- Turn off static RSA key exchange in TLS 1.2 if it's still on.
- Move JWT signing to
ES256orEdDSAwhere you control both sides. ES256 and EdDSA protect against an RSA-specific factoring breakthrough, not a sufficiently powerful quantum computer. For post-quantum signatures, algorithms such as ML-DSA require a separate migration. - Turn on hybrid post-quantum key exchange (X25519 + ML-KEM) where your stack supports it. Most current browsers and CDNs do. Note that ML-KEM handles key establishment, not digital signatures. It does not replace RSA-based signing in certificates or JWTs.
- Write down where RSA lives in your systems. Most teams can't answer that today, and it's the step that makes every other step possible.
The receipt
Factoring is one of the rare claims where the proof is cheap and impossible to fake. A break of RSA-2048 comes with two numbers, p and q, and checking them is one multiplication. Until someone posts those, "I've heard this from a few people" is a record of a claim, not a record of an event.
That's the same failure I wrote about last week with agents: a tool history that says "saved" when nothing was written, and every later turn trusting it. People do it too. The fix is the same. Ask for the receipt.
If your stack had to drop RSA next month, which part would take longest to move?
Originally published by Dev.to Security. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.