Horizon · Playbook 76

Post-quantum cryptography inventory

A living inventory of where RSA and elliptic curve cryptography are used across your code, certificates, devices and suppliers, found and classified by AI, confirmed by the people who own each system, and turned into a migration plan your board approves. The AI never changes a key, a certificate or a line of code.

  • Agents with tools
  • Retrieval (RAG)
  • NCSC PQC guidance
  • NCSC CAF
  • UK GDPR
  • FCA (if regulated)

At a glance

The problem
Nobody can say where RSA and elliptic curve cryptography are used, so nobody can plan their replacement
Typical volume
Around 600 applications, 1,500 code repositories, 40,000 certificates and 300 technology suppliers
Who's involved
The CISO, a named inventory owner, enterprise and security architecture, application and infrastructure owners, PKI, procurement, and the risk committee
Pilot
8–10 weeks on one business service end to end, after a 3–4 week discovery
Platforms
AWS, Azure, or a sovereign or on-prem stack, alongside your existing scanners and certificate tools

An illustrative scenario. The numbers are typical examples, not a client case study. The cloud services and UK rules were checked on 9 November 2026.

The business problem

Almost every system you run relies on public-key cryptography: TLS on every website and API, VPNs, code signing, single sign-on tokens, payment links, device certificates, encrypted backups. Most of it is RSA or elliptic curve cryptography, and a large enough quantum computer would break both. Data recorded today could be decrypted later, so information that must stay confidential for ten years or more is already exposed in principle.

The NCSC has set the UK's timeline: by 2028, define your migration goals, complete discovery and have an initial plan; by 2031, finish the highest-priority migrations; by 2035, migrate everything. The first step is the hardest. Cryptography hides in libraries pulled in by other libraries, in configuration files, in certificates nobody remembers issuing, in network appliances, in building and plant equipment, and inside suppliers' products and services. A spreadsheet put together by asking each team rarely survives its first audit.

AI can do much of the finding and sorting: reading code and configuration, listing certificates and keys, reading suppliers' product documents and security statements, and classifying what it finds with the evidence attached. But a wrong finding can send a team chasing nothing, and a missed one can leave a critical system on the old algorithms in 2035. So people confirm every finding and set every priority, and no change to a key, certificate or system is ever made by the AI.

What AI changes

  • Code, build files and configuration are searched for cryptographic libraries, algorithms, key sizes and protocol settings, read-only, with the file and line for every finding.
  • Certificate stores, key managers and your scanners' TLS results are pulled into one inventory, recording algorithm, key size, issuer, expiry and the service each one protects. Private keys are never read.
  • Supplier contracts, product documents and security statements are read for what each supplier says about its cryptography and its post-quantum plans, and the gaps become drafted questions for the supplier's owner to send.
  • Every finding is classified as quantum-vulnerable, already post-quantum, hybrid, not affected or unknown, with the evidence linked. Unknowns are a tracked category, not dropped.
  • A draft priority is suggested for each system from how long its data must stay confidential, how exposed it is and how hard it will be to change. System owners confirm the facts and set the priority.
  • The inventory becomes a living record with a named owner. New repositories, certificates and suppliers are picked up as they appear, and the migration plan is drafted from it for people to finish and the board to approve.

How success is measured

Agree these, and measure the baseline, before anything is built. Example targets are typical, not promises.

Discovery coverage

The share of in-scope systems whose cryptography has been discovered and confirmed by the system owner.

ExampleEvery high-priority system before the plan is approved

Finding precision

In a weekly sample, the share of AI findings that owners confirm as correct. Low precision wastes owners' time and they stop reading.

ExampleAbove 90%, every rejection reviewed

Unknowns

Systems and devices where the cryptography can't yet be established, often embedded or supplier-run.

ExampleFalling every month, each with an owner and a next step

Supplier answers

Critical suppliers with a documented answer on their post-quantum plans and dates.

ExampleAll critical suppliers by the 2028 plan

Long-lived data exposure

Systems protecting data that must stay confidential beyond 2035 that still use quantum-vulnerable key exchange.

ExampleKnown, prioritised and falling

Changes made by the AI

Keys, certificates, configuration or code changed by the agents. Checked from the platform's audit logs.

ExampleZero

UK regulation and controls

Cross-sector rules are on the UK regulation map.

  • NCSCTimelines for migration to post-quantum cryptography (20 March 2025)

    Indicative milestones, not law: by 2028 define goals, complete discovery and build an initial plan that covers supplier dependencies and long-lived hardware roots of trust; by 2031 finish the highest-priority migrations; by 2035 complete migration. The NCSC says discovery doesn't need to be a formal asset register, just enough understanding to plan. This design keeps the inventory as light as that allows, but owned and kept current, because the plan will be revised for years.

  • NCSCNext steps in preparing for post-quantum cryptography (white paper, updated August 2024) and Using TLS to protect data (version 1.2, 15 October 2026)

    The NCSC recommends ML-KEM-768 and ML-DSA-65 for most uses, treats hybrid post-quantum and traditional schemes as an interim step, and suits SLH-DSA or carefully managed LMS and XMSS to firmware and software signing. Its TLS guidance lists hybrid key exchange groups such as X25519MLKEM768, asks you to enable a post-quantum key exchange as soon as your software supports it, and doesn't yet recommend post-quantum certificates. The classification rules in the inventory follow these documents, held in the retrieval index so every classification cites them.

  • NCSCCyber Assessment Framework v4.0, where the NIS Regulations apply

    For operators of essential services, the inventory supports asset management (A3) and supply chain (A4), including A4.b, which expects suppliers to understand the third-party components in the software they provide. The agents are a new system too: they need their own access control, logging and a place in the CAF self-assessment.

  • FCA and Bank of EnglandFCA 'Act now to be resilient in the quantum future' (4 November 2026) and the G7 Cyber Expert Group roadmap (January 2026)

    If you're FCA-regulated: the FCA expects firms to build an accurate picture of where and how cryptography is used as a first step, to follow the NCSC milestones without waiting for them, and for senior managers to commit enough time and money. The G7 group, co-chaired by the Bank of England, set a non-binding 2035 planning horizon for the financial sector. Keep the inventory and plan in a form you could show your supervisor.

  • ICOUK GDPR Article 32: security of processing

    Security must take account of the state of the art and the risks. For personal data that must stay confidential for many years, harvest-now-decrypt-later is a risk to weigh now, so long-lived personal data is one of the priority factors. The discovery tools also read commit history, which names developers: keep findings to what the plan needs and control who sees them.

  • NISTFIPS 203 (ML-KEM), FIPS 204 (ML-DSA) and FIPS 205 (SLH-DSA), August 2024

    The standards the NCSC's recommendations are built on. NIST selected HQC as a backup key encapsulation algorithm in March 2025, and FN-DSA (from Falcon) is still going through standardisation. NIST says it will remove quantum-vulnerable algorithms from its standards by 2035. The inventory records algorithm names exactly, so new standards can be added without reclassifying everything.

The solution

Showing AWSAzuresovereign / on-prem services. Switch with the toggle; every diagram and table on this page follows it.

Post-quantum cryptography inventory: reference architecture
  1. 01Sources

    • Code repositories and build pipelines
    • Certificate stores, PKI and key managers
    • Your scanners' TLS and network results
    • Supplier contracts, product documents and statements
  2. 02Intake

    • Lambda + EventBridge SchedulerAzure Functions (timer trigger)Kubernetes CronJobs, or n8nRead-only collectors
    • AWS Config, ACM, KMS and Private CA listingsAzure Resource Graph and Key Vault listingsYour PKI's and key manager's own APIsCloud keys and certificates
    • Amazon S3Blob StorageCeph, or IONOS S3 Object StorageEvidence store
  3. 03Intelligence

    • Bedrock Knowledge BasesFoundry IQ (Azure AI Search)OpenSearch, or PostgreSQL with pgvectorGuidance and supplier document index
    • Agent
      Bedrock AgentCoreFoundry Agent ServiceLangGraph on Kubernetes, with open-weight models via vLLMDiscovery and classification agent
    • Agent
      Bedrock AgentCoreFoundry Agent ServiceLangGraph on Kubernetes, with open-weight models via vLLMSupplier evidence agent
  4. 04Orchestration

    • Step FunctionsLogic Apps / Durable FunctionsTemporalOwner review workflow
    • EventBridge + SQSEvent Grid + Service BusApache Kafka or RabbitMQEvents and queues
  5. 05Systems of record

    • Aurora PostgreSQLAzure Database for PostgreSQLPostgreSQLCryptographic inventory (CycloneDX CBOM)
    • Your CMDB and service catalogue
    • Change management in your ITSM tool
  6. 06People

    • Person
      System owners: confirm findings, set priority
    • Person
      Inventory owner: keeps the record true
    • Person
      Change board and risk committee: approve changes and the plan
  • Cloud or platform service (AWSAzuresovereign / on-prem)
  • AI agent
  • A person decides
  • Your existing systems
  • Outside your organisation

Components, side by side

Post-quantum cryptography inventory: components on AWS, Azure and a sovereign or on-prem stack
LayerAWSAzureSovereign / on-prem
Read-only collectorsEach collector has one read-only job: list repositories, list certificates, export scan results. They send findings and short code snippets, not whole repositories, unless you choose otherwise.AWS Lambda with EventBridge Scheduler, inside your network or VPCAzure Functions, inside your network or VNetKubernetes CronJobs, or n8n
Code and configuration searchPattern searches find candidate uses fast; the agent reads the surrounding code to work out what is really used, through which library, and for what.Your code scanning tools, plus the agent reading flagged files through read-only repository accessYour code scanning tools, plus the agent reading flagged files through read-only repository accessYour code scanning tools, plus the agent reading flagged files through read-only repository access
Cloud keys and certificatesMetadata only: algorithm, key size, issuer, expiry, where it's used. The collectors' roles can't read or export private keys.AWS Config, AWS Certificate Manager, AWS KMS and AWS Private CA list APIsAzure Resource Graph, Azure Key Vault certificate and key listingsYour PKI's and key manager's own APIs, and your HSM's audit exports
Reading supplier documentsContracts, product security statements, data sheets and questionnaire answers, with page references kept.Amazon Textract, or Bedrock Data Automation (processes London requests in eu-west-2; re-check before relying on it)Azure Content Understanding (includes Document Intelligence)Open-source parsing (e.g. Docling) plus an open-weight vision model
Guidance and document index (retrieval)Holds the NCSC and NIST documents your rules follow, your own crypto policy, and supplier documents. Every classification cites the rule it applied.Bedrock Knowledge BasesFoundry IQ, built on Azure AI SearchOpenSearch, or PostgreSQL with pgvector
Reasoning and classificationBoth clouds offer a choice of models, including Claude. Many organisations won't send source code outside their estate; open-weight models on your own GPUs make that possible.Amazon BedrockMicrosoft FoundryOpen-weight models served with vLLM on your own GPUs
Agent runtimeThe original Bedrock Agents closed to new customers on 30 July 2026; new builds use AgentCore.Amazon Bedrock AgentCoreFoundry Agent ServiceAn open-source agent framework (e.g. LangGraph) on Kubernetes
Inventory storeOne row per use of cryptography, with evidence, classification, owner, confirmation and history. Exportable in the CycloneDX CBOM format, so the record isn't tied to any tool.Amazon Aurora PostgreSQLAzure Database for PostgreSQLPostgreSQL
Owner reviewOwners confirm or correct findings where they already work. Any change that follows goes through normal change management.In your ITSM or GRC toolIn your ITSM or GRC toolIn your ITSM or GRC tool
Workflow and eventsNew certificates, repositories and suppliers raise events, so the inventory keeps up without another big project.AWS Step Functions, EventBridge, SQSLogic Apps or Durable Functions, Event Grid, Service BusTemporal, Apache Kafka or RabbitMQ
Post-quantum options on each platform (for the plan, not the AI)Inputs to the migration plan. People decide which to adopt, test them and roll them out through change control. Confirm each against your own regions and versions.AWS KMS ML-DSA and ML-KEM keys; AWS Private CA ML-DSA certificates; hybrid ML-KEM TLS on the KMS, ACM and Secrets Manager endpointsML-KEM and ML-DSA in Windows 11 and Windows Server 2025 (CNG, generally available November 2025); ML-DSA certificates in AD CS (May 2026 update)Open-source libraries with ML-KEM and ML-DSA (e.g. OpenSSL 3.5)
GuardrailsCode comments and supplier documents can carry text aimed at the agent. The real control is that the agents have no write tools.Bedrock GuardrailsFoundry guardrails (Azure AI Content Safety), including Prompt ShieldsOpen-source guardrails (e.g. NeMo Guardrails, Llama Guard)
Identity, keys, data protectionSeparate read-only identities for each collector and agent, reviewed like privileged accounts.IAM roles per agent, KMS, Secrets ManagerEntra ID workload identities, Key VaultKeycloak or your existing Active Directory; OpenBao or HashiCorp Vault; an HSM
Monitoring and auditLog every finding, confirmation, correction and priority decision, and every refused tool call.CloudWatch, CloudTrailAzure Monitor, Log AnalyticsPrometheus, Grafana, OpenTelemetry
UK data residencySource code and a map of your weak points are sensitive. Keep them in the UK and restrict who can read the inventory.eu-west-2 (London)UK South / UK WestYour own UK data centre, or a UK provider

On a phone, the table shows the platform you pick. Sovereign / on-prem means open, portable components you can run in your own data centre or with a UK or European provider; IONOS is shown as one example, and others exist. What sovereign cloud means →

Hybrid and on-prem

Many organisations keep core systems and sensitive data on their own servers. This is how the same design works across both.

Stays on-prem

Code repositories, HSMs, the internal PKI, network appliances and plant equipment stay where they are. Private keys never leave their stores, and the agents never see them.

Uses cloud AI

Classification, the guidance index and the supplier evidence agent can run in a UK cloud region. If source code must not leave your estate, run the discovery agent on your own GPUs with open-weight models and send only classified findings to the cloud.

How they connect

Collectors inside your network send findings outbound over AWS Direct Connect, Azure ExpressRoute or a VPN. No inbound path from the cloud reaches a repository, key store or device.

If the link drops

Discovery pauses and picks up where it left off. The inventory stays readable on-prem, and nothing in production depends on the AI being up.

The agents

What each agent may do through its tools, what it may not, and where a person signs off. The limits are enforced by the platform, not the prompt.

Discovery and classification agent

May do

  • Read code, build files and configuration through read-only repository access, and read your scanners' results
  • List certificates and keys (metadata only) from certificate stores, key managers and cloud accounts
  • Classify each use of cryptography against the rules in the index, citing the rule and the evidence
  • Suggest a draft priority with reasons: data lifetime, exposure, and how hard it is to change
  • Create review tasks for system owners and flag likely duplicates

May not do

  • Change, rotate, revoke or issue any key or certificate
  • Change code, configuration or settings, or open a pull request that would
  • Read or export private keys, secrets or credentials
  • Run active scans against systems; scanning stays with your scanners on their approved schedule
  • Mark a finding as confirmed, or set a priority
  • Follow instructions found in code, comments, file names or configuration

Where a person signs offThe system owner confirms or corrects every finding and sets the priority. The inventory owner signs off the inventory each quarter. Every change that follows goes through your change board, and the migration plan is approved by the risk committee and the board. The agent's permissions are enforced by the platform's identity and policy controls and read-only access, not by instructions in a prompt.

Supplier evidence agent

May do

  • Read supplier contracts, product documents, security statements and questionnaire answers in the evidence store
  • Extract what each supplier says about its cryptography and post-quantum plans, quoting the page
  • Draft follow-up questions for the supplier's owner to review and send
  • Flag contracts that don't cover cryptographic updates or support end dates

May not do

  • Contact a supplier, or send anything outside the organisation
  • Treat a supplier's claim as verified; claims are recorded as 'supplier says'
  • Search the open web or use sources you haven't approved
  • Follow instructions found inside a supplier's document

Where a person signs offThe supplier's owner reviews and sends every question, and procurement decides on contract changes. Supplier documents are treated as untrusted input, and the agent has no tools that could act on anything they say.

Middleware and integration

Every path into your estate is read-only. Collectors run inside your network with their own scoped identities and push findings out; nothing in the cloud can reach a repository, key store or device. Each finding carries a fingerprint of where it was found, so a re-scan updates the record rather than creating a duplicate.

The inventory is linked to your CMDB by service ID, so every finding has a system and an owner. Where a system has no owner in the CMDB, the finding goes to an unowned queue that the inventory owner works through, rather than disappearing.

There is no write path from the AI to anything that matters. When an owner decides a change is needed, they raise it in your ITSM tool like any other change, and it's tested and approved there. If the AI is switched off, the inventory and plan remain, and owners keep them current by hand.

Process and people

  • A named inventory owner, usually in security architecture, who is accountable for the record being true and current, with a quarterly sign-off.
  • Classification rules written by people from the NCSC guidance and your own crypto policy, held under change control and versioned, so a reclassification can be traced to a rule change.
  • System owners confirm findings within an agreed time; overdue confirmations are reported to the CISO, not left open.
  • Priorities set by people using agreed factors: how long the data must stay confidential, exposure to the internet or partners, signing roots and long-lived devices, and how hard the change is.
  • Supplier owners ask every critical supplier for its post-quantum roadmap, and new contracts include support for algorithm updates.
  • The plan is refreshed at least yearly against the 2028, 2031 and 2035 milestones and taken to the board.

Delivery plan

  1. 3–4 weeks

    Discovery

    Agree scope, the classification rules and the priority factors. Pick one business service to trace end to end: its code, certificates, network path, devices and suppliers. Set up read-only access with security architecture.

  2. Gate · must be true to passRules approved, read-only identities reviewed, inventory owner named, system owners for the pilot service agreed.

  3. 8–10 weeks

    Pilot

    Run discovery on the pilot service. Owners confirm every finding. Compare with what the team knew before and with a manual sample.

  4. Gate · must be true to passFinding precision and coverage within agreed limits, no write access anywhere, unknowns listed with next steps, CISO sign-off.

  5. 6–8 weeks

    Production

    Extend to the rest of the high-priority services, switch on event-driven updates, and start supplier questions.

  6. Gate · must be true to passMonitoring and audit in place, owners trained, unowned queue being worked, first draft plan reviewed by the risk committee.

  7. Ongoing

    Scale

    Cover the full estate, keep the inventory current, and track migrations against the plan towards 2031 and 2035.

  8. Gate · must be true to passEach new area passes the same confirmation gate; the plan is approved by the board ahead of 2028.

Roles and RACI

Who is responsible, accountable, consulted and informed, by activity
ActivityCISOInventory ownerSolutions architectI can fill thisTechnical PMI can fill thisEngineersI can fill thisSystem ownersProcurement
Business case and scopeAccountableResponsibleConsultedConsultedInformedConsultedInformed
Classification rules and priority factorsAccountableResponsibleConsultedInformedConsultedConsultedInformed
Target architecture and read-only accessConsultedConsultedAccountable and ResponsibleConsultedConsultedInformedInformed
Build and integrationInformedConsultedAccountableResponsibleResponsibleInformedInformed
Confirming findingsInformedAccountableInformedConsultedConsultedResponsibleInformed
Supplier questions and contract changesInformedConsultedConsultedConsultedInformedConsultedAccountable and Responsible
Migration plan and prioritiesAccountableResponsibleConsultedConsultedInformedConsultedConsulted
Run and keep currentInformedAccountableConsultedConsultedResponsibleResponsibleInformed

Business case and scope

CISO
A · Accountable
Inventory owner
R · Responsible
Solutions architect
C · Consulted
Technical PM
C · Consulted
Engineers
I · Informed
System owners
C · Consulted
Procurement
I · Informed

Classification rules and priority factors

CISO
A · Accountable
Inventory owner
R · Responsible
Solutions architect
C · Consulted
Technical PM
I · Informed
Engineers
C · Consulted
System owners
C · Consulted
Procurement
I · Informed

Target architecture and read-only access

CISO
C · Consulted
Inventory owner
C · Consulted
Solutions architect
A/R · Accountable and Responsible
Technical PM
C · Consulted
Engineers
C · Consulted
System owners
I · Informed
Procurement
I · Informed

Build and integration

CISO
I · Informed
Inventory owner
C · Consulted
Solutions architect
A · Accountable
Technical PM
R · Responsible
Engineers
R · Responsible
System owners
I · Informed
Procurement
I · Informed

Confirming findings

CISO
I · Informed
Inventory owner
A · Accountable
Solutions architect
I · Informed
Technical PM
C · Consulted
Engineers
C · Consulted
System owners
R · Responsible
Procurement
I · Informed

Supplier questions and contract changes

CISO
I · Informed
Inventory owner
C · Consulted
Solutions architect
C · Consulted
Technical PM
C · Consulted
Engineers
I · Informed
System owners
C · Consulted
Procurement
A/R · Accountable and Responsible

Migration plan and priorities

CISO
A · Accountable
Inventory owner
R · Responsible
Solutions architect
C · Consulted
Technical PM
C · Consulted
Engineers
I · Informed
System owners
C · Consulted
Procurement
C · Consulted

Run and keep current

CISO
I · Informed
Inventory owner
A · Accountable
Solutions architect
C · Consulted
Technical PM
C · Consulted
Engineers
R · Responsible
System owners
R · Responsible
Procurement
I · Informed

R ResponsibleA AccountableC ConsultedI Informed· not involved

Where I'd fit

Option A

Lead the architecture

If there's no architect on the programme, I'd own the design end to end: the read-only discovery boundary, the inventory model, the classification rules with your security team, the links to your CMDB and change process, and the gates. I'd work alongside your inventory owner and report to your programme board.

Option B

Support your architect

If your partner or your own team already has an architect, I'd take on the agents, the collectors and the integrations under their lead, and give them a second senior opinion on how the inventory stays current after the first push, and on how the plan holds up against your suppliers and long-lived devices.

Where this goes wrong

  1. Goes wrong

    A pattern search finds 'RSA' in thousands of places, and owners are flooded with false findings.

    How the design avoids it

    The agent reads the context and cites evidence, precision is measured weekly, and owners confirm before anything counts.

  2. Goes wrong

    The inventory is built once as a project spreadsheet and is out of date within six months.

    How the design avoids it

    A living record with a named owner, events from new certificates, repositories and suppliers, and a quarterly sign-off.

  3. Goes wrong

    The agent is given rights to rotate certificates 'while it's there'.

    How the design avoids it

    No write tools at all. Changes go through your change board, tested like any other change.

  4. Goes wrong

    Embedded devices, plant equipment and supplier-run services are left out because they can't be scanned.

    How the design avoids it

    Unknowns are a tracked category with an owner, and supplier questions cover what you can't see.

  5. Goes wrong

    Priorities follow the algorithm, not the data, so long-lived secrets wait behind easy wins.

    How the design avoids it

    Priority factors set by people, starting with how long the data must stay confidential.

On the horizon

Changes already announced or under way that affect this design. More in the UK horizon scan.

  1. 31 March 2027
    The NCSC's post-quantum cryptography pilot, part of its Assured Cyber Security Consultancy scheme, is expected to run to this date before review. It assures consultancies for discovery and migration planning, and for advice.

    If you bring in outside help for discovery, ask whether it's assured under the NCSC scheme, and make sure what it produces lands in your inventory, not a separate report.

  2. Not yet dated
    Post-quantum certificates for TLS, FN-DSA (FIPS 206) and the HQC standard are still being finalised. The NCSC says it will update its TLS guidance once post-quantum authentication is standardised.

    Record algorithms precisely and keep certificate lifetimes short, so new standards mean a re-run of the rules, not a new inventory.

  3. 2028
    The NCSC's first milestone: migration goals defined, discovery complete and an initial plan, including supplier dependencies.

    Have the inventory confirmed for high-priority systems and the plan in front of the board before then.

  4. 2031
    The NCSC's second milestone: highest-priority migrations complete.

    Start with what's easiest to switch on, such as hybrid key exchange where your software already supports it, while the harder changes are planned.

  5. 2035
    The NCSC's final milestone, and the date NIST says it will remove quantum-vulnerable algorithms from its standards.

    Ask suppliers now for dates, and stop buying products that can't be updated before then.

Questions to ask your partner or vendor

Good answers are specific. Vague answers to any of these are worth following up.

Copy them into your next supplier meeting

  1. Can any part of your tooling change a key, certificate or configuration? Show us how that's prevented.
  2. How will you measure finding precision and coverage on our estate, not a demo repository?
  3. Where does our source code go during discovery, and is any of it used to train a model?
  4. How do embedded devices and supplier-run services appear in the inventory if they can't be scanned?
  5. Who owns the inventory after you leave, and how does it stay current?
  6. Can we export the inventory in an open format if we change tools?

Planning something like this?

Whether you need someone to lead the design or to support the architect you already have, let's talk it through.

Sam Naseem
Sam NaseemBirmingham, UK · UK & Europe
Available now