The Block · T6 Security & governance

Crypto agility

Last reviewed 3 Dec 2026by Pratima Chainani

Being able to swap the cryptographic algorithms a system uses, such as key exchange and signatures, by changing configuration or a library version instead of rewriting code.

Watch it in context: Did AI break encryption? I tested my own stack. Try it: the pqc-readiness kit.

Post-quantum migration swaps today’s key exchange for ML-KEM, usually as a hybrid with a classical algorithm. Crypto agility is what lets you do that swap again, fast, when the next result lands, including on the new algorithms.

The pressure is new. On 28 Jul 2026 Anthropic reported a frontier model in an agent harness cutting key recovery for HAWK-256, a candidate signature scheme, from 2^64 to 2^38 in about 60 hours. On 30 Nov 2026 an internal research Claude model produced a new quantum attack on the lattice maths under ML-KEM. The review group CIRG called its scale galactic, far from practical, and still advised the highest security level each application supports, hybrids on different foundations, and agile systems.

In practice, algorithm choices often sit where developers don’t look: OS crypto policy files, the TLS library a runtime was built with, SSH client defaults. On Pratima’s Mac on 2 Dec 2026, a macOS SSH policy line put a classical key exchange first even though both the client and GitHub supported hybrid ML-KEM, and the curl and Python that ship with macOS could not connect to a hybrid-only server.

Common misread

Post-quantum migration is a one-time switch.

The next attack can land on the new algorithms too. Agility is the ability to switch again.

For your code

Find where key exchange and signatures are chosen for you (OS defaults, runtime TLS libraries, SSH config) and make each choice a setting you control.

For your roadmap

Keep an inventory of where each scheme lives, and set a target time to swap one.

Sources

  1. CIRG, Initial assessment of Anthropic’s findings on lattice cryptography · 30 Nov 2026
  2. anthropics/formal-math, lattices README · 30 Nov 2026
  3. Anthropic, Discovering cryptographic weaknesses with Claude · 28 Jul 2026
  4. Cloudflare, Post-quantum cryptography is still safe · 1 Dec 2026
  5. Joint statement on post-quantum cryptography · 2 Dec 2026

More on T6 Security & governance

Every term, by layer