Why Move to Post-Quantum Cryptography If AI Is the Threat? Build Crypto-Agility as You Migrate
Table of Contents
On December 2, the National Security Agency (NSA) advised the owners, operators and vendors of US national security systems to immediately accelerate their transition to post-quantum cryptography. The NSA gave a new reason. AI companies, which the US agencies call frontier “SI” (super intelligence) companies, had disclosed to the US government discoveries that affect the security of some cryptographic systems in use today. Mozilla, which was not told what the discoveries are, understands them as an advance in classical cryptanalysis. Classical here means that an attack based on it would need no quantum computer. Such an attack could still be expensive. Google and Microsoft plan to stop trusting certificate chains with P-256 certificate authority (CA) keys in Chrome and Edge from March 15, 2027.
Since the advisory, people keep asking me the same question. If the new attack needs no quantum computer, why move to algorithms designed against quantum computers?
Post-quantum algorithms are designed to resist classical computers as well. The White House defined post-quantum cryptography that way in Executive Order 14412, which it signed in June to set US federal deadlines for the transition. The algorithms are also based on different mathematics from RSA and elliptic curves, so the destination is still the right one. I tell organizations to put crypto-agility first and build it into the migration from the start, with the post-quantum migration as its first test.
An organization that can replace an algorithm on a planned date, through a process it has rehearsed, can respond to a classical attack on elliptic curves now and to a weakness in a post-quantum algorithm later. An organization that planned a single migration has to start a new project every time cryptographers change their assessment of an algorithm.
Governments and regulators have endorsed crypto-agility since at least 2022. But the deadlines, inventories and reports they attached to the transition are all about migration to post-quantum algorithms. So are the US documents published this week. The NSA didn’t use the word agility anywhere in its advisory and used it once in its press release. I think keeping the familiar vocabulary was the right call, because organizations with post-quantum work under way can act on the advisory quickly. Anyone who wants to do the work properly should also build crypto-agility now, inside the post-quantum program they already have.
The December 2 Advisory and the Browser Response
The NSA released a cybersecurity advisory, Immediate Actions to Push Toward Post-Quantum, with its press release. I went through the advisory on December 3. The NSA lists six actions:
- Inventory where cryptography is currently used.
- Move TLS services to TLS 1.3 with approved crypto profiles.
- Stand up PQC certificate authorities and roots of trust.
- Replace or reconfigure certificates, PKI and code signing.
- Update and upgrade software and firmware to enable PQC.
- Triage non-upgradable systems and add live detection for residual weak cryptography.
In an appendix, the NSA lists the algorithms of the Commercial National Security Algorithm Suite 2.0 (CNSA 2.0), its suite for national security systems: ML-KEM-1024 (formerly CRYSTALS-Kyber) for key establishment, ML-DSA-87 (formerly CRYSTALS-Dilithium) for signatures, and LMS or XMSS for firmware and software signing. Where post-quantum options aren’t available, it tells operators to use the strongest approved classical options and to verify RSA-3072 or P-384 as the base key size for roots. In the inventory step, it asks them to flag DSA, EdDSA and elliptic curves other than P-384 and P-521.
In a joint statement the same day, the White House Office of the National Cyber Director (ONCD), the NSA and the Cybersecurity and Infrastructure Security Agency (CISA) said American SI companies had disclosed the discoveries. The agencies said the recent SI advances “do not present an immediate and widespread threat” to the affected cryptography, without naming an algorithm.
On December 3, NIST said it remains confident in its post-quantum standards and urged organizations to aggressively accelerate their planned transition. NIST will also publish a revised, more aggressive deprecation timeline, but it gave no dates.
Dennis Jackson and John Schanck wrote for Mozilla on December 3 that the discoveries had not been disclosed to Mozilla, which understood them as “a substantial advance in classical cryptanalysis” of at least one widely deployed public-key cryptosystem. Mozilla will keep X25519MLKEM768, a hybrid key exchange that combines X25519 key agreement with ML-KEM-768, as Firefox’s first preference.
Google announced the same day that Chrome intends to stop trusting certificate chains in which a CA has an ECDSA P-256 key, from March 15, 2027. Microsoft set the same date for Edge on December 4. Both recommend that sites enable X25519MLKEM768. Google also encourages operators to move their own server keys away from P-256 and to use replacement CAs that are ideally compliant with CNSA 1.0, the NSA’s classical suite, which uses P-384 and RSA keys of at least 3,072 bits.
The agencies and the companies haven’t released the underlying results or named the affected algorithm. Google didn’t say why it chose P-256. In a separate piece, I report what I’m hearing about a possible P-256 break. In my 30-day incident playbook, I set out what to do if a break of P-256 is confirmed.
Why the Replacement Is Still Post-Quantum Cryptography
RSA depends on the difficulty of factoring large numbers. Elliptic-curve cryptography, finite-field Diffie-Hellman and DSA depend on the difficulty of computing discrete logarithms. A large fault-tolerant quantum computer running Shor’s algorithm would solve both problems. Classical algorithms also solve factoring and finite-field discrete logarithms in subexponential time, which is why RSA and Diffie-Hellman keys are so long. Cryptographers adopted elliptic curves largely because nobody had found such an attack against well-chosen curves, so they could use short keys.
Since late October, researchers have posted three preprints with asymptotically faster methods for elliptic-curve discrete logarithms. The authors haven’t demonstrated an advantage at the key sizes in use.
ML-KEM and ML-DSA are based on problems in structured high-dimensional lattices, such as finding a short vector in a vast grid of points. SLH-DSA (formerly SPHINCS+) and the stateful LMS and XMSS schemes are based only on hash functions. An attacker who can compute elliptic-curve discrete logarithms would not, with that ability alone, be able to break schemes based on lattices or hash functions.
In a correctly implemented hybrid key exchange such as X25519MLKEM768, the shared secret stays protected as long as one of the two components remains unbroken. Hybrid key exchange protects the confidentiality of the session. It gives no protection to authentication: an attacker who can forge a CA’s signature can still impersonate a site over a hybrid connection. The P-256 change in Chrome and Edge applies to authentication, because it covers the CA keys that sign certificates.
In its advisory, the NSA accepts larger classical keys as an interim step for systems that can’t be migrated yet. Organizations gain time from larger keys only if the undisclosed method doesn’t work at those sizes. The US agencies and the AI companies haven’t said publicly whether it does.
In its final transition plan of October 2026, NIST deprecates every quantum-vulnerable signature and key-establishment algorithm after 2030, P-384 and RSA-3072 included, and disallows them after 2035. NIST has also said it will publish a more aggressive timeline. An organization that moves to larger classical keys now will have to move again.
Recorded traffic that was protected only by classical key exchange can be decrypted later by whoever breaks that key exchange, the risk known as harvest now, decrypt later. Post-quantum or hybrid key exchange protects new sessions from the day it is deployed. It can’t protect traffic that has already been recorded.
New Findings on Post-Quantum Schemes Since July
On July 28, Anthropic reported that its Claude Mythos Preview model, working semi-autonomously with occasional human guidance, had found an attack on HAWK, a lattice-based candidate in NIST’s additional signature process. The attack roughly halves the lattice-reduction block size needed to recover an equivalent private key. The HAWK team withdrew the scheme the next day. Anthropic said the result is specific to HAWK and doesn’t affect lattice-based cryptography in general.
On November 30, Anthropic published four papers on lattice problems whose results, it says, an internal research Claude model discovered. The lead paper contains a quantum algorithm for some of the module-lattice problems behind ML-KEM and ML-DSA. Its speedup grows with the degree of each structured component. The designers of ML-KEM and ML-DSA fixed that degree at 256 and raise security by increasing the module rank instead. Anthropic says the algorithms are not practical for the parameter sets of ML-KEM and ML-DSA. An attacker would need a quantum computer to use this result, unlike the undisclosed findings, which Mozilla understands as classical.
The Cryptography Incident Review Group (CIRG), a newly formed panel of experts, assessed the attack as requiring vastly more computation than the best earlier attacks. CIRG expects the attack to be improved. It recommends continuing the transition to post-quantum cryptography and using hybrids that combine schemes with different mathematical foundations. It also recommends “designing agile systems so that individual schemes can be replaced quickly.”
On October 1, Germany’s federal cybersecurity agency, BSI, advised against Classic McEliece, a code-based scheme, in new developments, after researchers published key-recovery cost estimates below its claimed security levels. BSI said no practical attack is possible against the parameter sets it recommends.
ML-KEM and ML-DSA are the right destination today, and NIST says it remains confident in its post-quantum standards. NIST also selected HQC in March 2025 as a backup to ML-KEM, because HQC is based on different mathematics. Nobody can promise that today’s choices will be the last.
Researchers published the first theoretical collision attack on full SHA-1 in 2005. Mozilla announced its phase-out of SHA-1 certificates in 2015 and completed it on February 24, 2017, a day after researchers from CWI Amsterdam and Google announced the first practical collision. An organization that moves to post-quantum algorithms at that pace, system by system and with no rehearsed way to change them again, will need another multi-year project when the next weakness is found.
Crypto-Agility in Migration Guidance Since 2022
The White House took a major step on US federal migration policy with National Security Memorandum 10 (NSM-10) in May 2022. In Section 3, it said an emphasis on cryptographic agility would be central to the migration, both to shorten the transition and to allow updates to future standards. In Section 5, it defined agility as “a design feature that enables future updates to cryptographic algorithms and standards” without having to modify or replace the surrounding infrastructure.
The requirements the White House set in NSM-10 are about moving to quantum-resistant cryptography: annual inventories of vulnerable systems, a NIST timeline for deprecating quantum-vulnerable cryptography, agency migration plans and yearly status reports. Under none of them does an agency have to show that it can change an algorithm.
The first deadlines and budgets came in documents about the migration itself:
- In its memorandum M-23-02 of November 2022, the Office of Management and Budget (OMB) required federal agencies to submit inventories of quantum-vulnerable systems by May 4, 2023 and every year until 2035, with funding assessments.
- The NSA announced CNSA 2.0 in September 2022, with the algorithms national security systems must use and the years by which they must use them exclusively.
- In their fact sheet Quantum-Readiness: Migration to Post-Quantum Cryptography of August 2023, CISA, the NSA and NIST asked organizations for a roadmap, a cryptographic inventory, a supply-chain assessment and engagement with technology vendors.
- In its draft transition plan of November 2024, NIST proposed deprecating quantum-vulnerable algorithms at the 112-bit security level, such as RSA-2048, after 2030 and disallowing all of them after 2035.
- The UK National Cyber Security Centre (NCSC) set milestones for 2028, 2031 and 2035 in its migration timelines of March 2025. The NCSC also told organizations to seek solutions that offer cryptographic agility and gave practical advice on rollback plans, coexistence with traditional algorithms and checks on which algorithms are actually negotiated.
Regulators and agencies have made agility explicit in other instruments, with different legal force. Under the EU’s technical standard for ICT risk management, issued under the Digital Operational Resilience Act (DORA), the encryption policies of EU financial entities must provide for updating or changing cryptographic technology as cryptanalysis develops. In CSWP 39, its white paper on crypto agility of December 2025, updated in June 2026, NIST suggests tracking indicators such as the time, cost and ease of a migration. In M-26-15 of June 2026, OMB requires federal agencies’ migration plans to include a plan for a cryptographically agile architecture. The memo doesn’t cover national security systems. Switzerland’s financial supervisor, FINMA, recommends making crypto-agility a requirement for new ICT systems and a prerequisite for new outsourcing in the software and data sectors.
On December 3, the day after the NSA advisory, the NCSC published a post in which it said that “all organisations that use cryptography should consider cryptographic agility in their PQC planning.” I compared most of these instruments in October. In none of these documents does a regulator or agency say how quickly an organization must be able to replace an algorithm.
In the same October piece, I wrote that most organizations running post-quantum programs can report the share of systems migrated, while few can say how long their last algorithm change took. The Hong Kong Monetary Authority (HKMA) reported a related finding in its July whitepaper on its banks’ quantum preparedness: 71% of survey respondents had never conducted or planned proof-of-concept or live testing of post-quantum algorithms or crypto-agility solutions.
Why the NSA Said “Post-Quantum” Again
The NSA used the words organizations already budget for. I read that as a choice for speed, and in a week like this one I think it was the right call.
Many organizations already have post-quantum work under way. In DigiCert’s 2026 survey of 1,001 IT and security decision-makers in the US, UK and Australia, 87% said their organizations were planning, testing or implementing post-quantum initiatives, though only 7% had deployed quantum-safe or hybrid cryptography across most of their digital certificates.
US federal agencies have had to submit cryptographic inventories every year since 2023. In Executive Order 14412, the White House set deadlines of December 31, 2030 for post-quantum key establishment on federal high-value assets and high-impact systems, and December 31, 2031 for post-quantum signatures. The NSA placed its six actions in line with that order. They match the opening phases of a migration program, compressed into weeks. An organization with a program under way can speed up work it has already planned, instead of starting something new.
I think organizations would have moved more slowly with a new term. The US government describes crypto-agility differently from one document to the next. In NSM-10 it is a design feature. In CSWP 39, NIST describes “the capabilities needed to replace and adapt cryptographic algorithms” across protocols, applications, software, hardware, firmware and infrastructure. In its press release, the NSA asks for systems with “cryptographic agility, including sufficient processing power, memory, and capacity for future algorithm updates.” My guess is that if the NSA had organized its advisory around the term, organizations would have debated definitions before anyone changed a configuration.
Whatever the companies disclosed, the replacement for an affected public-key algorithm is a post-quantum one, and NIST disallows the old algorithms after 2035 in any case. The NSA said nothing about how organizations will make the change after this one.
Building Crypto-Agility During the Migration
In my PQC Migration Framework, I make crypto-agility the first priority and have organizations build it in parallel with the migration. Meeting dated obligations is the goal, and crypto-agility is how an organization meets them. The post-quantum migration is the first change made with the new capability. Some systems run post-quantum algorithms that nobody can change by configuration with a rehearsed rollback. In the framework, those systems count as migrated with agility debt. The organization’s migration program can’t be closed while unaccepted agility debt remains. Quantum Academy teaches the same order, including in its course on cryptographic agility design and implementation.
What to Start Now
- Make the algorithm a field in the inventory. Record the algorithm, key size, owner, issuing chain and replacement path for every certificate, key and protocol configuration, so a question such as “where do we use P-256?” takes hours to answer instead of weeks. For banks and payment companies, I mapped where elliptic-curve keys are and who can replace them.
- Keep cryptographic choices out of application code. Use maintained libraries and provider interfaces whose algorithms are set by configuration, where the product supports it. Where it doesn’t, record what a change would need: a software release, a firmware update or new hardware.
- Automate certificates and test a second issuance path. An organization needs automated issuance and renewal, a tested alternative chain and no pins that can’t be updated. Under the CA/Browser Forum’s Ballot SC-081v3, public TLS certificates issued from March 15, 2027 can be valid for at most 100 days. Those issued from March 15, 2029 can be valid for at most 47 days, so the automation is needed anyway.
- Enable hybrid key exchange where both ends support it. X25519MLKEM768 is the practical choice for most public-facing TLS. Operators of national security systems should follow the CNSA 2.0 profile that applies to them. Then check that connections actually negotiate the hybrid.
- Write replaceability into contracts. Ask each vendor which algorithms each interface uses and whether a change means a configuration setting, a software release or new hardware. Ask how long a change takes and how quickly the vendor will report a credible break. Ask for evidence of a change the vendor has already made.
- Rehearse one change and time it. Replace an algorithm end to end on a representative system, then roll the new algorithm out under normal change control. Time the identification, the decision, the deployment and the verification separately, and make sure your fallback configuration doesn’t use an algorithm that has been broken. Then shorten the slowest step.
- Contain what can’t change. Devices with fixed cryptography need segmentation, gateways or replacement dates. A gateway protects the traffic but can’t change a device’s firmware-verification key. In its press release, the NSA warns that firmware signatures and hardware roots of trust are hard to update after purchase, so new equipment should arrive with post-quantum options.
The P-256 CA Deadline as a First Test of Agility
Chrome’s and Edge’s date of March 15, 2027 is 100 days away as I write. An organization that has never practiced replacing an algorithm can treat the P-256 deadline as its first exercise. The P-256 change is from one classical algorithm to another, and a migration plan scoped only to post-quantum algorithms may have no line item for it.
Organizations need to check whether any CA in each public chain has a P-256 key, which is what the March 15 date applies to. They also need to check whether the site’s own server key is P-256, which Google separately encourages operators to change. An organization with automated issuance, no pinned intermediates and an inventory with the key type of each issuing CA can move its public sites to a new chain in days. One without them will spend part of the 100 days finding P-256 CA keys in certificate chains, pinned configurations and appliances.
The Next Algorithm Change
The US agencies and the AI companies haven’t said publicly which algorithms the discoveries affect. When details come out, every organization that uses an affected algorithm will face another replacement decision. For the case where the agencies give six months’ notice, I wrote one playbook for banks and one for operators of critical infrastructure. If researchers later find a weakness in ML-KEM or ML-DSA, organizations will have to decide whether to replace them too. An organization that builds crypto-agility during the post-quantum migration will have known owners, a tested replacement path and a measured time to change when it faces those decisions. Some of the changes will be made by configuration, and others will need engineering work whose dependencies are already known. Move to post-quantum cryptography now, and build the ability to move again while you do it.