Three green checkmarks, zero proof
A compliance export glows green: digestAlgorithm = SHA-512, signatureAlgorithm = ML-DSA-65, signature valid. Every line is accurate. Not one of them establishes that SHA-512 digested a single byte of the content, that the private key never left its hardware module, or that the signer had the authority to approve whatever the signature unlocked.
RFC 9882 — the IETF's October 2025 Proposed Standard for putting ML-DSA into the Cryptographic Message Syntax — builds that gap on purpose. On one of its two signing paths it makes SHA-512 mandatory in the digest field, then instructs every verifier to ignore what the field says. The label is real. The control it appears to describe is not there.
In short
- Without signed attributes, RFC 9882 mandates SHA-512 in
SignerInfo.digestAlgorithmfor interoperability — and mandates that verifiers ignore it. Pure ML-DSA signs the content octets directly. - With signed attributes, the digest finally matters: it lives inside a signed attribute, must be recomputed, and can cap the strength of the whole construction.
- A record worth defending keeps the branch, the exact signed bytes, the parameter-set OID, the digest comparison, algorithm protection, the key and external-μ boundaries, authorization and the downstream action as separate facts.
One standard, two signing paths
RFC 9882 specifies how the three FIPS 204 parameter sets — ML-DSA-44, ML-DSA-65 and ML-DSA-87 — ride inside CMS. Each gets its own signature-algorithm object identifier, and the parameters inside that AlgorithmIdentifier must be absent. The document covers pure ML-DSA only; it says nothing about HashML-DSA. And ML-DSA, once known as Dilithium, is not wire-compatible with its old name.
The operational centre of the specification is a fork. signedAttrs decides which of two entirely different signature inputs gets built.
Path one: no signed attributes
When signed attributes are absent, the ML-DSA message is the octet string that forms the value of encapContentInfo eContent — value only, tag and length stripped. Pure ML-DSA chews that directly. In this branch, RFC 9882 states that SignerInfo.digestAlgorithm has no meaning for the signature calculation at all.
It still cannot be left blank. A signer must write SHA-512 into the field to minimise interoperability failures, and a verifier must ignore its contents. The required value is a compatibility convention, not a trace of any hashing step. A parser reports it faithfully. An analyst reads it and draws the wrong conclusion. That is the whole trick.
Path two: signed attributes
Add signed attributes and the ground shifts. The signature input becomes the complete DER encoding of the SignedAttrs value — tag and length included, using the EXPLICIT SET OF tag rather than the IMPLICIT [0] tag that travels in the final message. The attribute set must carry at least content-type and message-digest. That message-digest holds a hash of the content, so the recipient must recompute it and compare. Here the digest choice finally bites: a weak digest caps the strength of everything built on top of it. RFC 9882 mandates SHA-512 support and recommends SHAKE256, whose parameters must be absent.
The syntax difference is a few bytes. The evidentiary difference is the case. A verdict that never records whether signedAttrs existed cannot say what the digest field meant, which bytes reached ML-DSA, or whether anyone checked that the content digest matched. “Valid signature” quietly swallows four separate decisions the standard keeps apart.
The signature boundary is not the authority boundary
Algorithm identity needs its own proof. The verifier must read the ML-DSA parameter-set OID and reject forbidden parameters. RFC 6211's CMSAlgorithmProtection attribute drags the relevant algorithm identifiers inside the signed attributes, and RFC 9882 says it should be included to blunt algorithm-substitution attacks. Whether it is present, and whether it agrees with the outer message, are two distinct findings — and neither follows from the fact that the math checked out.
The private-key boundary is separate again. An ML-DSA signing key in the wrong hands forges anything. FIPS 204 defines a default hedged signing mode that mixes fresh randomness into private-key material, and also permits deterministic signing; RFC 9882 warns against deterministic mode on platforms exposed to side-channel or fault attacks. A CMS object, sitting there looking innocent, reveals neither which policy was used nor how well it was implemented.
Hardware does not close the gap. With signed attributes, an application can hand the HSM the compact DER attribute set instead of the whole content. Pure ML-DSA also lets the message representative μ be computed in some other cryptographic module and passed to the signer. That can be a perfectly sound architecture. It also means “signature generated in the HSM” proves only that the HSM signed something — not that it ever saw the original content, and not that it computed μ. The interface, and its binding to the retained bytes, become part of the evidence.
Build a chain you can replay
The defensible record is a chain, not a checkbox. Retain the exact CMS object. Parse content type and attribute presence. Reconstruct the exact signature input. Identify the parameter-set OID and reject forbidden parameters. Where attributes exist, recompute and compare the content digest. Check algorithm protection. Verify the signature. Record the randomness and μ boundaries where they are known. Only then evaluate certificate path, signer identity and application authorization. The business action belongs after all of it — never inside the word “valid.”
Sources
- https://www.rfc-editor.org/rfc/rfc9882.html
- https://www.rfc-editor.org/rfc/rfc5652.html
- https://www.rfc-editor.org/rfc/rfc6211.html
- https://www.rfc-editor.org/rfc/rfc9881.html
- https://csrc.nist.gov/pubs/fips/204/final
- https://heng.lu/running-code-primary-the-patch-needed-to-preserve-the-internet-original-design/
- https://heng.lu/minimum-initial-specification-localized-future-decision-voluntary-adoption-internet-coordination-system/
- https://heng.lu/on-reality-layers-symbolic-power-and-why-clarity-feels-so-hostile/
Member Briefing
Read the full trend briefing
Members read the full briefing with the source notes behind every finding.
Strategic Circle
A daily briefing in your language, built from changes we have verified.
Join for USD 20/monthCancel anytime.
Members also get the full research library, a daily briefing on the networks they follow and the private forum.






