Cryptography Should Be Boring
Unmitigated Risk · November 2026

Cryptography Should Be Boring

AI is giving us new ways to challenge the assumptions behind cryptography. We should welcome that progress and get much better at managing the systems that depend on it.

DISCOVERY AND REMOVAL ON ONE AXISSIKE lost its standing in 25 days. SHA-1 signatures stayed in the WebPKI for 21 years after the first break.19952000200520102015202020252030SHA-1removal1995 published2005 broken on paper2017 real collision2030 NIST transition target2002 SHA-2 published2026 last WebPKI signatures21 years to removeSIKEdiscovery1997 Kani’s theorem publishedthe mathematics the attack needed2011 SIDH proposed11 years of study25 daysround 4 on July 5, 2022key recovery on July 30
Confidence in a construction can collapse in weeks. Removing a dependency on one takes decades.
Part I

Discovery Is Speeding Up

1The Question

A few years ago, we were amused by how much difficulty AI had with basic arithmetic. Today, we’re seeing it contribute to mathematical research, including the mathematics underlying modern cryptography. What an exciting time to be alive.

Anthropic’s new research into lattice-based cryptography, assessed by the independent Cryptography Incident Review Group (CIRG), is a wonderful example of what this makes possible.[16][1] It includes a new quantum algorithm against structured lattice problems related to the ones under ML-KEM and ML-DSA. AI can help more researchers explore ideas, make connections across areas of mathematics and test assumptions that have received years of scrutiny. Discovery is getting faster.

Two events from the recent history of cryptography show why this matters to those of us who operate systems.

On July 5, 2022, SIKE advanced to the fourth round of NIST’s post-quantum standardization process. Twenty-five days later, Wouter Castryck and Thomas Decru published a key recovery attack that broke the lowest SIKE parameter set in about an hour on a single classical core and ended its candidacy.[3] The scheme underneath SIKE had been studied since 2011. A central piece of the mathematics in the attack was a theorem Ernst Kani published in 1997.

SHA-1 ran the other way. SHA-2 was published in 2002. Researchers broke SHA-1’s collision resistance on paper in 2005, and NIST told agencies to move the following year. The first real collision arrived in 2017.[5] The last SHA-1 signatures permitted in the WebPKI were retired in September 2026,[17] and NIST plans to complete its transition away from SHA-1 for applying cryptographic protection by the end of 2030.[4]

Those two timelines illustrate a problem. Our confidence in a cryptographic construction can collapse almost overnight, while removing a dependency can take decades, even with a replacement available and years of warning.

Most of the conversation since has been about whether AI will break cryptography and whether post-quantum migrations should pause. Two recent a16z discussions, Can AI Break Cryptography? What the Experts Actually Think and If AI Can Do the Math, What Do the Mathematicians Do?, explore what this might mean for cryptography and mathematics more broadly. Both are worth your time.

I’m not a cryptographer, nor do I play one on TV, but I’ve spent the last thirty years building and operating systems that depend on cryptography. I find myself asking a somewhat different question.

Why have we built systems in which learning something new about mathematics creates an operational crisis?

We have been replacing algorithms for decades, and we have always known their assumptions can fail. Most organizations still manage cryptography the way they did in the 1990s. AI raises the price of leaving that problem unsolved.

The science of cryptography should be exciting. The operation of cryptography should be boring, and the only way to make it boring is to make it routine.

2What the Lattice Result Changes

Anthropic’s findings are a research breakthrough. Nothing in them calls for an emergency response. My reading of the mathematics follows CIRG’s assessment.[1]

A lattice is a repeating set of points formed by taking whole-number combinations of a few basis vectors. In two dimensions it looks like a skewed grid. The lattices used in cryptography live in hundreds of dimensions, where problems such as finding unusually short vectors or recovering a lattice point from a noisy nearby sample can be computationally hard. Module lattices add algebraic structure to that geometry.

From a two-dimensional lattice to a cryptographic lattice problemThe left panel shows a skewed grid of points generated by whole-number combinations of two basis vectors. The right panel shows a target displaced by noise from a nearby lattice point and explains that cryptographic lattices use hundreds of dimensions.WHAT A LATTICE MEANSA simple picture of the geometry behind lattice problems. 1. Start with two basis vectorsWhole-number combinations generate every point. b₁b₂2b₁ + b₂Every dot is m·b₁ + n·b₂ for whole numbers m and n. 2. Add dimension, structure and noiseThe picture disappears, but the hard geometry remains. noisy targetnearby lattice pointReal schemes: hundreds of dimensions
In two dimensions the pattern is visible. Cryptographic lattices use related problems in much higher dimensions; module lattices add algebraic structure. This is the basic geometry, not a diagram of ML-KEM’s full construction.

The headline result is a quantum algorithm that attacks certain module-lattice problems, including variants of Ring-LWE and Module-LWE.[1] There is a difference between how hard a problem is today and how quickly it gets harder as we scale it up. That’s what mathematicians mean by asymptotic complexity. The new algorithm changes how we understand that growth as the degree of the underlying ring increases. ML-KEM and ML-DSA hold that degree fixed at 256 and reach higher security levels by raising the module rank, a direction the speedup does not follow. For the parameter sets deployed today, CIRG puts the cost of the new attack far above attacks that were already out of practical reach.

The same research strengthened the theoretical foundations of cryptography built on unstructured lattices. One body of work told us something uncomfortable about one family of assumptions and gave us better reasons to trust another. Both are good outcomes. I would much rather know that something I depend on is weak than keep operating on a mistaken belief.

While these standards are relatively new, the mathematics on which they depend has a long history. NTRU was presented in 1996 and published in 1998. Oded Regev introduced Learning With Errors in 2005, and its module-based variant underlies ML-KEM and is one of the assumptions behind ML-DSA, both standardized in 2024.[18] The depth of scrutiny varies across problems, constructions and parameter sets, but researchers have been investigating these ideas for decades. That an AI-assisted effort found a new line of attack is what makes this result so interesting.

Three different events get called a break, and each calls for a different response.

THREE EVENTS THAT ALL GET CALLED A BREAKEach rung calls for a different response.1New result about the problemwe learn how its difficulty scalesLattice research related to ML-KEMand ML-DSA, 20262Less margin than believeda construction loses securitySHA-1 collision resistance, 20053Practical attackit is computationally feasibleSHA-1 collision, 2017SIKE key recovery, 2022SIKE went from 1 to 3 in one paper
A new result, a reduced margin and a practical attack are separate events.

For the standards we deploy, the lattice result sits on the first rung. SHA-1 reached the second rung in 2005 and the third in 2017. SIKE went from the first to the third in a single paper. CIRG expects the lattice attack to improve, and whether those improvements change the security of deployed standards is an open research question.

These findings do not establish a new practical attack against the cryptography protecting your banking transactions, Signal messages or critical infrastructure. CIRG recommends continuing the post-quantum transition and using the highest security level of ML-KEM and ML-DSA that an application supports.[1] RSA, elliptic curves, AES and hash functions rest on different problems, and a lattice result leaves them where they were. Cryptography is many mathematical problems.

These different kinds of cryptography do depend on one another, though. I’d be comfortable betting my retirement against a practical break of full-round AES, but we frequently use public-key cryptography to establish the symmetric keys used to protect our communications. An attacker who breaks that key establishment may recover the keys without attacking AES itself. A broken signature algorithm can threaten software updates and service authentication, and failures in authentication can also have consequences for confidentiality.

Timing matters as well. Some of what we encrypt today has to stay confidential for decades, and an adversary could record it now in the hope of decrypting it later. Confidence in key establishment therefore matters before any attack exists. Learning about lattices now, before a capable quantum computer, is the favorable order of events. It is better to adjust a post-quantum roadmap today than to find the problem with the adversary already holding the machine.

3Every Layer Is an Assumption

Science is sometimes spoken about as though it were a collection of facts, but an important part of the scientific method is challenging our understanding of the world and revising it as we learn more. Mathematics gives us a way to establish truths through proof, but it also has plenty of questions for which we have conjectures rather than proofs.

Much of public-key cryptography lives in that world. A security proof may establish that breaking a construction would allow us to solve an underlying mathematical problem, without proving that the problem itself is as difficult as we believe. That assessment reflects what we know about mathematics, algorithms and computing at a particular point in time.

Over the last thirty years we’ve gotten considerably better at designing cryptography. We understand more about the classes of attacks we need to consider, and have better mathematical tools and formal methods to evaluate constructions and implementations. That gives us good reasons for greater confidence in many modern algorithms, but the value of a proof still depends on what was modeled and the assumptions on which it rests.

The mathematics is only the first assumption. Using cryptography also assumes the algorithm was designed correctly, the implementation does what the design says, the keys were generated properly, the keys stay protected, and the environment matches the threat model. Each of those assumptions can fail, as the following examples illustrate.

SIX ASSUMPTIONS, SIX WAYS TO FAILExamples of failures at each layer, from mathematics to deployment.The mathematics is hardSIKE, 2022a 25-year-old theorem applied to isogeniesThe algorithm is designed correctlyMD5 and SHA-1collision resistance fell to cryptanalysisThe implementation matches the designHeartbleed, 2014 and EUCLEAK, 2024a missing bounds check, a side channel in ECDSAThe keys were generated properlyROCA, 2017RSA keys far weaker than their sizeThe keys stay protectedPKfail, 2024a leaked test key shipped as a Secure Boot platform keyThe environment matches the threat modelCertificate validation, 2012TLS inside applications that skipped validation
Many practical compromises originate in implementation, key handling or deployment.

I think about SIKE quite a bit in this context. An important piece of the mathematics behind the attack had been in the literature for 25 years before researchers recognized how to apply it. How many other results are sitting in adjacent fields, waiting for the same recognition? That search has always been limited by the number of people with the expertise and the hours they could spend. AI changes those economics. It can search decades of literature, connect disciplines, form conjectures, develop proofs and run experiments on lines of inquiry nobody had time for. In July, Anthropic described improved attacks on HAWK, a candidate post-quantum signature scheme, and on a reduced-round variant of AES, found this way.[2] Neither touched cryptography in production. Both show AI relaxing the constraint that has always limited this research, the availability of human attention.

The lower layers fail more often. Heartbleed in 2014 was a missing bounds check in OpenSSL. RSA and AES were untouched, and attackers could still potentially read private keys out of server memory. For many organizations, working out what had been exposed and replacing keys and credentials was a far larger job than applying the patch.

Lower still, the failures are in hardware and firmware. ROCA in 2017 was a flaw in RSA key generation in a library used in Infineon TPMs and secure elements, and it produced keys far weaker than their size implied.[11] EUCLEAK in 2024 was a side channel in the ECDSA code of Infineon’s library, affecting certain YubiKeys and YubiHSMs.[12] PKfail in 2024 was hundreds of products shipping Secure Boot with a test platform key whose private half had been exposed.[10] The algorithms in all three were sound. The failures sat several layers beneath the applications that trusted them, in places that are hard to find and harder to update.

AI helps here also. In 2012, Georgiev and his coauthors showed in The Most Dangerous Code in the World that certificate validation was broken across widely used non-browser software, and variations of those bugs still turn up.[8] That survey was done by hand. In Discovering Cryptographic Weaknesses with Claude, Anthropic reported vulnerabilities Claude found in OpenSSL and wolfSSL that came from incorrect implementation of sound algorithms.[2] If we can find more of these problems before they are exploited, that is another reason to be excited about this work.

Every one of these failures hands the operator the same questions. Which devices use the component? Which credentials did it generate? Which systems trust those credentials? Can the keys be replaced, or do the devices have to be? For most organizations, answering takes a considerable amount of work.

This is why cryptographic agility as a property of a library or an API falls short. Selecting a different algorithm in code is useful. Changing the cryptography a deployed system depends on is the capability that counts, and it has to work for all six layers.

4More Algorithms, More Change

For much of the last two decades, RSA and elliptic-curve cryptography served most of our public-key needs. The post-quantum transition ends that. The replacements trade key size, signature size, signing cost, verification cost and memory against each other in different ways, and no single one fits everywhere.[13]

PUBLIC KEY PLUS SIGNATURE, IN BYTESLowest parameter set of each scheme, drawn to one scale.public keysignatureEd2551932 + 64Falcon-512897 + 666ML-DSA-441,312 + 2,420SLH-DSA-128s32 + 7,856SLH-DSA-128f32 + 17,088
The largest of these signatures is 267 times the size of an Ed25519 signature.

Some schemes sign quickly and verify slowly. Some need more memory than a small device has. Some suit software signing, where signing is rare and verification happens millions of times. We are in a Cambrian explosion of cryptographic algorithms. They rest on different mathematical assumptions held with different degrees of confidence, and we have far less operational experience with them than with what they replace.

CIRG recommends standardizing more public-key systems on diverse foundations, even at some cost in efficiency.[1] I agree. The operational consequence is that an organization that relied on RSA or elliptic curves for most applications will find itself running a dozen algorithms, each chosen for an application, each with its own dependencies, and each a decision to revisit as we learn more. That diversity alone means more frequent cryptographic change. AI adds to it.

Hybrid key establishment is how we manage the uncertainty today. A correctly designed combination of X25519 and ML-KEM can preserve the confidentiality of recorded traffic as long as at least one component remains secure against the relevant adversary. The table assumes the key establishment and combiner are correctly implemented, authentication is not compromised, and any additional post-quantum component remains secure.

How hybrid key establishment combines two independent secretsA classical X25519 secret and a post-quantum ML-KEM secret enter a combiner that produces one session key. If either input remains secret, the combined key remains protected. If both fail, the combined protection fails.WHY COMBINE TWO KEY-ESTABLISHMENT METHODS?Two independent secrets become one session key.X25519classical secretML-KEMpost-quantum secretCombinermixes both inputsSession keyprotects the connectionOne input holds → protection holdsBoth inputs fail → protection fails
A correctly designed hybrid preserves the session as long as at least one component remains secure against the relevant adversary.
What breaksX25519 aloneML-KEM aloneX25519 + ML-KEMHybrid plus a second post-quantum assumption
A classical attack on ML-KEMHoldsBrokenHoldsHolds
A quantum computer capable of breaking X25519 using Shor’s algorithmBrokenHoldsHoldsHolds
A quantum attack on both X25519 and ML-KEMBrokenBrokenBrokenHolds

The third row is the case for diversifying across quantum-resistant assumptions. The protection also has to be in place when the data is sent, because nothing re-encrypts traffic an adversary has already recorded. A hybrid still contains components that must be replaced when they break, and key establishment is one piece of the migration. Signatures, credentials and trust anchors each need a strategy of their own.

Part II

Removal Is Slow

5The Lesson of SHA-1

Over my career we have retired RC2 and RC4. We moved from DES to Triple DES to AES, from MD2, MD4 and MD5 to SHA-1 and then SHA-2, and in many applications from RSA to elliptic curves. Some of those moves were forced by weaknesses. Others came from faster computers, performance needs or a better understanding of design. Replacing algorithms is old work, and SHA-1 shows how slowly we do it.

The SHA-1 to SHA-2 transition, 1995 to 2026 Timeline in four lanes showing SHA-1 cryptanalysis, standards, platform support for SHA-2, and WebPKI policy, from the publication of SHA-1 in 1995 to the last SHA-1 signature sunset in 2026. The SHA-1 to SHA-2 transition took 21 years after the first break SHA-2 existed three years before SHA-1 was broken on paper. The last SHA-1 signatures permitted in the WebPKI were retired in September 2026. 1995 2000 2005 2010 2015 2020 2025 SHA-2 published to issuance ban, 13 years Paper break to real collision, 12 years Paper break to last SHA-1 signature sunset, 21 years Deployment gate, 2008 to 2014 Pre-SP3 Windows XP clients, HSMs and CA software keep CAs on SHA-1 until XP support ends Legacy tail SHA-1 survives in OCSP responses, CRLs and old sub CA certificates Cryptanalysis what was known about SHA-1 Standards NIST and IETF Platform support SHA-2 certificate validation ships WebPKI policy CA/Browser Forum and browsers Aug 2004 MD5 and SHA-0 collisions shown at CRYPTO Feb 2005 Wang, Yin and Yu break SHA-1 on paper, 2^69 work, then 2^63 Oct 2015 Freestart collision (The SHAppening) Feb 2017 SHAttered, the first real SHA-1 collision Jan 2020 SHA-1 is a Shambles, chosen-prefix collision Apr 1995 SHA-1 published (FIPS 180-1) Aug 2002 SHA-2 published (FIPS 180-2, draft 2001) Jun 2005 RFC 4055, SHA-2 RSA signatures in X.509 Mar 2006 NIST tells agencies to leave SHA-1 by 2010 Aug 2008 TLS 1.2 (RFC 5246) adds SHA-256 to the protocol Jan 2011 NIST SP 800-131A deprecates SHA-1, disallowed for signatures after 2013 Dec 2022 NIST sets full SHA-1 retirement for end of 2030 2003 NSS 3.8 (Mozilla) and Java 1.4.2 Jul 2005 OpenSSL 0.9.8 (Linux) Jan 2007 Windows Vista Oct 2007 Mac OS X 10.5 May 2008 Windows XP SP3 Jul 2012 Baseline Requirements take effect, SHA-1 allowed until SHA-256 is widely supported Nov 2013 Microsoft sets SHA-1 end dates Sep to Oct 2014 Chrome sunset plan, CA/B Forum Ballot 118 passes 1 Jan 2016 No new SHA-1 certificates Jan to May 2017 Chrome 56, Firefox 51, Safari, Edge and IE reject SHA-1 2022 Ballot SC-053 ends SHA-1 signing by delegated OCSP responders 15 Sep 2026 Ballot SC-097, no SHA-1 CRLs, SHA-1 sub CAs revoked SHA-1 remains in OCSP CertID hashes (issuerNameHash and issuerKeyHash) under RFC 5019. Ballot SC-097 leaves that use in place. Sources: NIST FIPS 180-1 and 180-2, NIST SP 800-131A, IETF RFCs 4055 and 5246, CA/Browser Forum Ballots 118, SC-053 and SC-097, vendor release notes.
The SHA-1 to SHA-2 transition across cryptanalysis, standards, platform support and WebPKI policy.

The replacement existed three years before the first break. The warning came twelve years before the first real collision. The last SHA-1 signatures permitted in the WebPKI took 21 years to retire, and NIST’s broader transition is scheduled to finish in 2030.

The availability of a replacement algorithm was not the main constraint. Look at the platform lane. SHA-2 certificate validation reached Windows XP with Service Pack 3 in 2008, and certificate authorities stayed on SHA-1 until XP support ended in 2014, because the installed base of older clients, HSMs and CA software constrained what could be deployed without breaking customers. Libraries had to support SHA-2. Protocols and credential formats had to change. Products had to adopt the changes, organizations had to deploy the products, and some hardware had to be replaced outright.

Every operator had to learn what depended on SHA-1, whether the other end of each connection supported the replacement, and what would break on the day support ended. The pace was set by how much disruption each party could absorb.

We built a world that depended on the algorithm, and then had to find every place the dependency lived.

Put SIKE and SHA-1 side by side. One shows how fast confidence in a construction collapses. The other shows how long a dependency survives in deployed systems. AI is accelerating the first. We have to get much better at the second.

6It Takes Two

Most cryptography involves more than one party. One encrypts and another decrypts. One signs and another verifies. Two endpoints negotiate a protocol and establish shared keys. They need compatible implementations and configurations, and they are often run by different organizations. For a public web service, the other party is somebody’s browser.

A large public-facing service I know wanted to turn off SSL 3.0 and move its users to modern TLS. The first question was simple. What breaks if we do this?

They could not answer it. They had to change their logging configuration, build a way to collect and aggregate data from their web servers, and analyze what it said about the capabilities of their clients. With that work done, retiring SSL 3.0 looked like it would affect about one percent of traffic. One percent seemed a reasonable breakage budget for the security gained.

Before proceeding, they looked at who the one percent were. IP geolocation showed that the affected connections were overwhelmingly concentrated in one part of the world.

THE SAME ONE PERCENT, COUNTED TWO WAYSIllustrative proportions. The service found its SSL 3.0 clients concentrated in one part of the world.BY CONNECTION99% negotiate TLS1% need SSL 3.0Reads as an acceptablebreakage budget.WHERE THE ONE PERCENT COMES FROMRegion ARegion BRegion CRegion DRegion Eshare of the affected connections, by region
The breakage was small in aggregate and concentrated in one place.

What had looked like acceptable breakage would have fallen almost entirely on one population. The mathematics of the algorithms was never the difficulty. Knowing the consequences of changing them was.

Two things follow. First, a negotiated handshake reveals what a client chose and little about what else it supports. Answering “what breaks” takes additional telemetry, controlled experiments and staged deployments. Second, the count of failed connections is the wrong unit. The unit is who depends on the system. That matters most in critical infrastructure, healthcare, financial services and public services, where the people and devices on the other end often cannot upgrade.

The cost of breaking one percent of connections depends on which one percent.

7Protocols Have to Change Too

Cryptographic agility is often described as swapping one implementation for another. Sometimes it is that simple. More often the algorithm is not interchangeable with its replacement.

Protocols carry assumptions about key and signature sizes, the number of exchanges needed to establish keys, which party performs which operation, and which mathematical primitives are available. A signature of 17,000 bytes creates problems for a protocol that a signature of 64 bytes never did. A key establishment mechanism can have a different shape from the one it replaces. Those differences show up as latency, fragmentation, bandwidth, memory consumption and hardware requirements, and in the behavior of every middlebox the protocol crosses.

How an algorithm change reaches the whole protocolA new algorithm changes keys and signatures. Those changes alter message size and shape, computation and memory, and negotiation rules. The effects reach the client, network intermediaries, and server, so both endpoints and everything between them must support the change.AN ALGORITHM CHANGE TRAVELSChanging the primitive changes the messages, and the messages cross a system.New algorithmkeys and signaturesProtocol messagessize and shapenumber of exchangesnegotiation rulesEvery system on the pathClientGatewayPeerMore bandwidth, memorycompute and fragmentationBoth ends and the path must understand itor the connection may fail
An algorithm replacement can change the shape of the protocol, so compatibility depends on both endpoints and everything between them.

This is why post-quantum support has required changes to protocols and credential formats. A protocol designed around RSA or elliptic curves does not accept an arbitrary post-quantum algorithm and keep working well.

Negotiation has security properties of its own. A system that supports several algorithms and versions must prevent an attacker from steering both parties to the weakest one. These are architecture and interoperability problems as much as cryptographic ones, and with more algorithms in use we will meet them more often. Making them manageable takes tooling, telemetry, test environments, standards and operational process. When the replacement has a different shape, the change reaches the protocol, and a protocol change needs both ends and everything in between.

8Nobody Owns It

Ask most organizations who is responsible for their use of cryptography and nobody has a good answer. Network security, application security, identity, infrastructure, database, endpoint, procurement and compliance teams each make cryptographic decisions. In my experience, nobody is accountable for the whole.

Who knows where cryptography is used, why it is used, what security properties are expected of it, and what depends on those properties? Who measures how long the organization takes to respond when one of its assumptions fails?

What exists instead is a set of people managing individual systems that happen to use cryptography, a policy listing approved algorithms and key sizes, and products that each address one aspect of the problem.

One of the more telling indications of this is the market for cryptographic discovery products. A market for tools that discover something organizations depend on exists because they have not been managing it. An organization that manages credential issuance knows which credentials it issued and where they belong. One that manages key generation knows its keys, what each is authorized to do and where each is used. One that manages protocol configuration knows which versions and algorithms are enabled and what depends on them.

Discovery is good for three things. It sets a baseline, it catches what bypassed the process, and it independently verifies that reality matches the records. When discovery is the main way an organization learns where it uses cryptography, the context needed to manage that cryptography is already gone.

We are doing archaeology.

The fix is systems that generate and maintain this information as a byproduct of operating.

9Distribution Is Not Management

What most organizations call key management is a database of secrets. Applications authenticate to it, fetch the secrets they are allowed to have, and load them into files, environment variables or memory. This beats developers copying secrets between systems by hand. It centralizes access control, reduces some sprawl and records who retrieved what.

Then the application has the secret. From there it can land in a configuration file, process memory, a swap file, a crash dump, a backup or a container image. It can be copied to another machine to make something work and stay on disk long after anyone needs it. It may grant broad access for years. The system that handed it out sees none of this. It cannot count the copies or confirm that any were destroyed.

Distribution also turns rotation into a coordination problem. Every node holding the old key has to receive the new one at the right time, while systems that may encounter data protected under either key need a reliable way to identify which key applies to each message and which key should protect new ones. When that lifecycle is not centralized, the selection and rollover logic gets reimplemented in every application, behaves differently everywhere, or is deferred until an expiration or incident forces it. The more widely a secret is distributed, the harder it becomes to know that rotation is complete and the old key is truly gone.

In some environments, we have industrialized secrets spray.

Access control on the database decides who can retrieve a key. It has no say over what the application does afterward, and revoking that access does not, by itself, invalidate the copies already distributed. That gap sets the difficulty of responding to a compromise or a cryptographic failure.

There is a better model, and it is old. At Microsoft, in the Windows Vista and Windows Server 2008 generation, we introduced key isolation through Cryptography Next Generation and applied it to Schannel, the Windows implementation of TLS.[9] Long-lived private keys no longer had to sit in the memory of the applications that used them, including applications terminating TLS. The application requests an operation, the operation runs in a separate operating system security context, and the application receives the result.

POSSESSING A KEY VERSUS USING ITThe same memory disclosure, with the private key inside and outside the vulnerable process.KEY IN THE PROCESSTLS server processsession datapasswordsprivate keybug lets a client read this memoryAttacker gets the keyevery certificate using it must be replacedKEY ISOLATEDTLS server processsession datapasswordskey handleKey serviceprivate keyseparate contextsignresultAttacker gets memory contents, no keya second boundary still has to be crossed
Isolation turns the loss of a process into the loss of what that process held, and the key is no longer among it.

That design sets an invariant. Compromising the memory of an application is not enough to extract an isolated key, because the attacker has to cross a second boundary. We made that decision years before Heartbleed, and Heartbleed showed what it was worth. A server that held its key in the vulnerable process could lose the key to a memory read. If that key was properly isolated, reading the vulnerable process’s memory would not, on its own, expose the key. Other sensitive material in that process could still be exposed.

An application that proves possession of a private key needs to produce a signature. It has no need for the key itself. An application that decrypts needs the result of one authorized decryption. A compromised application can still request the operations it is authorized for, so those authorizations have to be managed too.

This is what I mean by managing cryptography at runtime. Operating system isolation, hardware security modules, TPMs, secure elements and dedicated cryptographic services can all provide it. Whatever the mechanism, the system has to know which entity is using a key, which operations it may perform, under what conditions, and how that permission is changed or withdrawn. Authorization to use a key is separate from authorization to possess it, and both should expire.

Hardware-backed protection is itself something to manage. ROCA and EUCLEAK were failures inside the hardware meant to protect keys. The hardware, its firmware, its implementations and the trust relationships around it all belong in the inventory.

Part III

Making It Routine

10The Missing Control Plane

Compute, storage, networking and databases are the building blocks of the systems we operate. Each has grown a control plane, because operating them at scale takes more than an API for consuming them. We needed ways to express intent, set policy, see the state of the infrastructure, provision resources, manage their lifecycles, observe their behavior and coordinate changes across everything that depends on them.

Cryptography is another one of those building blocks. It is used throughout the stack, from the firmware that initializes our hardware to the operating systems, databases, disks and applications that run on it. Yet most organizations have no comparable, coherent control plane for its use. We have libraries that perform operations, hardware that protects keys, certificate authorities that issue credentials, databases that store secrets and products that discover where cryptography is used. Most organizations have nothing that ties them together.

Picture running compute this way. You scan your networks periodically to find out which virtual machines exist, keep a calendar to remember when to replace them, and negotiate with each application owner whenever an underlying component changes. That is close to how most organizations run cryptography.

Compute, with a control planeCryptography, in most organizations
InventoryAn API lists every instancePeriodic scans look for keys and certificates
LifecycleInstances are replaced automaticallyExpiry dates sit in calendars and spreadsheets
ChangeRolling deployment with health checksManual coordination with each application owner
PolicyDeclared once and enforced at provisioningWritten in a standard and checked at audit
TelemetryCollected by default for every resourceLogging reconfigured when a question comes up

If cryptography is infrastructure, it should come with the capabilities we expect of infrastructure.

Know where we use it. The algorithms, protocols, implementations, credentials, keys and trust anchors we depend on, including those embedded in the products and hardware we buy.

Know why we use it. The security properties we are trying to establish, the information and resources being protected, and the assumptions made about the environment and the adversary.

Use it as designed. Policies for algorithms, parameters, cryptoperiods and implementation requirements, enforced by the systems that provision cryptography.

Manage keys through their whole lifecycle. Generation, storage, authorization, use, rotation, revocation, retirement and destruction, with applications granted operations in place of copies wherever practical.

Know the dependencies. Which systems, users and external parties rely on each cryptographic choice, and whether they can support an alternative.

See how it behaves in production. Telemetry showing which algorithms and protocol versions are in use, whether policy is being enforced, and where the exceptions are.

Measure the consequences of change. An estimate of what breaks when an algorithm is introduced or retired, a protocol configuration changes or a trust anchor is replaced, counted both in volume and in business and societal consequence.

Exercise the lifecycle routinely. Automated issuance, deployment, replacement and retirement of keys and credentials, and practiced migration of algorithms and trust anchors before an incident demands it.

Assign responsibility. One accountable owner for these capabilities and for keeping the organization’s use of cryptography consistent with its security objectives.

A CONTROL PLANE FOR CRYPTOGRAPHYPolicy and lifecycle are managed in one place. Operations stay where they run.CONTROL PLANEwhat should be true, and what isInventoryPolicyLifecycleTelemetryOwnershippolicy, issuance, rotation, revocationstate, usage, exceptionsDATA PLANEwhere cryptographic operations happenLibrariesHSMs, TPMsCAsSecret storesEndpointsFirmware
Managing policy and lifecycle in one place does not require performing every operation in one place.

A control plane is separate from the data plane it governs. Cryptographic operations can stay distributed across libraries, hardware and services while policy and lifecycle are managed coherently above them.

A control plane holds the intended state of the infrastructure, observes the actual state and reconciles the two. Cryptography should work the same way. When our understanding of an algorithm changes, we change the policy that governs its use, see which systems are affected and coordinate their move to an acceptable alternative. Today most organizations would have to start by discovering what they have.

The capabilities come with metrics, and the metrics show how far along an organization is.

MetricWhat it shows
Time to determine exposure to a named vulnerabilityWhether the inventory exists
Share of cryptographic dependencies that are knownHow much is still archaeology
Count of long-lived or exportable keysHow much is distributed instead of managed
Time to replace a class of credentialsWhether the lifecycle is automated
Ability to remove a compromised trust anchorWhether the deepest dependencies can change at all
Share of infrastructure that can change algorithms without manual workHow agile the deployment is, as opposed to the library

We learned how to manage the other foundations of our infrastructure at scale. Cryptography is overdue for the same treatment.

11Exercise the Lifecycle

A decade ago, if you said “TLS” to a site reliability engineer, the word that came back was “outage.” Certificates were managed by hand. Someone requested one, copied it and its private key to the right systems, wrote the expiration date somewhere and hoped the next person would remember.

Replacement day offered many ways to fail. Some systems using the certificate were unknown. The certificate was replaced on some machines and missed on others. An application needed a restart to pick up the new one. A dependent system did not trust the new issuing CA. Each replacement exercised a process nobody had run for a year or more.

Kerberos is the contrast. Tickets live for hours. Active Directory’s default is ten. They are acquired, renewed and replaced continuously, and the people using those systems never think about it. We don’t generally associate routine ticket expiry with outages in the way we historically associated certificate expiration with outages. The ticket lifecycle is continuously exercised, and when it stops working, the problem shows up within hours. The long-lived keys underneath Kerberos, such as service account and krbtgt keys, get no such exercise and are rotated far less often.

HOW OFTEN THE REPLACEMENT PATH RUNS IN ONE YEARThe more often a lifecycle runs, the sooner a broken one is noticed.Manual certificateone-year lifetime1Automated certificate90 days, renewed every 606Kerberos ticketten-hour lifetime876runsstart3 months6 months9 months1 year
A process that runs once a year is tested once a year.

Automated certificate management with ACME moved certificates toward the Kerberos end. Issuance and replacement became an ordinary part of running a service, where they had been an event that required several people to line up their calendars. Shorter-lived credentials with automation and monitoring limit the duration of exposure and force the replacement mechanism to keep working.

One of the longstanding ways we manage cryptographic risk is limiting how long we rely on a key. We call the limit a cryptoperiod, and it depends on the strength of the algorithm, the sensitivity of what the key protects, how the key is generated and managed, how much it is used and what its compromise would cost.[6] I maintain Keylength as a way to explore published recommendations on key sizes and security lifetimes.[7] How long a key is used and how long its protection must last are separate numbers. A key used for minutes can protect information that has to stay confidential for decades.

Reliability engineering already knows the principle. We automate deployments, test continuously, monitor behavior, exercise failover and restore backups to prove they restore. We do it because a capability that has not been exercised recently cannot be counted on. Cryptography gets no exemption. An organization whose first algorithm replacement, trust anchor replacement or mass credential rotation happens during a major incident is running the drill for the first time under the worst conditions.

12Go to the Gym

I recently had an exchange with Dmitri Alperovitch about all of this.[14] He raised a fair concern. Post-quantum migration is an enormous, expensive project for most enterprises, and few are treating it as something they will repeat. If we are about to learn something that changes which algorithms to use, why spend the money now?

The difficulty and expense are the reason to start now. His premise is right, though. An organization that spends millions replacing one set of algorithms with another, and changes nothing about how it manages cryptography, will be in the same position the next time an algorithm has to go. It will have paid for a migration without acquiring the ability to migrate. Once we were talking about using this transition to build a repeatable capability, we agreed.

Heather Adkins put it best:[15]

The enterprises that survive will be the ones that go to the gym now, build muscle and agility, for whatever comes.

Many of the organizations I work with are hoping their vendors will handle the post-quantum migration for them. That hasn’t worked particularly well in previous transitions, and I don’t expect it to work this time either. Vendors can ship updated implementations, support new algorithms and build better tools. They do not know how you integrated their products, which business processes depend on them, which external parties you communicate with, what you are protecting or how much disruption you can absorb. Those decisions stay with you.

Start the post-quantum transition now and do it in stages. Prioritize by the risks you are managing. Measure compatibility. Build migration mechanisms and exercise them in production. Use the transition to fix the architectural decisions that made cryptographic change hard. None of that work loses value if ML-KEM or ML-DSA is later replaced, and none of it depends on the arrival date of a cryptographically relevant quantum computer. These are capabilities we should have had all along.

The prospect of AI helping us make fundamental advances in mathematics is one of the more compelling arguments for making these tools broadly available to researchers. The security of the cryptography we use is in large part a product of open scientific inquiry and independent scrutiny. We publish constructions so that people will try to break them, and the people who find the weaknesses are often the people who design the successors. SIKE failing inside the NIST process was the process working. The lattice research is the same process with better tools, and it arrived before the quantum computers that motivate it. The responsible disclosure of the findings and the formation of CIRG are encouraging.

Finding that an assumption is weaker than we believed is one kind of work. Moving billions of people off the systems that depend on it is another, and we need expertise in both. I want researchers equipped with capable AI to keep learning faster. I do not want that progress held back by our inability to manage the cryptography we have already deployed.

We can decide how much of the work of responding to the next cryptographic failure gets done before it happens. The science of cryptography should be exciting. The operation of cryptography should be boring, and the only way to make it boring is to make it routine.

Sources

  1. Cryptography Incident Review Group, Initial Assessment of Anthropic’s Findings on Lattice Cryptography, November 30, 2026.
  2. Anthropic, Discovering Cryptographic Weaknesses with Claude, July 28, 2026, on HAWK, reduced-round AES and vulnerabilities in OpenSSL (CVE-2026-45445) and wolfSSL (CVE-2026-5194).
  3. Wouter Castryck and Thomas Decru, An Efficient Key Recovery Attack on SIDH, IACR ePrint 2022/975.
  4. NIST, NIST Transitioning Away from SHA-1 for All Applications, December 2022.
  5. Stevens, Bursztein, Karpman, Albertini and Markov, SHAttered, the first SHA-1 collision, February 2017.
  6. NIST, SP 800-57 Part 1 Revision 5, Recommendation for Key Management, on cryptoperiods.
  7. Keylength, recommendations on cryptographic key sizes and security lifetimes.
  8. Georgiev, Iyengar, Jana, Anubhai, Boneh and Shmatikov, The Most Dangerous Code in the World: Validating SSL Certificates in Non-Browser Software, ACM CCS 2012.
  9. Microsoft, CNG Key Storage and Retrieval, including key isolation.
  10. Binarly, PKfail: Untrusted Platform Keys Undermine Secure Boot on UEFI Ecosystem, 2024. Disclosure: I am an advisor to Binarly.
  11. UK National Cyber Security Centre, ROCA: Infineon TPM and Secure Element RSA Vulnerability Guidance.
  12. NinjaLab, EUCLEAK, and Yubico, Security Advisory YSA-2024-03.
  13. NIST, FIPS 204 (ML-DSA) and FIPS 205 (SLH-DSA), and the Falcon specification, for key and signature sizes.
  14. Exchange with Dmitri Alperovitch, x.com/rmhrisk/status/2127186221264937028.
  15. Heather Adkins, x.com/argvee/status/2127244838315925759.
  16. Anthropic, Galactic quasi-polynomial quantum algorithms for integral and module lattices, the lead paper of four published with a Lean 4 formalization in anthropics/formal-math, November 30, 2026.
  17. CA/Browser Forum, Ballot SC097: Sunset all remaining use of SHA-1 signatures in Certificates and CRLs, effective September 15, 2026.
  18. NIST, FIPS 203 (ML-KEM) and FIPS 204 (ML-DSA), August 2024.

Check your understanding

Ten questions drawn from the sections above. Options are shuffled each time.