← Back to section · Post-Quantum Migration

Agility Testing and Drills: You Only Know You Can Switch by Switching

Agility cannot be accepted by reviewing architecture diagrams; it can only be falsified by drills. This article gives three practical verification methods — switching drills, chaos-style algorithm-retirement exercises, and interoperability test matrices — and the metrics each should produce.

Published 22 November 2026 · 6 min read · PQ Frontier

Agility Testing and Drills: You Only Know You Can Switch by Switching
AI-generated site artwork
Video explainer · Crypto Agility: Design for Change

Why agility can only be accepted by drill

Agility is a capability that is only needed when something goes wrong, and such capabilities share a pathology: everything looks present in peacetime, and the missing pieces appear only in use. Code review can confirm an abstraction layer exists; it cannot confirm the whole system can actually swap an algorithm on configuration alone. Documentation can describe rollback steps; it cannot prove rollback works at 3 a.m. with the on-call engineer. There is therefore exactly one acceptance method for agility: manufacture a real switch in a controlled environment, and record the process, the elapsed time, and every point of failure. The three drill types below run from easy to hard and cover most failure modes.

Step zero: the tabletop exercise

Before any hands-on drill, run the cheapest one: the tabletop. Gather the stakeholders, hand them a script — “a signature algorithm in use is announced unsafe tomorrow; compliance requires fleet-wide retirement within ninety days” — and walk the chain verbally, link by link: who notices first, who decides, which configurations change, which systems need downtime, what happens to stored data, how the change is explained externally. A tabletop verifies no technology; it verifies the decision chain and information flow. What it most often exposes is that nobody knows where the inventory lives, that a retirement decision needs several layers of approval, or that the owner of a critical system left long ago. Finding these in a meeting room costs an hour; finding them during a real switch costs weeks. The tabletop’s conclusions also scope the two hands-on drills that follow: drill the most uncertain, least-owned segment first.

Switching drills: measure your transition speed

The most basic drill is the switching drill: pick a representative system, and in pre-production change its default algorithm or parameter set to another (for example, key exchange from a single curve to a hybrid construction, or a digest from one parameter set to another), changing configuration and policy only — never code. Record three numbers: the total elapsed time from decision to completed switch, the headcount and roles involved, and the number of times someone had to “just patch the code quickly”. If that last number is greater than zero, the abstraction layer leaks — and the leak points are the drill’s direct output.

After the switch, run business regression and peer interoperability, and verify rollback: restore the configuration, and the system should return to its original state losslessly. Drills need not be frequent, but they should be re-run after every major infrastructure change (new gateway, crypto library upgrade, certificate system change), because agility quietly decays as a system evolves.

Chaos-style retirement exercises: simulating sudden algorithm death

A switching drill is a planned transition; the real world has an uglier script: an algorithm is publicly broken and must be disabled fleet-wide within a deadline. SHA-1’s retirement was gradual, but not every algorithm gets that courtesy. A chaos-style retirement exercise simulates exactly this suddenness: without announcing the moment in advance, the exercise organiser disables an in-use algorithm via the policy engine in a pre-production (or canary) environment, and observes:

  • Which systems error immediately — good news; at least the failure is explicit;
  • Which systems silently downgrade to a weaker option and keep running — the most dangerous finding, proof that negotiation floors are not locked by policy;
  • Which systems’ alerts go unclaimed, with no findable owner — an organisational gap, unrelated to technology and equally fatal.

The output of the exercise is not pass/fail but a gap list ordered by danger: silent downgrades first, missing ownership second, explicit errors last — they are already standing watch with their noise.

Interoperability matrices: the real world after size growth

The third verification type addresses “we switched; the peer cannot cope”. Post-quantum public keys, signatures, and certificate chains are one to two orders of magnitude larger than classical ones, and a series of problems that never trigger at classical sizes get amplified: handshake messages exceeding middlebox buffers, fragmentation and retransmission in UDP scenarios, certificate-chain validation timeouts, legacy clients disconnecting outright. An interoperability test matrix turns peer implementation and version × parameter set × network-path characteristics into a grid and runs each cell: mainstream client and server versions, middle proxies on and off, IPv4 and IPv6 paths, poor-network and high-latency conditions. The matrix need not be exhaustive, but it must state explicitly “which combinations were tested and which were not” — the untested part is then a known-risk list for launch, not an unknown surprise.

Drill environments and safety boundaries

Drills must run in environments “production-like enough, yet unable to break production” — a craft of its own. A pre-production environment insufficiently isomorphic to production makes drill conclusions untrustworthy; drilling directly in production canaries risks real business. A workable layering: tabletops in the meeting room; switching and interoperability drills in a pre-production environment on the same versions and configuration baselines as production; chaos retirement exercises first in pre-production, then re-verified once in production at small canary scale. Whatever the layer, a drill needs explicit stop conditions and an owner: who may abort when the drill’s impact exceeds its planned scope, and how the system is restored afterwards, belong in the drill script. A drill that causes an incident is not a disgrace; a drill without boundaries is.

Drill outputs: from records to metrics

After the three drill types, what should remain is metrics comparable across periods: total switching time, number of forced code changes, number of silent downgrades found, interoperability matrix coverage, rollback success rate. These numbers have two uses. Internally, they prioritise the next round of improvements. Externally — to management and audit — they are the evidence for the claim “we can retire an algorithm within a bounded time”. A drill without metrics is an activity; a drill with metrics is capability building.

Closing

The acceptance standard for agility compresses into one sentence: can the organisation, in a drill, in front of a recorder, complete a real switch using configuration and policy alone — and state how long it took and where it will trip next time? If yes, the agility is real. If not, it is still a design goal.

References

Tags: Crypto AgilityDrillsInteroperability TestingPost-Quantum Migration