Cryptographic inventory: how to build one for PQC
A cryptographic inventory is a list of every place your organization uses cryptography: which algorithm and key size, in which protocol, on which system, who owns it, how long the data it protects must stay secret, and which vendor supplies it. It is the first step of any post-quantum migration, because you cannot replace RSA and elliptic curves until you know where they are.
The UK NCSC asks organizations to finish a full discovery exercise by 2028, and NIST IR 8547 says migration should begin "with cryptographic inventories". For where the inventory sits in the bigger plan, see our PQC migration roadmap.
Step 1: decide what to record
Start with a template. Each row is one use of cryptography on one system. These are the fields that matter for a post-quantum plan:
| Field | Example | Why it matters |
|---|---|---|
| System or asset | Customer portal load balancer | Links the row to your asset register |
| Algorithm and variant | ECDHE P-256, RSA-2048 signature | The quantum-vulnerable part is the public-key algorithm |
| Key size or parameter set | 2048-bit, P-256, ML-KEM-768 | Separates "weak" from "fine for now" |
| Protocol and version | TLS 1.2, SSH, IKEv2, S/MIME | Decides whether a hybrid option exists yet |
| Library or module and version | OpenSSL version, HSM firmware | Tells you what has to be upgraded |
| Owner | Named team or person | Someone has to make the change |
| Data lifetime | Contracts: 10 years | Long-lived data moves first |
| Vendor or supplier | Cloud provider, appliance maker | Who you need a post-quantum date from |
| Expiry or renewal date | Certificate expires 2027 | A natural moment to switch |
| Migration strategy | In-place, replace, retire | Filled in during planning |
The NCSC adds three things worth capturing early: version information and patch levels, the dependencies between components, and how data is protected both in transit and at rest. The CycloneDX CBOM guide makes the case for detail: knowing a system uses "AES" is less useful than knowing it uses AES-128-GCM, and an RSA certificate that expires in a week carries less risk than one valid for 20 years.
Keep symmetric algorithms and hashes in the inventory too, but flag public-key algorithms first. NIST IR 8547 deprecates RSA, ECDSA, EdDSA, Diffie-Hellman and MQV after 2030 and disallows them after 2035.
Step 2: know where cryptography hides
Most teams find their web certificates quickly and miss the rest. Check each of these:
| Where | What to look for | Source that names it |
|---|---|---|
| TLS | Web servers, APIs, load balancers, and also SMTP via STARTTLS, IMAPS, POP3S and Remote Desktop | NIST SP 1800-38B |
| VPN | IPsec and IKEv2 gateways, remote access clients, site-to-site tunnels | NIST SP 1800-38B, NCSC |
| SSH | Servers, jump hosts, deploy keys, automation accounts, network gear | NIST SP 1800-38B |
| S/MIME and OpenPGP keys, mail server TLS, archived mail | NIST IR 8547 | |
| Code signing | Build pipelines, signed installers, firmware update chains | NIST IR 8547 |
| Keystores and key files | PKCS#12, Java keystores, X.509 certificates, OpenSSH keys, PKCS#1 and PKCS#8 files | NIST SP 1800-38B |
| HSMs and TPMs | Key storage for PKI, payments, disk encryption | NIST IR 8547 |
| IoT and industrial devices | Firmware, field sensors, devices with a long service life | NCSC |
| Tokens | Smart cards and hardware keys issued to staff | NCSC |
| Backups and archives | Encrypted backup sets, the keys that protect them, offsite copies | Your own data lifetimes |
Backups deserve a special mention. They often hold your longest-lived data, which makes them a natural target for harvest now, decrypt later, and the keys that protect them are easy to forget.
Also list the cryptographic libraries your software links to. NIST names OpenSSL, BoringSSL and Libsodium as examples; a library upgrade can fix dozens of systems at once.
Step 3: choose your discovery methods
No single method finds everything. The NCSC suggests both a top-down view, starting from your core services and their dependencies, and a bottom-up look at what is actually on the network. NIST's SP 1800-38B practice guide, a preliminary draft from its National Cybersecurity Center of Excellence, tested a combination of methods:
- Passive network monitoring. Analyse mirrored traffic or uploaded packet captures to see which protocols and cipher suites are really negotiated.
- Active scanning. Connect to servers and ask what they support. NIST found active scanning "obtains more accurate measurements" of the protocols a server supports than passive monitoring.
- Host and endpoint scanning. Search file systems, binaries, running processes and keystores for keys, certificates and crypto libraries, including software you have no source code for.
- Code scanning. Run queries for vulnerable algorithms in your repositories and in CI on each pull request. NIST's lab produced results in SARIF, a standard format for static analysis output.
- Existing records. Pull from your configuration management database, certificate management tools, SIEM and GRC platform. NIST's approach builds on these instead of starting from zero.
- Supplier questions. For SaaS, managed services and appliances you cannot scan, ask the vendor which algorithms they use and when post-quantum options arrive. The NCSC says managed service providers should run the same assessment for the services they provide you.
Step 4: store it as a CBOM
A spreadsheet works to start. For anything larger, a cryptographic bill of materials (CBOM) makes the inventory machine readable so tools can query it.
CBOM is part of the OWASP CycloneDX standard, supported from CycloneDX 1.6 onward; the current version is 1.7, and CycloneDX is also published as Ecma standard ECMA-424. A CBOM extends a software bill of materials (SBOM) with "cryptographic-asset" components. The asset types include algorithm, certificate, protocol, private key, public key and secret key.
Its most useful idea is the split between "provides" and "uses". A library provides an algorithm; an application uses it. That lets you trace one weak algorithm to every application that depends on it.
Here is a trimmed algorithm entry from the CycloneDX CBOM guide. Note the quantum security level of 0 for RSA:
{
"name": "RSA-PKCS1-1.5-SHA-512-2048",
"type": "cryptographic-asset",
"cryptoProperties": {
"assetType": "algorithm",
"algorithmProperties": {
"algorithmFamily": "RSASSA-PKCS1",
"primitive": "signature",
"cryptoFunctions": ["sign", "verify"],
"nistQuantumSecurityLevel": 0
}
}
}
NIST's SP 1800-38B draft used the CycloneDX model as the basis for its CBOM examples, while noting the model was still developing at the time.
Step 5: rank and keep it current
Sort the inventory by data lifetime first, then by how hard each item is to change. Anything protecting data that must stay secret past 2030 and anything you cannot update remotely go to the top. That ranked list is the input to the prioritization phase of your migration plan.
Then keep it alive. Add discovery to CI, to procurement checklists and to certificate renewals, so new cryptography lands in the inventory the day it arrives. NIST SP 1800-38B describes the inventory as something that helps you "react quickly to security issues involving cryptography", which only works if it is current.
Gotchas
- Counting certificates, not uses. One wildcard certificate may sit on 40 servers. Record each use.
- Missing negotiated settings. A server that supports post-quantum key exchange may still fall back to classical. Record what is negotiated, not only what is configured.
- Forgetting suppliers. Much of your cryptography lives in services you do not run.
- Treating it as a one-off. A snapshot from 2026 will be wrong by 2027.
Frequently asked questions
What is a cryptographic inventory?
A record of every algorithm, key, certificate, protocol and library your organization uses, where it is used, who owns it and what data it protects.
What is the difference between a CBOM and an SBOM?
An SBOM lists the software components in a product. A CBOM adds the cryptographic assets those components provide or use, such as algorithms, keys and certificates, in the same CycloneDX format.
Is there a cryptographic inventory template?
The field table above is a practical starting point. For a machine-readable format, the CycloneDX CBOM schema is an open standard, and NIST used it as the basis for its draft examples.
Which cryptographic inventory tools should I use?
Use a mix: an active scanner, network traffic analysis, host scanning and code scanning in CI. NIST's draft guide tested several commercial and open-source discovery tools side by side.
When should the inventory be finished?
The NCSC asks for full discovery and an initial migration plan by 2028.
Where Secria fits
Mail is one of the rows that shows up in every inventory, and one of the data stores with the longest lifetime. Secria is a private workspace: Mail, Calendar, Drive and Pages, plus Secria VPN, in one account. Secria Mail uses post-quantum encryption (ML-KEM-1024 with X25519) on every plan, and every message in your mailbox is stored with zero-access encryption, locked with a key made from your password, on your device. Secria VPN adds an ML-KEM-1024 key to WireGuard on every connection.
For teams of 3 or more, Secria for teams runs mail, calendar, files and pages on your own domain, with SPF, DKIM and DMARC checked and two-step sign-in with a passkey or YubiKey. You can leave any time with all your mail as MBOX. Read how Secria's security works or talk to us about a team setup.
Sources
- NIST NCCoE, SP 1800-38: Migration to Post-Quantum Cryptography, Volume B, Quantum Readiness: Cryptographic Discovery (preliminary draft, December 2023)
- NIST, IR 8547: Transition to post-quantum cryptography standards (October 2026)
- UK NCSC, Timelines for migration to post-quantum cryptography
- OWASP CycloneDX, Cryptography Bill of Materials (CBOM) and Authoritative Guide to CBOM, Second Edition (October 2025, CC BY 4.0)
- OWASP CycloneDX, Specification overview
Secria fact-checks every post against primary sources. Spotted something wrong or out of date? Email hq@secria.me and we will correct it.