Johnny and the Cryptographic Apocalypse
Five priorities for post-quantum preparation
Categories: Cryptography
Tags: security cryptography post-quantum
The rumors about broken cryptography have reached my cousin Johnny, a security manager at a local retail chain. He has systems to protect, a finite budget, and increasingly alarming advice about what to do next. I can think of five things he should do as he prepares for post-quantum cryptography.
When I was in elementary school, I read a book about how stars die. Learning that the sun would eventually die cost me several nights of sleep. I lay awake agonizing over the tragedy awaiting us earthlings, with very little interest in how far away it was or what I could usefully do about it.
Talking to Johnny reminded me of those nights. I recognized the feeling of learning about a catastrophe and allowing it to crowd out every other consideration.

Recent AI-assisted research shows that the sun is scheduled to fail in about five billion years. Image: NASA/SDO.
The rumors have been changing so quickly that another theory may appear before I publish this. First came the claim that RSA was broken, which I examined in Eve’s Revenge. Then came talk of an attack that would reduce the security of an N-bit elliptic-curve group from roughly N/2 bits to N/3 bits. Under that hypothesis, a 256-bit curve would offer roughly 85 bits of security, down from 128. Larger curves might restore the margin against that particular attack, depending on its details. They would still be vulnerable to a sufficiently capable quantum computer, as they have been all along. That is why the industry has been developing post-quantum replacements.
Soon, rumors spread that those replacements might be vulnerable too. Anthropic had published theoretical work on the mathematics behind some post-quantum algorithms. The NCSC assessed the work and concluded that it describes a theoretical quantum attack that would need resources far beyond any quantum computer that exists or is in prospect. Its assessment was that the work does not threaten the deployed ML-KEM and ML-DSA standards, and its migration advice was unchanged.
On December 5, Anthropic and OpenAI confirmed that they had separately found mathematical weaknesses in some internet cryptography. Their joint statement says the weaknesses pose no immediate threat to the public, but supports a faster transition to NIST’s post-quantum standards. Those standards are unaffected by the discoveries, which are separate from Anthropic’s published lattice research.
Johnny should take those disclosures seriously, and any vendor who arrives with an urgent proposal should be able to explain which of his systems it protects and how. He also has everyday security work to do, starting with these five priorities.
1. Fix known vulnerabilities
Many failures in deployed cryptography have come from implementation. Heartbleed let an attacker read up to 64 kilobytes of a server’s memory at a time because OpenSSL failed to check the bounds of a heartbeat request. A Debian-specific change to OpenSSL made its random-number generator predictable. Other implementations leak secrets through timing or other observable behavior, in what cryptographers call side-channel attacks. A stronger algorithm cannot protect secrets that the software around it gives away.
Published vulnerabilities like these are threats Johnny can act on today. The advisory describes the flaw, exploit code often follows, and attackers scan the internet for systems that have not been patched. An unpatched server may be exposed to anyone who can download and run the exploit code.
Johnny should check which versions of OpenSSL and other cryptographic libraries his systems actually use, apply relevant security updates, and identify appliances whose vendors no longer support them. He should also verify that the updates reached production.
The same holds for the phones in our pockets. The update notification we keep dismissing usually fixes flaws whose details are public, and those flaws pose a more immediate risk than the suspected mathematical weaknesses in cryptographic algorithms.
2. Get key management right
In a cryptography textbook, Alice and Bob can keep their private keys secret and get on with the exchange. A retail chain’s Alice and Bob also have service accounts, backups, contractors, and employees who change jobs, and each of them is a route by which a key can leak.
An attacker who steals the key used to sign software updates can sign malicious updates that the company’s tills and laptops will trust. Switching to a post-quantum algorithm offers little help if the new key is just as poorly protected.
Keys can also be weak from the moment they are made. In October, eMudhra revoked eight intermediate CA certificates after an independent researcher found weak keys. Its incident account blames a key-handling step that produced weak keys alongside strong keys, and Cloudflare noted that the weak keys would let an attacker forge a certificate for any domain. The company’s process for handling keys needed fixing, whatever algorithm it used.
Johnny needs to know where his keys are made, where they are stored, and who or what can use them. His team should practice replacing a key after a compromise. Discovering during an incident that the only person who knew how to rotate a key has left the company is an avoidable complication.
In our personal lives, weak or reused passwords and accounts without multifactor authentication create similar risks. Attackers can guess weak passwords or use credentials leaked in another breach to log in. Stronger database encryption does not prevent those attacks.
3. Inventory your cryptographic real estate
In 2015, the PCI Security Standards Council gave the payment industry until June 2016 to move away from SSL and early TLS. After industry feedback, it extended the deadline to June 2018, with exceptions for some payment terminals. Before merchants could replace those protocols, they had to find where they were running.
The post-quantum migration replaces the public-key algorithms inside most of the protocols Johnny uses, and he cannot plan it from a list that says “we use encryption.” He needs to identify the cryptography in the website, payment terminals, remote-access systems, backups, internal services, and software updates. For each use, he should record the algorithm, its purpose, the system owner, the supplier, and the path to an upgrade.
The upgrade paths decide how long the work will take. Some upgrades will arrive through routine software updates. Others depend on when a supplier can provide new hardware or when a payment processor is ready to make the change. Johnny should ask suppliers what they support, what they plan to support, and what he will need to test, so he can account for those dependencies in his own plan.
The inventory should also record how long information needs to remain confidential. That connects the migration to the harm a future compromise could cause and gives him a basis for deciding where to begin.
4. Think through a sober threat model
Johnny should change the oil in the car he owns before buying insurance for the flying car he might own someday. A threat model helps him set his priorities by asking who would attack, what they would want, and how they would get it.
A weakness that concerns the NSA, which protects secrets against other states with large computing budgets, may have different implications for a retail chain facing criminals looking for a quick profit. Announcements about broken cryptography rarely explain who could exploit the weakness or what resources they would need. Without that context, Johnny has to work out whether the warning applies to his systems. If it sends his team into an emergency migration while patches and access reviews get postponed, the warning may leave the business less secure.
This recalls the usability problem Whitten and Tygar described in 1999 in Why Johnny Can’t Encrypt: most participants struggled to use PGP correctly despite its sound cryptography. A technically sound announcement can likewise leave Johnny unsure what to do.
For a retail chain, the threat model starts with the criminals it meets every week. They want card data to sell, refunds they can collect, and checkout systems they can hold for ransom, and they get there by phishing a store manager, logging in with a stolen password, or exploiting a server that missed an update. Each of those attacks reaches the data after it has been decrypted, so the strength of the algorithm never comes into play.
"Security" by Randall Munroe, xkcd, CC BY-NC 2.5.
Other attackers can afford to be patient: they record encrypted traffic and wait for a way to read it later. In older TLS connections using RSA key exchange, the browser encrypted the session’s secret with the server’s long-term public key. Anyone who later stole the corresponding private key could recover that secret from the recording and decrypt the conversation.
An ephemeral elliptic-curve exchange gives each conversation a fresh secret without sending it across the network. The browser and server exchange public values that let them calculate the same secret, then discard the temporary secrets after use. The server’s long-term key signs the exchange to prove its identity. Stealing that signing key later does not reveal the secrets used in past conversations. This protection is called forward secrecy.
A sufficiently capable quantum computer could still work out a conversation’s secret from the public values in its recorded exchange. It would have to repeat that work for each session, but forward secrecy alone would not protect the recordings. That is why NIST advises prioritizing data that must remain confidential for a long time.
The fix for recorded traffic is a hybrid exchange that adds a post-quantum algorithm to the elliptic-curve one, which major browsers and providers have deployed, as I described in Eve’s Revenge. Johnny should check that his website and remote-access systems negotiate it, and use the confidentiality periods in his inventory to decide which systems follow. The rest of the migration, including signatures for devices that will remain in service for years, belongs on the calendar with a budget and an owner.
5. Judge claims by their evidence
When Anthropic published its lattice research, the NCSC examined the result, judged the proposed attack impractical, and confirmed that its migration advice remained unchanged. Johnny could use that assessment to continue his work without rebuilding his plans around every headline.
He should expect that clarity from anyone asking him to change course. What was demonstrated? Which systems are affected? What should he do differently? A vendor proposing an urgent purchase should explain how it addresses his exposure. A public figure declaring that encryption is broken should provide evidence people can examine.
Public figures who present unverified claims as settled facts are being irresponsible, and vendors who turn the uncertainty into a sales opportunity make Johnny’s decisions harder. His time and budget are limited, and work postponed because of a frightening claim has a cost too.
Dismissing every standards body as incompetent or compromised gives Johnny little help either. The person making that argument over drinks usually trusts the brewers and inspectors behind the beer in their hand. Cryptographic standards also depend on review and correction, and the people doing that work need our support.
Johnny cannot personally verify every mathematical result or audit every implementation his business depends on. He needs the collective work of researchers, standards bodies, and engineers who examine findings and turn them into guidance and software updates. Trusting and supporting that work includes expecting explanations and corrections when the evidence changes.
He can follow their guidance while fixing known vulnerabilities, protecting his keys, inventorying his cryptography, and understanding his threats. That work prepares him for post-quantum cryptography and improves the security of the business he runs now.
The sun will burn out eventually, and in the meantime I wear sunscreen.
