If P=NP, and someone finds an algorithm fast enough to use, almost every cryptographic scheme your company relies on stops being safe. Nobody has proved it, and neither lab claims to have. But this autumn two AI labs said their models had resolved long-open problems in complexity theory, and a much smaller result than P=NP would already break TLS key exchange, certificates and single sign-on.
Suppose a working attack on RSA or elliptic-curve cryptography were published tomorrow. Your team would face dozens of decisions in the first few hours. Which keys do you rotate first? Which logins and software updates can you still trust? What do you tell customers? Some of those calls are hard to get right under pressure. One of them, swapping new keys with the vendors and partners you rely on, can't be done safely over the usual channels after the fact, because the channels you'd use are the ones that just failed.
No such attack has been shown. But the research moved quickly this autumn, and a first draft of a runbook for this case takes only a few days. Here is the outline we'd hand any security team: what has actually happened, what each possible outcome would break, and seven steps you can write down this month.
On October 26, OpenAI said its models had refuted the Exponential Time Hypothesis, a decades-old conjecture about how hard certain problems are to solve. Anthropic posted its own refutation within hours. A group led by the hypothesis's two authors, Russell Impagliazzo and Ramamohan Paturi, with MIT's Ryan Williams, is examining OpenAI's proof. They stress that this is not an endorsement.
In late November, both labs posted proofs that VP is not equal to VNP, an algebraic cousin of the P versus NP question. Those haven't been peer reviewed either. On November 25, the complexity theorist Scott Aaronson wrote that he is "virtually certain" the labs hold unreleased results that bear on cryptography. A day earlier he had said the results he's confident about fall well short of a fast factoring algorithm, and on November 27 he wrote that an upcoming result "will not lead to imminent danger" for deployed systems.
On November 30 he wrote that Anthropic looks set to publish a quantum algorithm that solves Ring-LWE and Module-LWE in quasi-polynomial time. ML-KEM and ML-DSA, two of the new NIST post-quantum standards, are built on Module-LWE. He called it "a huge development in cryptanalysis, but not an imminent danger to current encryption": the attack needs a quantum computer, its constants are large enough to make it impractical, and these schemes are usually deployed alongside a classical one. He expects the field to fall back on less structured lattice schemes with larger keys. On breaks of current encryption, he says he has no specific information, only rumors he can't fully dismiss.
Neither lab has claimed to resolve P versus NP, and the Clay Mathematics Institute still lists it as unsolved. Nobody has published or demonstrated a break of a deployed cryptosystem. None of this is a break of anything you run. But the people closest to the field are paying closer attention than they were in September.
A good runbook doesn't bet on one outcome. It sorts your systems by the hard math problem each one depends on, so you know what to act on whichever result arrives.
| Outcome | What breaks | What keeps working |
|---|---|---|
| A fast method for factoring or discrete logarithms | RSA and elliptic-curve cryptography: classical TLS key exchange (including traffic recorded in the past), certificates, SAML and OIDC token signatures, code and container signatures, passkeys | AES-256, HMAC, SHA-2, TOTP codes, the new NIST post-quantum standards (ML-KEM, ML-DSA, SLH-DSA). API tokens still work, but treat any that crossed classical TLS as exposed. |
| A break of lattice problems | ML-KEM and ML-DSA | RSA and elliptic-curve cryptography, hash-based signatures such as SLH-DSA, all symmetric cryptography, and hybrid TLS, whose classical half still holds |
| P=NP with an algorithm fast enough to use | Almost every computational scheme, AES included | One-time pads, information-theoretic MACs, secret sharing, and physical or network isolation |
Start with the first row. It's the case the post-quantum migration was already meant to solve, just on a slower clock. The last row is the hardest. No product can protect you from it, and if someone says otherwise, ask them to show the math. What you can do is limit the damage: keep less data, shorten how long credentials live, and know which systems you would isolate.
Across all three rows, the bigger risk is usually integrity, not secrecy. Recorded traffic being read later is bad. Forged single sign-on assertions and forged software updates are worse, because they hand attackers your accounts and your build pipeline.
None of these steps depends on how the research turns out. Most of them are post-quantum work you were going to do anyway, just pulled forward.
Build a cryptographic inventory that records, for every system, the algorithm, the key or certificate, and where signatures get verified. Tag each entry with the problem it depends on: factoring, elliptic curves, lattices, hashes or symmetric. That tag is what lets you act in minutes instead of days. The lattices tag matters more after this week. If the result above holds up, you'll want to know everywhere ML-KEM and ML-DSA run, so you can swap them if the standards move.
Hybrid TLS (X25519MLKEM768) protects traffic as long as either half holds, and it closes the harvest-now, decrypt-later gap from today forward. Google Cloud load balancers have offered it by default since October 2026 unless a policy defers it. AWS load balancers support it through their PQ security policies, but pick one explicitly: the CLI and CloudFormation still default to an older policy. Check your policies, then check your own nginx, Envoy or HAProxy builds.
You don't need new certificates for this. Hybrid key exchange changes how the session key is agreed, and your existing RSA or ECDSA certificates stay as they are. Two things do need checking. First, internal listeners: a service that only allows TLS 1.2 can't negotiate post-quantum key exchange at all, and service-to-service traffic is easy to miss. Second, legacy clients: the stricter TLS 1.3 policies drop clients that only speak TLS 1.0 or 1.1, so find those before you switch. On self-managed nginx, ssl_ecdh_curve X25519MLKEM768:X25519 needs OpenSSL 3.5 or later, which already offers the hybrid group by default. If you set the curve list explicitly, nginx won't start on an OpenSSL that doesn't recognize the group.
List every place your security depends on a public-key signature: single sign-on assertions, code signing, container and package signatures, certificates, webhooks. For each one, write down what you'd switch off and what replaces it. If you only write one section of the runbook, write this one.
Once a break is public, you can't safely trade new keys over the internet. Ask your critical vendors how they plan to move release signing to post-quantum algorithms such as SLH-DSA. In the meantime, pin software and images by digest and keep those digests somewhere separate from the systems they protect.
TOTP codes are HMAC-based, so the codes themselves survive the first two outcomes, though the TLS connection carrying them still needs post-quantum protection. Passkeys and federated logins don't survive, because they rest on RSA or elliptic-curve signatures today. For every critical app, find out whether you can turn off federation and fall back to a local factor, and make sure break-glass accounts work without your identity provider.
A token captured in recorded traffic is only dangerous while it's valid. Data you've deleted can't be decrypted later. Set expiry on API tokens, rotate long-lived integration credentials, and shorten retention where you can.
Define what makes you start acting, who decides, and who talks to customers. Draft the customer notice now, while nobody is rushing. Then run a one-hour tabletop and fix whatever breaks.
You can get a first draft of the runbook done in a few days. These six tasks get you most of the way:
The runbook template, When Cryptography Breaks, is a free PDF. It has a fill-in table for each of the seven steps, the checklist above, and a rehearsal log.
A runbook is only as good as the inventory behind it, and scan results go out of date. DefectDojo keeps the TLS part of it current, the same way it handles every other security finding. The Community Edition ships with 360+ built-in parsers, including SSLyze, testssl.sh, sslscan, SSL Labs and Nmap. Import their results through the API or your CI pipeline, and the TLS weaknesses they report land in the same queue as the rest of your work. They're deduplicated, assigned SLAs, and included in reports, so weak TLS configurations get owners and due dates instead of living in a spreadsheet.
Here is where we stand today. We maintain a response runbook for when cryptography breaks, owned by our CTO. We follow NIST FIPS 203, 204 and 205, and we use hybrid post-quantum key exchange where our platforms support it. In DefectDojo Pro's cloud service, customer data at rest is encrypted with AES-256, which a factoring or lattice break would not affect.
If a break does come, you may hear about it for the first time when it's used against you. By then it's too late to swap keys or tell your users which signatures to trust. If it never comes, you'll have spent a few days on work your post-quantum migration needed anyway. Write the runbook now, starting with the free template, then import your TLS scan results into DefectDojo so that part of your inventory stays current. Get started with the Community Edition or talk to us about DefectDojo Pro.