Skip to content

What Is Crypto-Agility, and How Do You Test It?

Crypto-agility is the ability to replace a cryptographic algorithm quickly, safely and without rebuilding your systems. In 2026 it stopped being a nice-to-have: algorithms failed with little warning, and every expert review ended with the same advice.

Updated 3 December 2026

A definition you can test

An organisation is crypto-agile when it can change the algorithm, key size or parameters used by a system through configuration, roll the change out in a planned window, and roll it back if something breaks. If changing an algorithm requires new code, new hardware or a vendor’s next major release, the system is not agile.

That definition matters because it can be measured. “We use modern cryptography” cannot.

Why it became urgent in 2026

For thirty years, public-key algorithms changed roughly once a generation. RSA and elliptic curves were expected to last until a quantum computer arrived, and planners assumed they would see that coming.

2026 broke that assumption three ways:

  • A candidate fell to AI. HAWK, a post-quantum signature scheme in NIST’s evaluation, was broken by an attack found with Anthropic’s Claude Mythos Preview in about 60 hours, and was withdrawn.
  • Confidence moved, not just algorithms. Anthropic’s November lattice results do not break ML-KEM or ML-DSA, but the authors say they lower long-term confidence in structured lattices. The Cloud Security Alliance responded by calling crypto-agility an operational requirement.
  • The whole web converged on one scheme. By late 2026 almost every post-quantum TLS handshake used the same group, X25519MLKEM768. Hybrid design protects you if either half fails, but you still need to be able to move if one does.

See our status tracker for the full timeline.

What an agile system looks like

Layer Agile Not agile
Protocols Algorithm negotiated (TLS 1.3, SSH, IKEv2) and configurable Algorithm fixed in a custom protocol
Libraries Central crypto library, versioned and patchable Crypto copied into application code
Keys and certificates Automated issuance and rotation, short lifetimes Manually installed, multi-year certificates
Hardware HSMs and devices with firmware that supports new algorithms Fixed-function chips, unsigned or unupdatable firmware
Inventory Every algorithm, key and certificate recorded with an owner Nobody can list where RSA is used
Suppliers Contractual PQC roadmaps and notice periods “Quantum-safe” claims with no dates

How to build it

  1. Inventory first. You cannot swap what you cannot find. Record algorithm, key size, library, owner and data lifetime for each system. Our template is a starting point.
  2. Centralise. Route cryptography through a small number of maintained libraries, gateways or services rather than hundreds of call sites.
  3. Prefer negotiated protocols. TLS 1.3, SSH and IKEv2 let you add an algorithm such as ML-KEM without changing applications.
  4. Automate certificates. Short-lived, automatically issued certificates make the eventual move to post-quantum signatures a configuration change instead of a project.
  5. Write it into contracts. Ask suppliers for algorithm roadmaps, supported versions and how quickly they can ship a replacement.
  6. Deploy hybrids. Pairing a classical and a post-quantum algorithm means a failure in either does not expose you while you swap it out.

The algorithm-swap drill

Run this once a year, the way you run a disaster-recovery test:

  1. Pick one system with real users.
  2. Announce a hypothetical break: “From Monday, algorithm X is no longer trusted.”
  3. Measure how long it takes to: find every place X is used, change configuration, deploy, verify with an external test, and roll back.
  4. Record what blocked you. That list is your agility backlog.

Most organisations discover in the first hour that they cannot complete step 3a. That is the point of the drill.

Where we come in

Agility is a deliverable in every Hybrid PQC Migration engagement: you leave with a tested swap-and-rollback runbook, not just new algorithms. If you want to know where you stand first, start with a Quantum Exposure Assessment.

Share: