Skip to main content
← SproulTech

If RSA breaks, you'll want your list already

An RSA exit plan is a list of every place your code relies on RSA, and a way to swap each one fast. SproulTech does this for JavaScript and TypeScript teams: a free scan that runs on your own machine, a fix sprint that routes RSA through one helper, and an on-call swap if a break is announced.

By Nate Sproul, software engineer · Updated December 2, 2026

Is RSA broken, and what should you do?

No published break exists; the rumour is unconfirmed. If one lands, RSA signatures and RSA key exchange both fail. What to do now: find every place you use RSA, so that swapping each one takes a day, not a quarter.

Where does RSA hide?

Each line gives the replacement and one way to find it. Ed25519 and ECDSA are the move you can make today. ML-DSA (signatures) and ML-KEM (key exchange) are the post-quantum targets where that matters.

  • JWT RS256 and PS256: move to EdDSA (Ed25519) or ES256 now, ML-DSA later. Find it: search your code and config for RS256, PS256 and RSA key loading in jose or jsonwebtoken, and check your JWKS endpoint for keys of type RSA.
  • TLS certificates: move to ECDSA certificates now. Find it: run openssl s_client -connect host:443 and read the public key algorithm of each certificate, including internal services.
  • SSH keys: move to Ed25519. Find it: search authorized_keys files and deploy keys for ssh-rsa.
  • Code and update signing: move to Ed25519 or ECDSA now, ML-DSA later. Find it: read your release and CI signing settings for the key type.
  • SAML: move the signature to ECDSA. Find it: look for rsa-sha256 in the SignatureMethod of your identity provider's metadata.
  • PGP: move to Ed25519 keys. Find it: gpg --list-keys shows each key's algorithm.
  • DNSSEC: move to ECDSA P-256 or Ed25519 signing. Find it: dig DNSKEY yourdomain.com and read the algorithm number; 1, 5, 7, 8 and 10 are RSA.
  • Recorded TLS sessions that used RSA key exchange: nothing to swap after the fact, so turn it off. Use TLS 1.3 and ECDHE, with ML-KEM hybrid key exchange where post-quantum matters. Find it: list the cipher suites each server accepts and look for ones that start with TLS_RSA.

Why think about RSA now?

Nobody has announced a break of RSA. As of November 30, 2026, no AI lab has said it can factor RSA keys, and nobody has published the factors of an RSA-2048 number. This page does not say RSA is broken.

What has changed is the talk around it. In late November 2026, the computer scientist Scott Aaronson wrote that he is "virtually certain, from multiple reliable sources" that AI labs hold unpublished cryptography results. He also says he does not know what those results are. The Guardian carried the original report on November 28, and the other two links are write-ups that check what is publicly known.

Separately, the Bank of England's November 2026 Financial Stability Report named frontier AI and quantum computing as risks to cryptography, and pointed firms to NCSC guidance, which starts with identifying where cryptography is used.

None of that is a break. It is a reason to know, before anyone asks, where your code depends on RSA. If the news ever turns, the teams with a list will spend a day on it and the teams without one will spend a week making the list.

What breaks if RSA factoring falls?

Anything that trusts an RSA signature or uses RSA to agree on a key. If someone could factor RSA keys cheaply, they could compute the private key from the public one. In a typical JavaScript or TypeScript shop that touches:

  • TLS certificates and CA roots signed with RSA: forged certificates for any site that chains to one.
  • Code and update signing with RSA keys: a forged update looks genuine.
  • RS256 and PS256 JSON Web Tokens, and RSA-signed SAML: forged logins.
  • SSH keys of type ssh-rsa, and PGP keys that are RSA.
  • DNSSEC zones signed with RSA.
  • Recorded TLS sessions that used RSA key exchange: traffic captured years ago could be read afterward.

What survives?

Factoring does not touch the following, so they are where you move to.

  • AES and other symmetric encryption.
  • SHA-2 hashes, and HMAC built on them.
  • Ed25519 and ECDSA signatures, and X25519 key exchange, survive a factoring break. They are not post-quantum, and NIST IR 8547 deprecates them too, so treat them as a stopgap.
  • ML-DSA (signatures) and ML-KEM (key exchange) are the post-quantum standards and the long-term targets.

How does SproulTech help?

Three steps. Each is separate, and you can stop after the first.

  • 1. Free RSA scan. Cupel is our open-source scanner for JavaScript/TypeScript, Python, Go and Java code. It runs on your own machine, so your code never leaves it, and it can also print a CycloneDX CBOM (--cbom) or SARIF (--sarif). Run it with npx github:1Aa1k/cupel --check --forbid-rsa. It lists every RSA call site it can find (https://github.com/1Aa1k/cupel). It is line-based pattern matching, so a clean run means no known pattern was found, not proof. Price: free.
  • 2. Fix sprint. We route every RSA call through one helper, swap each use to Ed25519, ML-DSA or whatever fits what it protects, and add a CI check so RSA cannot come back. Stored signatures, keys and tokens already out in the world are sorted first, because those are what a swap breaks. Price: $2,500 per repo for up to 25 RSA call sites, plus $75 for each site after that. The free scan gives you the count first.
  • 3. On-call swap. If a break is announced, we do the swap for you on a short clock, using the list from steps 1 and 2. Price: $300 a month holds a slot for you. The swap itself is billed at the fix-sprint rate.

Why trust a small shop with this?

You should not have to. Everything here is set up so you can check it yourself.

  • Your code stays with you. The scan runs on your machine with open-source code you can read first.
  • Fixed price per sprint, agreed before any work starts.
  • Every fix arrives as a pull request to your repo. You review each line and merge it yourself.
  • You pay when the pull request is merged.
  • We never need your secrets, private keys or production access. New keys are generated on your side.

Guides

Step-by-step pages for the first jobs on the list, two explainers for the decisions behind them, and one set of measured numbers, and one on making a CBOM.

What is the proof?

We have done the same kind of job once, on sproultech.com itself, and nowhere else so far. The write-up is the case study. From it: the site's code had 41 hashing call sites in 7 categories, each sorted and routed through a named helper. A dated scanner run on the site's code, sorted by family and by file, is on the data page. The work took 3 hours 13 minutes of wall-clock time, by one person with AI coding agents.

That job was about hashes, signatures and encryption in general, not RSA specifically. The scanner is public, so you can read what it does before you run it: Cupel on GitHub.

The wider method is on the crypto agility page.

Questions

Is RSA broken?
Not as far as anyone has published. As of November 30, 2026, no lab has announced a break and nobody has published the factors of an RSA-2048 number. Scott Aaronson wrote that he is "virtually certain, from multiple reliable sources" that AI labs hold unpublished cryptography results, and says he does not know what they are.
Does this affect SHA-256 or AES?
No. A better way to factor numbers does not touch AES, SHA-2 hashes or HMAC. Elliptic curve schemes such as Ed25519 and ECDSA are also not affected by factoring.
Does the scan upload my code?
No. Cupel runs on your own machine and reads your files locally. The code is public on GitHub if you want to read it first.
What does it cost?
The scan is free. The fix sprint is $2,500 per repo for up to 25 RSA call sites, plus $75 for each site after that, paid when the pull request is merged. The on-call swap is $300 a month to hold a slot, and the swap itself is billed at the sprint rate.

Send a few lines about the codebase and where it hashes, signs or encrypts things. The reply comes from the engineer who would do the work.

nate@sproultech.com