Migrating to Post-Quantum · 5 of 5L3algorithms
A Migration Methodology: Inventory, Shelf-Life Risk, Hybridize, and Measure
A post-quantum migration is a repeatable program, not a one-off swap: inventory what you have, rank it by data shelf-life, hybridize the urgent parts first, measure, and keep iterating.
Abstract
This closing piece assembles the series into a repeatable migration program rather than a single cutover. It walks the five steps: build a cryptographic inventory of every algorithm, key, certificate, and protocol in use; risk-rank each asset by data shelf-life using Mosca's inequality, so that long-retention confidential data is migrated first; hybridize the urgent key exchange before the less-urgent signatures, using crypto-agility to make the swaps incremental; measure interoperability, performance, and side-channel behavior, gating the results in continuous integration; and iterate, keeping the inventory current for the next transition. It frames the program as a governed loop with ownership and a standing continuous-integration check, and it applies the method to agent and model-serving infrastructure where long-lived training-data archives are the top priority. The theme: a successful migration is a managed, prioritized, measured, repeating program driven by data shelf-life, not a heroic one-time algorithm replacement.
Everything in this series converges on a practical question: how does an organization actually move to post-quantum cryptography without breaking things or missing the threat? The answer is a program, not a project. A one-time swap of algorithms fails because it cannot know what to swap, in what order, or whether it worked; a repeatable methodology succeeds because it inventories what exists, prioritizes by the genuine risk of data shelf-life, migrates the urgent parts first with incremental hybrids, measures the result, and loops. This article assembles the series into that five-step program and shows how to run it as a governed, continuous discipline rather than a heroic effort that is done once and forgotten.
Step one: inventory
A migration cannot begin without knowing what cryptography exists, and in most organizations that knowledge is not written down. The first step is therefore to build a cryptographic inventory — a bill of materials enumerating every algorithm, key, certificate, protocol, and library across the estate, and critically where each is used and what data it protects. This is assembled by combining automated discovery of network protocols and certificates, static scanning of source and dependencies for cryptographic calls, and interviews with system owners to catch what tools miss.
The inventory is the foundation everything else stands on, because you cannot prioritize, migrate, or verify what you have not found. It also has immediate value beyond the post-quantum effort: it surfaces already-deprecated algorithms and forgotten keys, making the estate auditable against policy for the first time. The inventory is not a one-time artifact but a living record, kept current as systems change, which is what lets the program repeat rather than restart at the next transition.
The output of this step is a concrete, queryable catalog: for every place cryptography is used, which algorithm, which key, which certificate, protecting which data, with what shelf-life. That last attribute — the shelf-life of the data each usage protects — is what the next step consumes to set priority.
Step two: risk-rank by shelf-life
Not all cryptographic usage is equally urgent, and the ordering principle is Mosca's inequality from the quantum-threat analysis. For each asset, add the number of years its data must remain confidential — its shelf-life — to the number of years its migration will take, and compare that sum to the years until a relevant quantum computer is expected. If the shelf-life plus the migration time exceeds the time to quantum, the asset is already at risk: data protected today will still need protection when the quantum computer arrives, but was encrypted with a vulnerable algorithm that an adversary may already be harvesting.
This turns the inventory into a prioritized list. Long-retention confidential data — archives, records with legal retention requirements, secrets meant to last decades — rises to the top, because its shelf-life is long and the harvest-now-decrypt-later threat against it is real today. Ephemeral data and, as the certificate article established, authentication that need only hold at the moment of use fall lower, because their exposure to a future quantum attacker is limited. The ranking is not by system importance but by the temporal collision between data lifetime and the quantum timeline.
The output is a migration order grounded in risk rather than convenience or org-chart. It tells the program what to move first — the confidentiality of long-lived data over its key exchange — and what can follow on a measured schedule. This prioritization is the single most important decision in the program, because migrating everything at once is infeasible and migrating in the wrong order wastes the time that the at-risk data does not have.
Steps three and four: hybridize and measure
With priorities set, migration proceeds, and it does so incrementally rather than as a flag-day. The urgent items — key exchange protecting long-lived confidentiality — move first, to the hybrid constructions of the earlier articles, so that security holds if either the classical or the post-quantum component survives. Crypto-agility makes each swap a configuration change rather than a rewrite, and algorithm identifiers let old and new coexist while the population shifts. Signatures and public-key infrastructure follow on the measured schedule the urgency asymmetry permits, with long-lived trust roots moved earlier.
Migration without measurement is faith, not engineering, so each change is validated on three axes. Interoperability: does the change work against the real clients, servers, and middleboxes it will meet, including the size-sensitive network paths the TLS article flagged? Performance: does the larger handshake or signature fit the latency and bandwidth budget at production volume? Implementation security: is the deployed code constant-time and free of the side channels the implementation article warned about? Failures on any axis are found here, in validation, rather than in production.
These measurements are best encoded as automated gates in continuous integration, so that a regression — a reintroduced weak algorithm, a non-constant-time path, a size overflow — fails the build rather than shipping. The gate makes the migration's gains durable: once a component is migrated and validated, the gate prevents it from silently sliding back. Measurement is thus not a phase that ends but a control that persists.
| Step | Action | Output |
|---|---|---|
| 1 Inventory | Discover all cryptographic usage | Cryptographic bill of materials |
| 2 Risk-rank | Score by data shelf-life (Mosca) | Prioritized migration list |
| 3 Hybridize | Migrate urgent key exchange, then signatures | Migrated endpoints |
| 4 Measure | Test interop, performance, side channels | Validation and a CI gate |
| 5 Maintain | Keep inventory current and iterate | Ongoing crypto-agility |
The program as a loop
The five steps are not a line but a cycle. After migrating and measuring the highest-priority assets, the program returns to the inventory — now updated to reflect the changes — re-ranks in light of new information and shifting quantum-timeline estimates, migrates the next tranche, and measures again. The loop continues until the estate is migrated, and then keeps running at a lower intensity to catch new systems, new data flows, and eventually the next cryptographic transition after this one.
Framing the migration as a loop rather than a project changes how it is resourced and governed. It has an owner, a standing cadence, and a budget that persists, rather than a completion date after which the capability is disbanded. The cryptographic inventory is maintained as a living asset; the continuous-integration gates remain in force; and the organization retains the muscle to migrate again, which it will need, because algorithms will continue to be deprecated and replaced long after the post-quantum transition is complete.
This is the difference between surviving one migration and being permanently migration-capable. A program built as a loop, on a foundation of inventory and agility, treats each transition as a routine turn of the cycle. A project built as a one-time swap leaves the organization exactly as unprepared for the next transition as it was for this one, having spent enormous effort without building the durable capability that effort could have produced.
Governance, gates, and agent infrastructure
Running the program well requires a small amount of standing governance: a named owner accountable for the inventory and the migration order, a policy that new systems must be crypto-agile and must not introduce hard-coded or weak primitives, and continuous-integration gates that enforce both. The gates are where policy becomes real — a build that adds a deprecated algorithm, ships a non-constant-time implementation, or omits an algorithm identifier fails, so the estate cannot silently regress. Governance and gates together make the methodology self-sustaining rather than dependent on periodic heroics.
The prioritization discipline also guards against a common failure: migrating the visible, easy things first because they are easy, rather than the risky things first because they are risky. The shelf-life ranking is the antidote, keeping attention on the long-lived confidential data that the harvest-now-decrypt-later threat actually endangers, even when that data lives in an unglamorous archive rather than a customer-facing service.
For autonomous AI systems this methodology applies with a specific top priority. The inventory must cover model-serving endpoints, agent service meshes, agent-identity credentials, and — most importantly — the long-retention training-data archives and conversation logs whose confidentiality may need to outlast the quantum transition. Those archives are the quintessential harvest-now-decrypt-later asset: enormous, long-lived, and confidential, so they rank at the very top of the migration order. The program is then the same loop: inventory the AI estate, rank by shelf-life with the training archives first, hybridize their key exchange now, measure against the real infrastructure, gate it in the deployment pipeline, and iterate. The methodology that migrates a bank or a government migrates an agent platform too, driven by the same shelf-life clock.
Key takeaways
- A post-quantum migration is a repeatable five-step program — inventory, risk-rank, hybridize, measure, maintain — not a one-time algorithm swap.
- Step one builds a living cryptographic bill of materials cataloging every algorithm, key, certificate, and protocol and the data each protects.
- Step two risk-ranks by data shelf-life using Mosca's inequality: when shelf-life plus migration time exceeds time-to-quantum, the asset is already at risk and migrates first.
- Steps three and four migrate incrementally — urgent key exchange to hybrids first, signatures on schedule — and validate interoperability, performance, and side channels, encoding the checks as CI gates.
- The steps form a governed loop that updates the inventory and repeats, building permanent migration capability rather than surviving one transition.
- For AI systems the top-priority asset is long-retention training-data archives and conversation logs, the quintessential harvest-now-decrypt-later data whose key exchange should be hybridized now.
Practitioner Toolkit
Copy-paste, strictly defensive artifacts you can use today. Nothing here attacks a real system.
Confirm the program is a governed loop, not a one-off.
- Is there a living cryptographic inventory covering algorithms, keys, certs, and the data protected?
- Are assets risk-ranked by data shelf-life via Mosca's inequality?
- Is urgent key exchange hybridized first, with signatures on a measured schedule?
- Are interoperability, performance, and side-channel checks encoded as CI gates?
- Is there a named owner and a standing cadence to iterate the loop?
Stand up the program's first loop.
- Build the inventory by combining discovery, code scanning, and owner interviews.
- Rank assets by shelf-life; put long-retention confidential data first.
- Hybridize the top-priority key exchange now and validate against real infrastructure.
- Add CI gates and schedule the next iteration.
A stub encoding the loop, priorities, and gates.
pqc_migration_program:
step_1_inventory: living_cbom
step_2_rank: mosca_shelf_life
step_3_migrate: hybrid_key_exchange_first
step_4_measure: [interop, performance, side_channel]
step_5_maintain: iterate_loop
governance:
owner: named
ci_gates: block_regressions
ai_priority:
top_asset: long_retention_training_archivesGlossary
- Cryptographic inventory (CBOM)
- A living catalog of every algorithm, key, certificate, and protocol in use and the data each protects — the foundation of the migration.
- Mosca's inequality
- The rule that if data shelf-life plus migration time exceeds the time to a quantum computer, the data is already at risk and must migrate now.
- Shelf-life ranking
- Prioritizing migration by how long each asset's data must stay confidential, putting long-retention data first.
- Incremental hybridization
- Migrating urgent key exchange to hybrid constructions first, with old and new coexisting via algorithm identifiers, rather than a flag-day cutover.
- CI gate
- An automated continuous-integration check that fails a build introducing weak algorithms, non-constant-time code, or missing identifiers, preventing regression.
- Migration loop
- The cyclic program — inventory, rank, migrate, measure, back to inventory — that makes an organization permanently migration-capable.
References
- NIST IR 8547, Transition to Post-Quantum Cryptography Standards (2024)
- NIST SP 1800-38, Migration to Post-Quantum Cryptography (practice guide)
- Mosca, Cybersecurity in an Era with Quantum Computers (IEEE S&P, 2018)
- IETF draft-ietf-tls-hybrid-design, Hybrid Key Exchange in TLS 1.3
- NIST SP 800-56C Rev. 2, Recommendation for Key-Derivation Methods (2020)