Every scan Safeguard runs now shows a Cryptography tab. It holds a cryptography bill of materials (CBOM) for the code you scanned: the algorithms called, the X.509 certificates in the repository, fingerprints of public keys, the TLS and SSH cipher suites, and the crypto libraries with the algorithms each one provides. Weak uses are flagged as vulnerabilities, each with a cited reason and a CWE. RSA, ECDSA, ECDH and Diffie-Hellman are marked for post-quantum migration and point to their NIST replacements, ML-KEM and ML-DSA.
That is the product news. The rest of this post is the reason it matters now, and a working plan for using the inventory.
Downloads: Safeguard Cryptography and Post-Quantum (PQC) Readiness whitepaper (PDF) · Safeguard Cryptography and CBOM one-pager (PDF)
It is written for CISOs, AppSec leads and security architects at banks, payment companies, fintechs and SaaS businesses, the teams that will be asked about post-quantum plans by auditors and customers well before any quantum computer forces the question. By the end you should know what NIST has actually decided and by when, what a CBOM contains and how to read one, what the Safeguard Cryptography tab shows, how to turn it into a migration plan, and how it supports the inventory that PCI DSS v4.0 requirement 12.3.3 asks for.
The short answer: what post-quantum readiness means
Post-quantum readiness means three things. You know where your code uses public-key cryptography that a large quantum computer would break (RSA, elliptic curve and Diffie-Hellman). You have a dated plan to move those uses to the NIST post-quantum standards: ML-KEM (FIPS 203) for key establishment, and ML-DSA (FIPS 204) or SLH-DSA (FIPS 205) for signatures. And you can change algorithms again without rewriting every service. NIST's final transition report, IR 8547 (October 2026), deprecates the quantum-vulnerable public-key algorithms after 2030 and disallows them under NIST standards after 2035. It tells organisations to begin "with cryptographic inventories". Everything else depends on that inventory.
Why a future machine is a problem today
No cryptographically relevant quantum computer exists today. Nobody can tell you the year one will. So why plan now?
Because of what NIST calls "harvest now, decrypt later". In NIST's words, "adversaries collect encrypted data now with the goal of decrypting it once quantum technology matures". A recorded TLS session, a wrapped data key sitting in a backup, an archived file encrypted to an RSA key: all of it is readable on the day a capable machine exists, if the key exchange or key wrap behind it was RSA or elliptic curve. The attacker does not need the quantum computer today. They need storage, and storage is cheap.
The second reason is time. IR 8547 notes that past cryptographic transitions took "10 to 20 years" from standardisation to full integration into information systems. A post-quantum migration changes key exchange and signatures together, so expect it to sit at the long end of that range.
The planning rule: X plus Y against Z
IR 8547 gives a simple way to reason about this, which it calls Mosca's theorem.
- X is how long your data must stay secret.
- Y is how long your migration will take.
- Z is the time until a cryptographically relevant quantum computer exists.
Organisations have to start the transition before X plus Y exceeds Z. If X plus Y is already greater than Z, data you encrypt today is at risk. You cannot control Z. X is set by your business and your regulators. For a bank holding account records, identity documents or long-term contracts, X alone can be ten years or more.
That leaves Y, the one number you can move. And the largest part of Y in most organisations is not the cryptography work itself. It is working out where the cryptography is.
What a quantum computer breaks, and what it merely weakens
Two quantum algorithms matter for planning. Shor's algorithm efficiently solves integer factoring and discrete logarithms, which are the hard problems under RSA, elliptic curve cryptography and Diffie-Hellman. Grover's algorithm gives a quadratic speedup to brute-force search, which weakens symmetric ciphers and hash functions without breaking them.
NIST summarised the impact in IR 8105 in 2016, and the summary still holds:
| Algorithm | Type | Used for | Impact of a large quantum computer | Quantum attack |
|---|---|---|---|---|
| RSA | Public key | Signatures, key establishment | No longer secure | Shor |
| ECDSA, ECDH | Public key | Signatures, key exchange | No longer secure | Shor |
| DSA, finite field DH | Public key | Signatures, key exchange | No longer secure | Shor |
| AES | Symmetric key | Encryption | Larger key sizes needed | Grover |
| SHA-2, SHA-3 | Hash | Integrity, signatures | Larger output needed | Grover |
On the symmetric side, IR 8105 said that if Grover's algorithm ever becomes practical, "doubling the key size will be sufficient to preserve security". NIST's 2026 view in IR 8547 is more relaxed: approved symmetric primitives with at least 128 bits of classical security are believed to meet at least category 1 of its post-quantum security categories. Many teams protecting data for decades pick AES-256 anyway, for margin.
The practical conclusion is that the hard work sits in public-key cryptography. Key exchange, key transport and digital signatures need new algorithms. Symmetric encryption and hashing need, at most, larger parameters.
The dates: NIST IR 8547, final, October 2026
NIST published the final version of IR 8547, Transition to Post-Quantum Cryptography Standards, in October 2026. It replaces the earlier plan to disallow 112-bit public-key schemes in 2031 with one schedule for everything quantum-vulnerable.
Tables 2 and 4 of IR 8547 set the schedule for the quantum-vulnerable families:
| Use | Quantum-vulnerable families (parameters) | Transition |
|---|---|---|
| Digital signatures | ECDSA and RSA (112 bits of classical security or more); EdDSA (128 bits or more) | Deprecated after 2030, disallowed after 2035 |
| Key establishment | Finite field DH and MQV, elliptic curve DH and MQV, RSA (112 bits of classical security or more) | Deprecated after 2030, disallowed after 2035 |
The two words carry specific meanings in NIST's terms. "Deprecated" means the algorithm may still be used, but the data owner has to weigh the risk. "Disallowed" means it is no longer allowed for the stated purpose. The report also notes that SHA-1 will be disallowed in FIPS-validated modules after 2030, and that NIST's few 112-bit symmetric standards will be disallowed in 2030.
Two details matter more than the headline years.
Key establishment may have to move earlier. Because of harvest now, decrypt later, IR 8547 notes that application-specific guidance may require or recommend quantum-resistant key establishment before the classical schemes are generally disallowed. A signature forged in 2036 does nothing to a document you signed in 2026 if the verifier has moved on. A session key recovered in 2036 exposes everything that session carried.
These are dates in NIST standards. Your regulator, your card schemes and your largest customers may set their own. Their questionnaires usually arrive before any deadline does. A payments company that waits for 2030 to begin will spend 2027 to 2029 answering "what is your post-quantum plan?" with nothing to show.
The replacements NIST has standardised
NIST published three post-quantum standards on 13 August 2024. Here is how they map to what you run today.
| What you use today | What it does | Quantum risk | NIST replacement | Notes |
|---|---|---|---|---|
| RSA key transport, ECDH, finite field DH | Key establishment | Broken by Shor | ML-KEM (FIPS 203), from CRYSTALS-KYBER | Parameter sets ML-KEM-512, 768, 1024. NIST recommends ML-KEM-768 as the default |
| RSA signatures, ECDSA, EdDSA | Digital signatures | Broken by Shor | ML-DSA (FIPS 204), from CRYSTALS-Dilithium | Parameter sets ML-DSA-44, 65, 87 |
| RSA signatures, ECDSA, EdDSA | Digital signatures | Broken by Shor | SLH-DSA (FIPS 205), from SPHINCS+ | Built from hash functions alone. SHA2 and SHAKE variants at 128, 192 and 256 |
| AES-128, AES-256 | Symmetric encryption | Weakened by Grover | Keep AES; at least 128 bits of classical security | AES-256 if you want margin for long-lived data |
| SHA-256, SHA-3 | Hashing | Weakened by Grover | Keep; larger output if needed | SHA-1 is a separate, classical problem |
NIST has also selected HQC as an alternative to ML-KEM for key establishment; a FIPS for it is under development.
Why two signature standards? ML-DSA is the general-purpose choice. SLH-DSA is built only from hash functions (FIPS 205), so its security rests on a different assumption from the lattice problems under ML-DSA. That makes it worth evaluating for signatures that must hold for a very long time, such as a root of trust for software releases. The trade-off is size and speed: the smallest SLH-DSA signature, at the 128-bit "s" parameter sets, is 7,856 bytes (FIPS 205, Table 2). Measure both on your own workloads before choosing.
One practical note on size. Lattice-based keys, ciphertexts and signatures are larger than their elliptic curve equivalents. An ML-KEM-768 encapsulation key is 1,184 bytes and its ciphertext 1,088 bytes (FIPS 203, Table 3), against a 32-byte X25519 public key (RFC 7748). An ML-DSA-65 public key is 1,952 bytes and a signature 3,309 bytes (FIPS 204, Table 2), against a 64-byte Ed25519 signature (RFC 8032). That rarely matters for a server with a fast link. It can matter for constrained devices, for protocols with tight message limits, and for HSMs and partner systems that cap field sizes. Those constraints are exactly what a migration plan needs to surface early.
Hybrid key exchange is the bridge, and it is standardised
A hybrid scheme runs a classical key exchange and a post-quantum one side by side, then combines the results. NIST's stated goal for hybrid techniques is that "derived keys remain secure if at least one of the component schemes is secure". It expects them to be temporary measures on the way to post-quantum algorithms alone.
For TLS this is now settled. RFC 10024, a Proposed Standard published in August 2026, defines three hybrid groups for TLS 1.3:
- X25519MLKEM768, X25519 combined with ML-KEM-768
- SecP256r1MLKEM768, NIST P-256 combined with ML-KEM-768
- SecP384r1MLKEM1024, NIST P-384 combined with ML-KEM-1024
NIST names TLS 1.3 with hybrid ML-KEM as a practical near-term path. Runtimes are adopting it. Go 1.24, for example, enables X25519MLKEM768 by default when CurvePreferences is not set. If you set curve preferences explicitly, which many hardened configurations do, you have to add the hybrid group yourself:
// Illustrative example, written for this post.
// Prefer the hybrid group, keep X25519 as a fallback for older peers.
cfg := &tls.Config{
MinVersion: tls.VersionTLS13,
CurvePreferences: []tls.CurveID{
tls.X25519MLKEM768,
tls.X25519,
},
}
That last point is a good illustration of why an inventory matters. A team that hardened its TLS configuration years ago, pinning curves to X25519 and P-256, has opted out of the default it would otherwise have received. Nothing breaks. Nothing warns. The service just keeps negotiating a classical key exchange. You find it by reading the code that sets CurvePreferences, which is what a CBOM does at scale.
Keep the scope of hybrid TLS clear. It protects session keys against later decryption, which is the harvest now, decrypt later risk. It does not change the certificate or the signature algorithm on that certificate. Moving signatures to ML-DSA is a separate and slower migration, because it involves certificate authorities, verifiers and every client that checks the chain.
Why the inventory comes before everything else
Ask an engineering organisation where it uses cryptography and you will hear about the obvious places: the TLS terminator, the password store, the payment tokeniser. The rest is spread across services and languages.
A helper that hashes with MD5 gets copied into a new service. A test key becomes a config default. An RSA key size chosen a decade ago keeps generating keys. A library vendored for one feature quietly provides ten algorithms. Nobody decided any of this on purpose, and nobody owns the list.
NIST's final transition report is direct about the order of work. It tells organisations to "treat the migration to PQC as a current operational priority, beginning with cryptographic inventories, migration planning, and early deployments of PQC-enabled products and services". The inventory comes before the plan because you cannot replace what you have not found.
Why an SBOM does not answer the question
Most security teams already produce software bills of materials. An SBOM says a service ships OpenSSL, Bouncy Castle or the Python cryptography package, with a version. It does not say which algorithm, mode or key size your code asks that library for, or on which line. Cryptographic risk lives in the call, not in the package.
| Question | An SBOM answers | A CBOM answers |
|---|---|---|
| Do we ship a crypto library? | Yes, with name and version | Yes, plus the algorithms each library provides |
| Which algorithms do we call? | No | Yes, at the call site, with key size, mode, padding, curve and OID where the code states them |
| Where is ECB or MD5 used? | No | Yes, file and line |
| Which TLS cipher suites do we configure? | No | Yes, with IANA identifiers |
| Which uses must move to post-quantum algorithms? | No | Yes, each RSA, ECDSA, ECDH and DH use found, with its NIST quantum security level |
What a CBOM is
A cryptography bill of materials is a machine-readable inventory of cryptographic assets. CycloneDX 1.6 added a cryptographic-asset component type with cryptoProperties for four kinds of asset:
- Algorithms, with primitive, parameter set, mode, padding, curve, crypto functions, classical security level and NIST quantum security level.
- Certificates, with subject, issuer, validity and the algorithms they use.
- Protocols, such as TLS or SSH, with version and cipher suites.
- Related crypto material, such as keys.
Each component can point to the file and line where it was found, and a library component can declare which algorithms it provides. Because it is CycloneDX, a CBOM sits next to the SBOM you already produce and can be read by the same tools.
Here is an excerpt to show the shape. The field names are CycloneDX 1.6. The values are invented for this example; this is not Safeguard output.
{
"bomFormat": "CycloneDX",
"specVersion": "1.6",
"components": [
{
"type": "cryptographic-asset",
"bom-ref": "crypto/algorithm/rsa-1024",
"name": "RSA-1024",
"cryptoProperties": {
"assetType": "algorithm",
"algorithmProperties": {
"primitive": "pke",
"parameterSetIdentifier": "1024",
"cryptoFunctions": ["keygen", "encrypt"],
"classicalSecurityLevel": 80,
"nistQuantumSecurityLevel": 0
},
"oid": "1.2.840.113549.1.1.1"
},
"evidence": { "occurrences": [
{ "location": "payments/keygen.go", "line": 27 }
] }
},
{
"type": "cryptographic-asset",
"bom-ref": "crypto/algorithm/aes-128-ecb",
"name": "AES-128-ECB",
"cryptoProperties": {
"assetType": "algorithm",
"algorithmProperties": {
"primitive": "block-cipher",
"parameterSetIdentifier": "128",
"mode": "ecb",
"padding": "pkcs5",
"nistQuantumSecurityLevel": 1
},
"oid": "2.16.840.1.101.3.4.1.1"
},
"evidence": { "occurrences": [
{ "location": "ledger/TokenCipher.java", "line": 42 }
] }
},
{
"type": "cryptographic-asset",
"bom-ref": "crypto/protocol/tls-1.3",
"name": "TLS",
"cryptoProperties": {
"assetType": "protocol",
"protocolProperties": {
"type": "tls",
"version": "1.3",
"cipherSuites": [{
"name": "TLS_AES_256_GCM_SHA384",
"identifiers": ["0x13", "0x02"]
}]
}
}
}
]
}
How to read it
nistQuantumSecurityLevelis the NIST post-quantum security category. In the CycloneDX schema, 0 means none of the categories is met. RSA-1024 scores 0. AES-128 scores 1. When you sort an inventory by this field, the zeros are your post-quantum backlog.parameterSetIdentifier,mode,paddingrecord what the code asked for: a 1024-bit RSA key, AES in ECB mode with PKCS5 padding. These fields are why a CBOM can flag a weak use and an SBOM cannot.oidis the object identifier, so tools agree on which algorithm is meant regardless of what a library calls it.evidence.occurrencesgives the file and line. This is what turns an inventory entry into something a developer can open and change.protocolPropertiesgives the TLS or SSH version and cipher suites with their IANA identifiers. TLS_AES_256_GCM_SHA384 is 0x13, 0x02.
What Safeguard shows on every scan
Every scan Safeguard runs shows a Cryptography tab. Open it on a project and you see two things: the inventory, and the vulnerabilities raised from it.
The inventory
| Asset | What the Safeguard CBOM records |
|---|---|
| Algorithms | Found at API call sites in eleven languages. Key size, mode, padding, curve and OID are recorded where the code states them, plus the NIST quantum security level of each algorithm. |
| Certificates | X.509 certificates in the repository. |
| Keys | The fingerprint of the public key. Safeguard never records the key material. |
| Protocols | TLS and SSH, with their IANA cipher suites. |
| Libraries | Cryptographic libraries, their versions and the algorithms each one provides. |
The key row deserves a sentence of its own. A cryptography inventory that copied private keys into a report would create the very exposure it is meant to measure. Safeguard records a fingerprint of the public key so you can tell keys apart and track them across repositories, and it never records the key material itself.
The vulnerabilities
Weak uses are raised as vulnerabilities, each with a cited reason and a CWE:
| Vulnerability class | What is flagged | CWE | Why it matters |
|---|---|---|---|
| Broken or weak algorithms | MD5, SHA-1, DES, 3DES, RC4 and ECB mode | CWE-327, CWE-328 | Collisions, short keys or pattern leaks that are practical today |
| Weak key sizes | RSA under 2048 bits, ECC under 224 bits | CWE-326 | Below the classical minimum in current guidance |
| Hardcoded keys | Keys or IVs written into crypto calls | CWE-321 | Anyone with the source, or a copy of it, holds the key |
| Insecure randomness | A weak random source used in a crypto context | CWE-338 | Predictable keys, nonces or IVs |
| Post-quantum migration | RSA, ECDSA, ECDH and DH, each pointing to ML-KEM or ML-DSA | CWE-1240 | Quantum-vulnerable; a planned migration rather than an emergency |
The CWE titles, from MITRE: 327, Use of a Broken or Risky Cryptographic Algorithm. 328, Use of Weak Hash. 326, Inadequate Encryption Strength. 321, Use of Hard-coded Cryptographic Key. 338, Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG). 1240, Use of a Cryptographic Primitive with a Risky Implementation.
Notice the split between the four classical classes and the fifth. The classical classes describe weaknesses that are exploitable now. The post-quantum class describes algorithms that are sound today and will not be once a large quantum computer exists. Both belong in the same tab, because both come from the same inventory. They call for different handling, which the planning section below covers.
Two ways to run it
From the Safeguard app, scan a connected repository and open the Cryptography tab. Locally, the Safeguard CLI builds the same kind of document on your machine:
# Build a CycloneDX CBOM for the repository in the current folder
safeguard cbom
Inside the Safeguard runner terminal, /cbom does the same for a path. Output is CycloneDX 1.6 or 1.7, in JSON or XML, and the document can be attested so that the copy you hand to an auditor can be verified later.
What the patterns look like in code
The classes above are easier to recognise when you see them. The snippets below are illustrative, written for this post to show the patterns each class describes. They are not output copied from Safeguard.
Java, ECB mode (CWE-327). The classic. ECB encrypts identical plaintext blocks to identical ciphertext blocks, so structure in the data shows through.
// Illustrative. AES in ECB mode with PKCS5 padding.
Cipher c = Cipher.getInstance("AES/ECB/PKCS5Padding");
c.init(Cipher.ENCRYPT_MODE, key);
byte[] out = c.doFinal(plaintext);
The CBOM records AES, mode ECB, padding PKCS5, and the file and line. The mode is what makes it a vulnerability.
Python, MD5 for integrity (CWE-328).
# Illustrative. MD5 used for a file checksum.
import hashlib
def file_checksum(path):
h = hashlib.md5()
with open(path, "rb") as f:
for chunk in iter(lambda: f.read(65536), b""):
h.update(chunk)
return h.hexdigest()
Go, a 1024-bit RSA key (CWE-326, plus a post-quantum advisory, CWE-1240).
// Illustrative. A 1024-bit RSA signing key.
func newSigningKey() (*rsa.PrivateKey, error) {
return rsa.GenerateKey(rand.Reader, 1024)
}
This one raises two items, and the distinction is worth teaching your developers. Raising the key to 3072 bits closes the key-size vulnerability today. It does nothing for the post-quantum advisory, because RSA at any size is broken by Shor's algorithm. The advisory stays open until the signature moves to ML-DSA or SLH-DSA.
Python, a key written into the source (CWE-321).
# Illustrative. A data key committed to the repository.
from cryptography.hazmat.primitives.ciphers import aead
KEY = bytes.fromhex("8f2a6c...e41b") # in the source
box = aead.AESGCM(KEY)
AES-GCM is a good choice of algorithm. The problem is where the key lives. Everyone with read access to the repository, every clone, every CI cache and every backup now holds it.
Fixing the classical items: what a reviewer should check
Classical weaknesses are the part of the inventory you can act on this quarter. Most of the code changes are small. The reasoning around them is not, and a crypto change that looks trivial in a diff can break stored data. Here is what your reviewers should check for each class.
MD5 or SHA-1 to SHA-256. Stored checksums change from 32 to 64 hex characters, so check column sizes and any comparison against old values. If MD5 was hashing passwords, SHA-256 is the wrong fix. Use a password hashing function such as scrypt, Argon2 or PBKDF2, and rehash at the next login.
ECB to AES-GCM. GCM needs a fresh nonce for every encryption under the same key, drawn from a cryptographically secure source. Records already encrypted with ECB need a read path and a background re-encryption job, so store a format version next to each ciphertext. Decryption must reject on a failed tag. GCM authenticates; ECB never did.
// Illustrative. AES-GCM with a fresh 96-bit nonce and the record id as AAD.
static final SecureRandom RNG = new SecureRandom();
byte[] iv = new byte[12];
RNG.nextBytes(iv);
Cipher c = Cipher.getInstance("AES/GCM/NoPadding");
c.init(Cipher.ENCRYPT_MODE, key, new GCMParameterSpec(128, iv));
c.updateAAD(recordId);
byte[] ct = c.doFinal(plaintext);
byte[] out = ByteBuffer.allocate(iv.length + ct.length).put(iv).put(ct).array();
Short RSA or ECC keys. Move RSA to 3072 bits or more, ECC to P-256 or more. Existing short keys still exist after the code changes, so plan their rotation and any certificate reissue. Check that HSMs, partners and verifiers accept the new sizes before you merge.
Hardcoded keys. Move the key to a KMS or HSM and use envelope encryption: the service asks the KMS for a data key, uses the plaintext copy in memory, and stores the wrapped copy next to the data. Then rotate. The old key is in git history and in every clone. Removing it from the code removes it from the next commit; rotation is what removes the risk.
Insecure randomness. Switch to the platform's cryptographically secure generator. Keys, nonces or IVs already generated with the weak source need replacing too.
Where static analysis stops
A code CBOM sees what the code states. Be clear with your auditors and with yourselves about the edges.
If a key size or mode is read from configuration at runtime, the call site does not state it. Treat a missing parameter as "check this", not as "safe".
Cryptography configured outside the repository, such as a managed load balancer, a cloud KMS key policy or an HSM, needs its own review. So does cryptography inside third-party binaries you do not build. The CBOM tells you which libraries you ship and which algorithms they provide; it does not reach into a vendor's appliance.
Say so in your audit narrative. Assessors trust a stated limit more than a silent one, and a scoped inventory that is accurate is more useful than a broad one that guesses.
Planning the migration with the inventory
Once the Cryptography tab is in front of you, the job is to turn it into a plan with owners and dates. Here is a sequence that works.
Triage: classical weaknesses before post-quantum work
| Order | Class | Typical action | Watch out for |
|---|---|---|---|
| 1 | Hardcoded keys and IVs (CWE-321) | Move to a KMS or HSM reference, rotate the key | The old key stays in git history. Rotation is what removes the exposure |
| 2 | Insecure randomness in crypto (CWE-338) | Switch to the platform CSPRNG | Keys or IVs already generated with the weak source need replacing |
| 3 | Weak algorithms on sensitive paths (CWE-327, CWE-328) | MD5 or SHA-1 to SHA-256, ECB to GCM, DES and RC4 to AES-GCM | Stored hashes and ciphertexts need a migration path, not just new code |
| 4 | Weak key sizes (CWE-326) | RSA to 3072 bits or more, ECC to P-256 or more | Partners and HSMs may cap key sizes |
| 5 | Post-quantum advisories (CWE-1240) | Rank and schedule, as below | Raising RSA from 1024 to 3072 bits closes item 4 and leaves item 5 open |
Classical weaknesses belong with the rest of your vulnerability work, with the same owners and timelines. Post-quantum advisories need a plan, an owner and a date. They do not need a page at 2 a.m.
Rank the post-quantum items on four questions
For each RSA, ECDSA, ECDH and DH use the tab lists, answer four questions.
- Use. Key establishment ranks above signatures, because harvest now, decrypt later applies to it.
- Data lifetime. How long must the protected data stay secret? This is the X in the planning rule.
- Exposure. Internet-facing and partner-facing paths rank above internal ones.
- Dependency. Can the library, the HSM or the counterparty support ML-KEM or ML-DSA yet? If not, that is your blocker, and it is better to learn it now.
A migration backlog template
Build a simple backlog from the post-quantum advisories. The location, algorithm and library columns come from the scan. The rest comes from the service owner. The rows below are invented examples.
| ID | Service and location | Algorithm today | Use | Data lifetime | Exposure | Library | Target | Blocker | Owner | Wave |
|---|---|---|---|---|---|---|---|---|---|---|
| PQ-01 | edge-proxy, tls/config.go:18 | ECDHE X25519 | Key exchange | 10 years or more | Internet | Go crypto/tls | X25519MLKEM768 hybrid | None | Platform | 1 |
| PQ-02 | statements, Wrap.java:77 | RSA-2048 OAEP | Key transport | 7 years | Internal | JCA provider | ML-KEM-768 | HSM firmware | Payments | 2 |
| PQ-03 | release-signing, sign.py:31 | ECDSA P-256 | Signature | Release lifetime | Public | cryptography | ML-DSA-65 | Verifier support | Build | 3 |
Wave 1 is usually hybrid TLS on services where the runtime already supports it, because it is the change small enough to review like any other code change. Wave 2 is key transport and key wrapping inside your own systems, where you control both ends but often depend on HSM support. Wave 3 is signatures, which involve certificate authorities, verifiers and clients you do not control.
Choosing targets per use
- TLS key exchange. Hybrid X25519MLKEM768 under RFC 10024, with X25519 as a fallback while peers catch up. Measure the handshake on your own traffic.
- Key transport and key wrapping. ML-KEM, with ML-KEM-768 as NIST's recommended default.
- General signatures (tokens, documents, service identity). ML-DSA, at the parameter set your security level calls for.
- Long-lived roots of trust (release signing, firmware). Consider SLH-DSA where its size and speed are acceptable, given that it rests on hash functions.
- Symmetric encryption and hashing. Keep AES and SHA-2 or SHA-3. Use AES-256 where data must stay secret for decades.
Build in crypto agility
NIST closes the scope section of IR 8547 by saying the transition "requires building long-term cryptographic agility into organizational infrastructure". In code, agility looks ordinary:
- One wrapper per language that owns algorithm choice, so a change is one code change rather than fifty.
- Algorithm and parameters in configuration, with a version tag stored next to each ciphertext or signature.
- A read path for old data, so you can re-encrypt or re-sign in the background.
- A fresh inventory after each scan, so you can see when someone bypasses the wrapper.
That last point is where the Cryptography tab earns its place after the plan is written. Because it appears on every scan, a new direct call to an RSA or MD5 API shows up in the inventory of the next scan you run, instead of in next year's audit.
A 90-day rollout
| Period | Goal | Steps | Output |
|---|---|---|---|
| Days 1 to 30 | See it | Pick the repositories behind payments, authentication and customer data. Scan them and review the Cryptography tab with each service owner. Fix hardcoded keys and start their rotation. Save the CBOM export as your baseline. | Baseline CBOM, owners named, keys rotating |
| Days 31 to 60 | Fix the classical items | Work the classical vulnerabilities through your normal review. Build the post-quantum backlog. Ask your key vendors (HSM, KMS, CA, payment processors) for their ML-KEM and ML-DSA plans. | Falling classical count, backlog drafted |
| Days 61 to 90 | Plan PQC | Pilot hybrid TLS (X25519MLKEM768) on one internal service and measure the handshake. Introduce one crypto wrapper per language. Extend scanning to the next set of repositories. Set a quarterly backlog review and an annual inventory review. | A post-quantum change in production, a repeatable cadence |
Who owns what
| Role | Owns in this rollout |
|---|---|
| CISO | Names the inventory owner, sets the policy for weak cryptography and the dates for each wave, and reports progress to the board and to auditors |
| AppSec lead | Runs the scans, triages the vulnerabilities and keeps the backlog current |
| Security architect | Chooses targets per use (ML-KEM-768, ML-DSA, hybrid TLS), designs the crypto wrapper, decides where a KMS or HSM is required |
| Service owners | Make and review the code changes, supply data lifetime and exposure for the backlog, own re-encryption and key rotation |
What PCI DSS 12.3.3 and MAS expect, and how the inventory supports that work
For banks and payment companies, post-quantum planning arrives through compliance before it arrives through cryptanalysis.
PCI DSS v4.0 requirement 12.3.3
In summary, requirement 12.3.3 asks that the cryptographic cipher suites and protocols in use are documented and reviewed at least once every 12 months. The documentation has to include an inventory of all cipher suites and protocols in use that is kept up to date and records the purpose of each and where it is used. The requirement lists further elements beyond the inventory, so read the full text in the PCI SSC document library.
Three parts of that deserve attention. Up to date means current, not a spreadsheet from last year. Where it is used, in a codebase, means a service and a location. A review every 12 months means a dated record that someone looked.
Here is how the Safeguard CBOM supports that work:
| What 12.3.3 asks for | What the exported CBOM gives you | What your team adds |
|---|---|---|
| An inventory of cipher suites and protocols in use | TLS and SSH protocols with their IANA cipher suites, and the algorithms called in code | Cryptography configured outside the repository (load balancers, HSMs, managed services) |
| Where used | File and line for each occurrence, per repository | Mapping of repositories to the services in your cardholder data environment |
| Purpose | The location of each use, which is where a reviewer reads what the code is doing | The business purpose per service, written in your review record |
| Up to date | A fresh inventory on every scan | A rule for which scan you treat as the review baseline |
| Reviewed every 12 months | Attested exports you can keep and compare year on year | The review itself: who looked, what changed, what was decided |
The inventory is the raw material. The review, the scoping to your cardholder data environment and the business purpose remain your team's work, and your assessor will want to see that human judgement.
MAS/TCRS/2024/01
On 20 February 2024 the Monetary Authority of Singapore sent circular MAS/TCRS/2024/01, Advisory on Addressing the Cybersecurity Risks Associated with Quantum, to the chief executives of all financial institutions. It lists measures institutions should consider. Among them: build crypto-agility so vulnerable algorithms can be replaced without major disruption, and identify and maintain an inventory of the cryptographic solutions in use. MAS says that inventory should cover the algorithm and key length, who owns and maintains each cryptographic asset, and the system or application where the algorithm is used. It also asks institutions to classify the dependent IT and data assets by sensitivity, criticality, exposure and how long they stay sensitive, so migration can be prioritised.
The CBOM covers the technical part of that list. It records the algorithm, and the key length where the code states it, with the file and line where each is used. Your team adds the owner, the mapping from repository to system or application, and the asset classification. If you are a financial institution in Singapore, or you serve one, read the advisory in full on the MAS site and set your plan against it.
For institutions elsewhere in Asia and beyond, the pattern is similar. Supervisors and large customers ask for an inventory and a plan before they ask for a finished migration. A dated CBOM export and a backlog with owners answer both.
What this does not do
A fair post names its limits.
The inventory is not the migration. Moving a key exchange to ML-KEM or a signature to ML-DSA depends on library support, on the other side of the connection and often on hardware. That work is yours, and it will take years for most organisations. What the inventory changes is how quickly you can start, and how confidently you can say what is left.
Post-quantum advisories are not emergencies. A team that treats every RSA call as a critical vulnerability will burn out its developers and its credibility. Keep them in a planned backlog.
And no tool can tell you Z, the year a cryptographically relevant quantum computer arrives. The planning rule works without it. You shorten Y, you know X, and you stop guessing about what you have.
Getting started
- Run a Safeguard scan on one repository that handles sensitive data, or run
safeguard cbomlocally. - Open the Cryptography tab. Read the inventory with the service owner, then the vulnerabilities.
- Fix hardcoded keys and start rotating them.
- Export the CBOM in CycloneDX 1.6 or 1.7 and keep it as your baseline.
- Build the post-quantum backlog from the advisories and rank it on use, data lifetime, exposure and dependency.
If you would like to walk through a CBOM on one of your repositories with us, bring the repository and the date of your next audit. Book at safeguard.sh/book-a-call or write to sales@safeguard.sh. Safeguard runs as SaaS (US or EU), in your own cloud or VPC, or on-premises. SOC 2 Type I and Type II audited; reports available on request.
FAQ
What is a CBOM?
A cryptography bill of materials is a machine-readable inventory of the cryptographic assets in software: algorithms with their parameters, certificates, keys, protocols and cipher suites, and crypto libraries. CycloneDX 1.6 added the cryptographic-asset component type that most CBOMs use.
What does the Safeguard Cryptography tab show? Every scan Safeguard runs shows a Cryptography tab with a CBOM of the scanned code, and vulnerabilities for broken or weak algorithms, weak key sizes, hardcoded keys, insecure randomness, and post-quantum migration advisories for RSA, ECDSA, ECDH and DH that point to ML-KEM or ML-DSA. Each vulnerability carries a cited reason and a CWE.
When do RSA and ECC stop being allowed? NIST IR 8547 (final, October 2026) deprecates quantum-vulnerable public-key algorithms, including RSA, ECDSA, EdDSA, DH and ECDH, after 2030, and disallows them under NIST standards after 2035. It notes that application-specific guidance may require or recommend quantum-resistant key establishment sooner.
What replaces RSA and ECDH for key exchange? ML-KEM, standardised in FIPS 203 (August 2024). NIST recommends ML-KEM-768 as the default. For TLS 1.3, RFC 10024 defines hybrid groups such as X25519MLKEM768 that combine a classical exchange with ML-KEM.
What replaces RSA and ECDSA signatures? ML-DSA (FIPS 204) for general use, and SLH-DSA (FIPS 205), a signature scheme built from hash functions.
Does Safeguard store my private keys? No. For keys, the CBOM records the fingerprint of the public key. Safeguard never records the key material.
Does a CBOM satisfy PCI DSS 12.3.3 by itself? No inventory does. Requirement 12.3.3 asks for documentation and a review at least every 12 months. The exported CBOM gives you an inventory of the protocols, cipher suites and algorithms found in your code and where each is used; your team adds purpose, scope, cryptography configured outside the code and the review record.
Sources
- NIST, IR 8547, Transition to Post-Quantum Cryptography Standards, final, October 2026. https://csrc.nist.gov/pubs/ir/8547/final (PDF: https://nvlpubs.nist.gov/nistpubs/ir/2026/NIST.IR.8547.pdf)
- NIST, IR 8105, Report on Post-Quantum Cryptography, April 2016. https://nvlpubs.nist.gov/nistpubs/ir/2016/NIST.IR.8105.pdf
- NIST, FIPS 203, Module-Lattice-Based Key-Encapsulation Mechanism Standard, 13 August 2024. https://csrc.nist.gov/pubs/fips/203/final
- NIST, FIPS 204, Module-Lattice-Based Digital Signature Standard, 13 August 2024. https://csrc.nist.gov/pubs/fips/204/final
- NIST, FIPS 205, Stateless Hash-Based Digital Signature Standard, 13 August 2024. https://csrc.nist.gov/pubs/fips/205/final
- NIST, Post-quantum cryptography FIPS approved, 13 August 2024. https://csrc.nist.gov/news/2024/postquantum-cryptography-fips-approved
- IETF, RFC 10024, Post-Quantum Traditional (PQ/T) Hybrid Key Agreement Mechanisms for TLS 1.3, August 2026. https://datatracker.ietf.org/doc/rfc10024/
- IETF, RFC 7748, Elliptic Curves for Security (X25519), January 2016. https://www.rfc-editor.org/rfc/rfc7748
- IETF, RFC 8032, Edwards-Curve Digital Signature Algorithm (EdDSA), January 2017. https://www.rfc-editor.org/rfc/rfc8032
- The Go project, Go 1.24 release notes, crypto/tls. https://go.dev/doc/go1.24
- PCI Security Standards Council, PCI DSS v4.0 requirement 12.3.3 (summarised, not quoted; the standard is in the PCI SSC document library). Requirement text as reproduced in a PCI SSC community meeting presentation hosted by the Council, October 2024. https://www.pcisecuritystandards.org/day-1_t2_7_pci-dss-v4-0_final/
- Monetary Authority of Singapore, circular MAS/TCRS/2024/01, Advisory on Addressing the Cybersecurity Risks Associated with Quantum, 20 February 2024. https://www.mas.gov.sg/regulation/circulars/advisory-on-addressing-the-cybersecurity-risks-associated-with-quantum
- CycloneDX specification 1.6, JSON schema (cryptoProperties, evidence.occurrences, dependencies.provides). https://github.com/CycloneDX/specification
- MITRE CWE entries 321, 326, 327, 328, 338 and 1240. https://cwe.mitre.org/data/definitions/327.html
Code examples in this post are illustrative and written for it. They are not output copied from Safeguard. Standards and dates are as published by their owners, accessed 6 December 2026.