Start now →

The Cryptographic Bill of Materials: Auditing Your Quantum Exposure

By The_Architect · Published June 1, 2026 · 9 min read · Source: Level Up Coding
Security
The Cryptographic Bill of Materials: Auditing Your Quantum Exposure

Every system you run has cryptographic dependencies you’ve never inventoried. When quantum computers break RSA, you’ll need that inventory yesterday.

You know exactly which open-source libraries your application depends on. You have an SBOM. You scan for CVEs weekly. You patch critical vulnerabilities within 48 hours.

Now tell me: which cryptographic algorithms does your system use? All of them. Not just the ones you explicitly chose — the ones buried in your TLS configuration, your JWT library, your database connection strings, your certificate chain, your key derivation functions, your random number generators.

Most architects can’t answer that question. And that’s a problem, because every RSA key, every ECDH exchange, every SHA-256 hash in your system has an expiration date. It’s called Q-Day — the day a cryptographically relevant quantum computer can break these algorithms in polynomial time.

The timeline is debatable. The preparation isn’t. You need a Cryptographic Bill of Materials before you need a migration plan. You can’t migrate what you haven’t inventoried.

Part 5 of The Quantum-Centric Architect. In Part 4, we ran our first quantum circuit. Now we turn to the defensive side: understanding and cataloging your quantum exposure.

What Is a Cryptographic Bill of Materials?

A CBOM is a complete inventory of every cryptographic algorithm, protocol, key, and certificate used across your systems. An SBOM for cryptography — a machine-readable catalog that answers:

Why this matters now: Nation-state adversaries are executing “harvest now, decrypt later” campaigns — capturing encrypted traffic today, banking on decrypting it when quantum computers mature. If your data needs to remain confidential for 10+ years, your quantum exposure window is already open.

The Harvest Now, Decrypt Later Threat

This isn’t theoretical. Intelligence agencies have publicly acknowledged the strategy. The math is simple:

Shelf life of your secrets (how long data must stay confidential):

Time to quantum threat (estimates vary):

If shelf life > time to quantum threat, you’re already exposed.

A medical record encrypted today with RSA-2048 and captured by an adversary will be readable when quantum computers mature — potentially while the patient is still alive. That’s not a future problem. That’s a present vulnerability with a delayed exploit.

The Five Layers of Cryptographic Exposure

Most architects think about cryptography at one or two layers. Quantum exposure exists at all five.

Layer 1: Transport (TLS/mTLS)

Every HTTPS connection negotiates a cipher suite. Your TLS configuration determines which key exchange, authentication, and encryption algorithms are used.

What to inventory:

Quantum-vulnerable components:

Quantum-safe components:

The catch: Even if your symmetric encryption is safe, the key exchange that established the session key is not. Captured TLS sessions can be decrypted once the ephemeral key exchange is broken.

Layer 2: Data at Rest

Databases, file systems, backups, archives — everything stored uses cryptography.

What to inventory:

Quantum exposure: Symmetric encryption (AES-256) is largely safe. But key wrapping often uses RSA or ECDH. If your KMS wraps data keys with RSA-2048, the data keys are quantum-vulnerable even if the data encryption itself isn’t.

Layer 3: Identity and Authentication

Tokens, certificates, signatures — the trust infrastructure.

What to inventory:

Quantum exposure: Nearly all identity infrastructure relies on asymmetric cryptography. JWT signed with RS256 can be forged once RSA is broken. Certificate-based authentication becomes meaningless. Code signatures can be spoofed.

Layer 4: Application-Level Cryptography

Custom encryption, hashing, digital signatures within application logic.

What to inventory:

Quantum exposure: Password hashes using SHA-256 get a quadratic speedup from Grover’s algorithm — reducing effective security from 256-bit to 128-bit. Still adequate, but worth noting. RSA-based document signatures are fully vulnerable.

Layer 5: Third-Party and Supply Chain

Dependencies, APIs, cloud services — cryptography you don’t control.

What to inventory:

Quantum exposure: You inherit the quantum vulnerability of every third party. If your payment processor uses RSA-2048 for transaction encryption, your payment data is quantum-vulnerable regardless of your own cryptographic choices.

Building Your CBOM: A Practical Approach

Step 1: Automated Discovery

Start with what you can find automatically.

# Scan TLS configurations across your infrastructure
nmap --script ssl-enum-ciphers -p 443 your-domain.com

# Inventory certificates
openssl s_client -connect your-domain.com:443 2>/dev/null | \
openssl x509 -noout -text | grep -E "(Algorithm|Public-Key)"
# Scan code for cryptographic library usage
grep -rn "from cryptography\|import crypto\|require('crypto')" ./src/
# Check JWT configurations
grep -rn "RS256\|RS384\|RS512\|ES256\|PS256" ./src/

Tools for automated CBOM generation:

Step 2: Manual Inventory of Hidden Crypto

Automated tools miss cryptography that’s:

Walk through each system boundary and ask: “What cryptography protects data crossing this boundary?”

Step 3: Risk Classification

Not all quantum exposure is equal. Classify by:

https://medium.com/media/abdad02b014755baa98c195cce14bac0/href

Step 4: Dependency Mapping

For each quantum-vulnerable component, map:

This dependency map becomes your migration sequencing guide.

The CBOM Format

Structure your CBOM as machine-readable data:

{
"system": "payment-service",
"components": [
{
"id": "tls-ingress",
"layer": "transport",
"algorithm": "ECDHE-RSA-AES256-GCM-SHA384",
"key_exchange": "ECDHE",
"authentication": "RSA-2048",
"encryption": "AES-256-GCM",
"quantum_vulnerable": true,
"vulnerability": "key_exchange_and_authentication",
"data_sensitivity": "financial_transactions",
"confidentiality_requirement_years": 25,
"risk_level": "critical",
"migration_complexity": "medium",
"dependencies": ["load-balancer-config", "certificate-authority"]
}
]
}

Crypto Agility: The Architecture That Makes Migration Possible

A CBOM is useless without the ability to act on it. Crypto agility is the architectural property that allows you to swap cryptographic algorithms without rewriting your application.

Principles:

  1. Abstract cryptographic operations behind interfaces — never call algorithm-specific APIs directly
  2. Externalize algorithm selection to configuration — not hardcoded in source
  3. Support algorithm negotiation in protocols — allow gradual migration
  4. Maintain backward compatibility during transitions — old and new must coexist
  5. Automate certificate rotation — manual rotation won’t scale during migration

The test: Can you change your JWT signing algorithm from RS256 to a post-quantum algorithm by changing a configuration value? If the answer is “no, that requires code changes across 47 services,” you have a crypto agility problem.

Key Takeaways:

Action Items:

  1. Run automated crypto discovery against your production infrastructure (TLS configs, JWT algorithms, KMS settings)
  2. Inventory your third-party dependencies’ cryptographic choices — you inherit their quantum vulnerability
  3. Classify your data by confidentiality requirement timeline and map it against quantum threat estimates
  4. Audit your key management system — check if key wrapping uses quantum-vulnerable asymmetric algorithms
  5. Test your crypto agility: can you change your JWT signing algorithm without code changes across services?
  6. Start your CBOM in machine-readable format (JSON/YAML) and assign ownership for each cryptographic component

Tools and Resources

CBOM Discovery:

Standards and Frameworks:

Quantum Threat Assessment:

What’s Next

You now have the framework for understanding your quantum exposure. Part 6 covers Post-Quantum Cryptography in Practice — the specific algorithms (ML-KEM, ML-DSA, SLH-DSA) that NIST has standardized, how they perform, and the practical migration playbook for moving from quantum-vulnerable to quantum-safe.

Coming up:

Series Navigation

Previous Article: Run Your First Quantum Circuit: A Hands-On Guide (Part 4)

Next Article: Post-Quantum Cryptography in Practice (Part 6 — Coming soon!)

This is Part 5 of The Quantum-Centric Architect series. Read Part 0: Why Architects Need to Think About Quantum Now to start from the beginning.

Daniel Stauffer is an Enterprise Architect specializing in quantum-safe architecture and post-quantum cryptography migration strategy. He writes about emerging technology risk at @the-architect-ds.

#QuantumComputing #Cybersecurity #PostQuantumCryptography #SoftwareArchitecture #RiskManagement


The Cryptographic Bill of Materials: Auditing Your Quantum Exposure was originally published in Level Up Coding on Medium, where people are continuing the conversation by highlighting and responding to this story.

This article was originally published on Level Up Coding and is republished here under RSS syndication for informational purposes. All rights and intellectual property remain with the original author. If you are the author and wish to have this article removed, please contact us at [email protected].

NexaPay — Accept Card Payments, Receive Crypto

No KYC · Instant Settlement · Visa, Mastercard, Apple Pay, Google Pay

Get Started →