CNSA 2.0 Requirements and PCI DSS 4.0 Cryptography for AppSec
Two cryptography standards are landing on AppSec desks at the same time. PCI DSS v4.0.1 asks merchants and service providers to know which cipher suites, protocols, keys and certificates they use and to review them every year. NSA's CNSA 2.0 sets the algorithms and dates for moving National Security Systems to quantum-resistant cryptography. The CNSA 2.0 requirements reach anyone who builds for those systems, and many commercial teams now use them as the strictest reference point they can find.
Both read like policy documents. Both end up as questions about code: which hash this service calls, which TLS versions that load balancer accepts, which RSA key size the build signs with. Compliance can write the policy. Only engineering can show what the software actually does.
This post walks through what each framework asks, which answers are attestations and which can be backed by evidence, and how a signed cryptography review turns a yearly scramble into a record an assessor can read.
What the CNSA 2.0 requirements actually say
CNSA 2.0 is the Commercial National Security Algorithm Suite 2.0. NSA announced it in a 2022 advisory and has updated it through a FAQ since. It does three things: it names the approved algorithms, it sets what to run until you can move, and it sets transition dates.
The approved algorithms
- Key establishment: ML-KEM-1024.
- Signatures: ML-DSA-87, with ML-DSA-87, LMS or XMSS for software and firmware signing.
- Symmetric encryption: AES-256.
- Hashing: SHA-384 or SHA-512.
Algorithms outside the suite need NSA's written approval. That rules out MD5, SHA-1, DES, 3DES and RC4 outright, and it also rules out choices most teams consider fine today, such as AES-128 and SHA-256.
What to run until you can move
While a component cannot run CNSA 2.0, its public-key cryptography must meet CNSA 1.0: elliptic curves on P-384, and RSA or Diffie-Hellman of at least 3072 bits. This interim rule is the one that bites first. A default RSA-2048 certificate or a P-256 key already falls short, so adopting CNSA 2.0 as a reference flags a large share of an ordinary certificate estate on day one.
The transition dates
- New acquisitions comply from 1 January 2027.
- Key establishment is quantum resistant by 31 December 2030.
- Every public-key use is quantum resistant by 31 December 2031.
The advisory also lists dates per product category, such as software and firmware signing, web browsers and servers, and network equipment. Those per-category dates matter if you ship a product into that market. For most AppSec programs, the three dates above are the planning horizon.
What PCI DSS v4.0.1 asks about cryptography
PCI DSS is not a cryptography standard, but cryptography runs through it. The requirements that depend on cryptography cover administrative access, stored account data, key management, data in transit, custom software and the yearly review of what you use. A handful of them map directly to things an AppSec team can see:
- 3.7.1 and 3.7.4: key-management procedures for generating strong keys and for changing keys at the end of their cryptoperiod.
- 4.2.1: strong cryptography and security protocols protect cardholder data in transit over open, public networks, with trusted certificates.
- 4.2.1.1: an inventory of the trusted keys and certificates used to protect that data in transit.
- 6.2.4: software engineering techniques that prevent common software attacks, cryptographic weaknesses among them, in bespoke and custom software.
- 12.3.3: the cipher suites and protocols in use are documented and reviewed at least once every 12 months, with a plan for responding to anticipated changes in cryptographic vulnerabilities.
The standard sets one strength value, a minimum effective strength of 112 bits, and recommends 128 bits for new systems. It does not name a protocol version, cipher suite list or cryptoperiod. Your organization has to pick those values, write them down and then show that systems follow them.
That last part is where most programs struggle. Requirement 12.3.3 is easy to attest and hard to support. A spreadsheet of "approved cipher suites" written two years ago says nothing about the service that shipped last month with TLS 1.0 still allowed.
Attestation versus evidence: which questions need a person
Neither framework can be fully automated, and it is worth being honest about why. The hard part is scope, not the algorithm check.
- PCI DSS applies to the cardholder data environment and the systems connected to it. Deciding what is in scope is a judgment that a scanner cannot make.
- CNSA 2.0 binds National Security Systems. Whether a system is one is a determination, not a property of its code.
- Many requirements are about the organization, not a system: key custodians, key-management procedures, who approves an exception. Those are attested once and kept current.
So every requirement in both frameworks needs a person to stand behind it. Evidence still changes what that attestation is worth. The useful model is simple:
- An attestation says "we meet this requirement."
- Evidence can contradict it. If a key in scope is RSA-2048 under a CNSA 1.0 interim rule, or a TLS endpoint accepts a suite your policy bans, the requirement is violated whatever the attestation says.
- Evidence can support it. A current inventory of keys and certificates is the record 4.2.1.1 asks for. A completed review of that inventory is the record 12.3.3 asks for.
Treat attestation as the claim and evidence as the test of the claim. An assessor will.
Where cryptography actually lives in your software
Cryptography requirements are often handed to infrastructure teams because "TLS is a load balancer setting." That is a third of the picture. The rest sits in code, dependencies and configuration that AppSec already reviews.
In code
These are the patterns PCI DSS 6.2.4 is meant to keep out of custom software, and most of them fail CNSA 2.0 outright:
- A legacy hash:
MessageDigest.getInstance("MD5")in Java, orhashlib.sha1(data)in Python. - A weak mode:
Cipher.getInstance("AES/ECB/PKCS5Padding"). ECB leaks patterns in the plaintext regardless of key size. - Old padding: RSA with PKCS #1 v1.5 for key transport.
- A short key:
KeyPairGenerator.getInstance("RSA").initialize(2048)passes most baselines and fails CNSA 1.0. - A protocol pinned low in code:
ssl.PROTOCOL_TLSv1, or a Node.js server started withminVersion: 'TLSv1'. - Verification turned off:
requests.get(url, verify=False)orrejectUnauthorized: false. The connection is encrypted and the peer is never checked.
In dependencies
Cryptography libraries are dependencies like any other, with one extra question: is this library on the approved list? An unapproved library added in a pull request is a policy change that nobody reviewed. A library that cannot run the CNSA 2.0 algorithms is a migration blocker you want to see now, not in 2030.
In cloud and cluster configuration
Load balancer TLS policies, database transport settings, managed keys with no rotation, certificates near expiry, ingress and gateway configuration. These are infrastructure facts, but the team that owns the service owns the fix, and that routing is an AppSec problem.
Why a cryptography inventory is the shared artifact
Both frameworks ask the same underlying question: what cryptography do you use, and where? PCI DSS asks for it as an inventory and an annual review. CNSA 2.0 asks for it implicitly, because you cannot plan a migration to ML-KEM and ML-DSA without knowing every place that runs RSA and elliptic curve cryptography today.
The CycloneDX format has a standard shape for this, the cryptography bill of materials (CBOM). A CBOM lists algorithms, keys, certificates, protocols and libraries as components, with their properties and where they are used. It is to cryptography what an SBOM is to packages, and it is the natural attachment for an assessor's request for "an inventory of trusted keys and certificates."
An inventory only works as evidence if it is current. One built by hand once a year is a snapshot of what someone remembered. One built from code, cloud accounts and clusters, and kept current as they change, is something you can defend.
Turning a cryptography review into audit evidence
PCI DSS 12.3.3 is, in practice, a review requirement. The trap is treating the review as a meeting rather than a record. An assessor wants to see who reviewed what, when, what they decided, and when the next review is due.
A review that holds up has these properties:
- It covers the whole scope. A review of one environment does not speak for the rest.
- It is anchored to a real inventory, not a list of intended settings.
- It records decisions, including accepted exceptions and the reason for each.
- It is signed by a named person and dated.
- It has a next review date and lapses when that date passes, so a stale review cannot be mistaken for a current one.
- It produces a package the assessor can keep: a readable report, the raw rows and the CBOM.
Get those right and the review answers 12.3.3 directly and supports 4.2.1.1. It also gives CNSA 2.0 planning a recurring checkpoint: each review is the moment to ask which quantum-vulnerable entries moved and which did not.
What to do: a checklist for PCI DSS and CNSA 2.0 cryptography
- Write down your values. Minimum TLS version, allowed cipher suites, minimum key sizes per key type, certificate lifetime, key rotation period, approved libraries. PCI DSS leaves these to you; pick them deliberately.
- Decide whether CNSA 2.0 binds you or guides you. If you sell into National Security Systems, it binds you. If not, it is still a useful strictest-case reference, but label it that way so its findings do not swamp the queue.
- Build an inventory from the source, not from memory: code, libraries, cloud TLS and keys, and cluster ingress and certificates.
- Judge every entry against your values and turn every failure into an owned finding with a due date.
- Gate new risk at the pull request. Block disabled certificate verification. Flag weak algorithms in new code. Require review when a new cryptography library appears.
- Separate attestation from evidence for each requirement, and let evidence mark a requirement as violated even after someone attested it.
- Schedule the review, sign it, and keep the evidence package with it. Set the next date before you close the current one.
- Track quantum exposure by use. Key establishment moves first under CNSA 2.0. Know which internet-facing endpoints still rely on classical key exchange.
How Heeler handles CNSA 2.0 and PCI DSS cryptography requirements
Cryptography is its own area in Heeler. It builds an inventory of algorithms, keys, certificates, TLS protocols and cipher suites, and cryptography libraries from code, from cloud resources on AWS, GCP and Azure, and from Kubernetes ingresses and gateways.
- Catalog > Cryptography is the organization inventory, with the applications, services and repositories that use each entry. Each application, service and repository has its own Cryptography tab.
- CBOM: download a CycloneDX cryptography bill of materials for a repository, a service, an application or the whole organization.
- Security > Cryptography lists findings such as a weak algorithm, a short key, an expiring certificate or a legacy TLS version. Each finding shows the value it read and the threshold it failed, with a severity, owner, SLO and fix. A problem that a cloud or SAST finding already reports is listed once.
- Post-quantum view: the share of quantum-vulnerable cryptography, what it is used for, where it is internet-facing, the deadline that applies and the entries to migrate first.
Under Standards, an administrator can adopt the PCI DSS v4.0.1 cryptography requirements and NSA CNSA 2.0. Both follow the attestation and evidence model above. A person attests every requirement, because Heeler cannot tell which systems handle cardholder data or which are National Security Systems. Where evidence applies, an entry that fails the requirement's values marks it Violated, attested or not. For PCI DSS that covers cloud key type, size and rotation under 3.7.1 and 3.7.4, TLS and certificates under 4.2.1, and weak algorithms, modes, padding and key sizes in code under 6.2.4. For CNSA 2.0 it covers AES-256, SHA-384 or SHA-512, algorithms outside the suite, the CNSA 1.0 interim key rules, and the two transition dates once they pass.
Cryptography reviews close the loop. An administrator reviews an application's or the organization's inventory, records decisions and signs off. A signed review produces an evidence pack (PDF, CSV and the CBOM) and counts as evidence in Standards. A current signed review records PCI DSS 12.3.3 with no separate attestation, and supports 4.2.1.1. A review counts while it was completed in the last 365 days and its next review date has not passed, and Heeler sends notices when a review is due.
At the pull request, cryptography PR guardrails cover a new cryptography library, an unapproved cryptography library, weak cryptography in code, disabled certificate verification, and cleartext or weak transport. The inventory and cryptography findings are also available to MCP clients.
Heeler's frameworks are readiness evidence, not an assessment or certification. The PCI DSS framework does not scope your cardholder data environment, and the CNSA 2.0 framework tracks alignment rather than determining compliance. For a wider look at running standards from the pull request, see compliance requirements in pull requests, not spreadsheets.
FAQ
What are the CNSA 2.0 requirements?
CNSA 2.0 requires ML-KEM-1024 for key establishment, ML-DSA-87 for signatures, AES-256 and SHA-384 or SHA-512, with quantum-resistant key establishment by the end of 2030 and every public-key use by the end of 2031. Until a component can move, its public-key cryptography must meet CNSA 1.0: P-384 curves or RSA and Diffie-Hellman of at least 3072 bits.
Does CNSA 2.0 apply to commercial software?
CNSA 2.0 binds National Security Systems and the products sold into them, not commercial software in general. Many teams still use it as a strict reference for post-quantum planning, as long as they label its findings as guidance rather than obligation.
What does PCI DSS 12.3.3 require?
PCI DSS 12.3.3 requires that the cipher suites and protocols in use are documented and reviewed at least once every 12 months. The strongest record is a dated, signed review of a current cryptography inventory, with decisions and a next review date.
Is RSA-2048 still acceptable?
RSA-2048 meets the PCI DSS minimum of 112 bits of effective strength but fails the CNSA 1.0 interim rule that CNSA 2.0 applies until migration. It is also quantum vulnerable, so it has an end date under CNSA 2.0 either way.
Can cryptography compliance be fully automated?
No. Scope decisions and organizational controls need a person to attest them. What automation can do is test those attestations against a current inventory and mark a requirement violated when the evidence contradicts it.
Heeler builds your cryptography inventory from code, cloud and clusters, judges it against PCI DSS v4.0.1 and CNSA 2.0, gates new cryptography risk at the pull request, and turns a signed review into evidence your assessor can keep. Get a demo


.jpg)
