A cryptographic inventory is a structured, maintained record of where and how an organization uses cryptography: which algorithms, key lengths, protocols, certificates, libraries and hardware modules protect which systems and data. In quantum security, it is the mandatory first step of quantum-safe migration, because an organization cannot replace vulnerable public-key algorithms such as RSA and elliptic-curve cryptography until it knows where they are.
When the inventory is expressed in a machine-readable format attached to software components, it is often called a cryptographic bill of materials (CBOM). Government migration roadmaps and guidance for post-quantum cryptography treat a current inventory as a prerequisite for prioritization, budgeting and crypto-agility.
What a cryptographic inventory records
A cryptographic inventory records each cryptographic asset together with the context needed to judge its risk. A bare list of algorithm names is not enough; the inventory must show where an algorithm is used, what it protects and how long that data must stay confidential.
The following table lists the core fields of a useful inventory entry and why each one matters for migration planning.
| Field | Example value | Why it matters |
|---|---|---|
| Algorithm and parameters | RSA-2048, ECDSA P-256, AES-256-GCM | Identifies quantum-vulnerable primitives |
| Function | Key exchange, signature, encryption, hashing | Determines the replacement algorithm |
| Location | Application, library, device, protocol endpoint | Shows where changes must be made |
| Owner | Responsible team or vendor | Assigns accountability for migration |
| Data sensitivity and lifetime | Health records kept for 25 years | Drives priority under harvest-now risk |
| Key and certificate details | Issuer, expiry, storage in HSM | Reveals renewal and rotation constraints |
| Implementation source | OpenSSL version, firmware, cloud service | Shows whether an upgrade is possible |
The data lifetime field is critical. Under the harvest now, decrypt later threat, an adversary can record encrypted traffic today and decrypt it once a cryptographically relevant quantum computer exists. Data that must stay secret for ten years or more is therefore already at risk if it travels over RSA or elliptic-curve key exchange.
How organizations build the inventory
Organizations build a cryptographic inventory by combining several discovery methods, because no single technique sees every use of cryptography. Automated tools find most protocol and certificate usage, while interviews and procurement records reveal embedded and third-party cryptography.
| Method | What it finds | Blind spots |
|---|---|---|
| Network traffic analysis | TLS, SSH and IPsec cipher suites in use | Encrypted-at-rest data, offline systems |
| Certificate and key scanning | Certificates, key stores, HSM objects | Algorithms hard-coded in applications |
| Source code analysis | Calls to cryptographic APIs and libraries | Closed-source and vendor components |
| Binary and firmware analysis | Libraries compiled into products | Custom or obfuscated implementations |
| Vendor questionnaires | Cryptography inside purchased products | Accuracy depends on supplier answers |
| Configuration review | Settings in servers, databases, cloud services | Defaults not explicitly configured |
Results from these sources are normalized and deduplicated into a central repository, often linked to the existing configuration management database or software bill of materials. A CBOM in a standard format such as the CycloneDX cryptography extension lets tools exchange the data and track changes per software release.
A mature program treats discovery as continuous, not as a one-time audit. New services, library updates and certificate renewals change the cryptographic landscape every week, so scans are scheduled and integrated into build pipelines.
Using the inventory to prioritize migration
The inventory becomes valuable when it is used to rank systems by quantum risk and to sequence the move to standardized post-quantum algorithms such as ML-KEM and ML-DSA. Mosca’s theorem gives a simple test: if the time data must remain secure plus the time needed to migrate exceeds the time until a large quantum computer appears, the system is already late.
The decision table below shows how inventory attributes translate into migration priority.
| Situation found in the inventory | Priority | Typical action |
|---|---|---|
| Long-lived confidential data over RSA or ECDH | Highest | Deploy hybrid key exchange early |
| Long-lived signatures, such as firmware or root certificates | High | Plan transition to ML-DSA or hash-based signatures |
| Short-lived session data | Medium | Migrate with normal upgrade cycles |
| Symmetric encryption with 256-bit keys | Low | Keep; confirm key length is adequate |
| Unknown or undocumented cryptography | Investigate first | Identify owner and implementation |
Symmetric algorithms and hash functions are affected much less by quantum attacks, since Grover’s algorithm offers only a quadratic speedup. The inventory therefore focuses migration effort on public-key cryptography, where Shor’s algorithm breaks the underlying mathematical problems.
Relation to crypto-agility and other practices
A cryptographic inventory is the visibility layer that makes crypto-agility possible. Crypto-agility is the ability to change algorithms quickly; it depends on knowing exactly where those algorithms are used and on building systems in which algorithm choice is a configuration setting rather than a code rewrite.
The inventory also overlaps with certificate lifecycle management, which tracks certificate issuance and expiry, and with the software bill of materials, which lists software components and versions. It differs from both by focusing on the cryptographic primitives themselves and their security properties. In practice, the three datasets are linked so that a vulnerable library version or an expiring RSA certificate appears in a single risk view.
Common pitfalls
Most failed inventory efforts stall on incomplete coverage or on data that ages faster than it is maintained. The most frequent mistakes are listed below.
- Scanning only network traffic, which misses encrypted storage, backups, code signing and embedded devices.
- Ignoring third-party and vendor cryptography, although much exposure sits inside purchased products and cloud services.
- Recording algorithms without data lifetime, which makes harvest-now risk impossible to assess.
- Treating the inventory as a project deliverable instead of a living dataset with owners and update cycles.
- Overlooking hardware constraints such as smart cards, HSMs and industrial controllers that cannot be upgraded in software.
A realistic expectation is that the first inventory will be partial and imperfect. Its value lies in exposing unknowns early, so that long procurement and hardware replacement cycles can start years before the deadlines set by migration roadmaps such as CNSA 2.0.
Stripped to the essentials
A cryptographic inventory is a complete list of digital locks. It shows every lock an organization uses to protect its information. It also shows where each lock sits and what it guards. Future quantum computers will be able to pick some of these locks easily.
Before anyone can replace the weak locks, they need to find them. The locks hide in websites, apps, devices, backups and purchased products. The inventory is the map that shows what to replace first, starting with the locks that protect secrets meant to last many years.
Where it is applied
A regional health insurer with about 400 internal applications starts preparing for post-quantum cryptography. Its security team combines four discovery methods: network scans of TLS endpoints, a certificate discovery tool, source code analysis of in-house software and questionnaires sent to 60 key vendors. Within six months the resulting inventory contains roughly 9,000 cryptographic assets, about 70 percent of them using RSA or elliptic-curve algorithms.
Linking each entry to data retention rules shows that claims and medical records, which must be kept for decades, travel over RSA key exchange between the insurer and partner hospitals. The team assigns these links the highest migration priority and plans hybrid key exchange for them first. The inventory also reveals 300 hardware tokens that cannot be upgraded, which leads to an early budget request for replacement hardware rather than a surprise several years later.