Post-quantum verification
Primary question: What is post-quantum verification and how does it differ from simply adding a PQC signature field?
Post-quantum verification is the complete end-to-end validation of a digital record, its canonical digest, its domain separation, its signing key provenance, and its post-quantum digital signature (such as ML-DSA-65 under NIST FIPS 204) against an explicit verifier trust policy. Checking only whether a signature field is present, or accepting an unpinned public key embedded inside an untrusted payload, does not constitute verification.
Five mandatory stages of post-quantum verification
A rigorous verifier treats every incoming evidence package as untrusted input until five sequential checks succeed:
1. Schema and domain validation: confirm the evidence conforms to a known schema version and carries the exact expected domain separator so a signature from one workflow cannot be substituted into another.
2. Canonical payload digest recomputation: deterministically canonicalise the candidate digital record, compute its SHA-256 digest independently, and verify byte-for-byte equality with the attested digest inside the envelope.
3. Trusted key resolution: resolve the signing key identifier against the verifier's own trusted key store or pinned key list. Never trust a public key solely because it was transmitted alongside the signature.
4. Algorithm and parameter enforcement: verify that the algorithm identifier matches verifier policy (for example ML-DSA-65 under NIST FIPS 204) and that signature and public key byte lengths conform exactly to the standard (3,309 bytes and 1,952 bytes respectively).
5. Mathematical signature verification and policy evaluation: execute pure FIPS 204 ML-DSA-65 verification over the domain-separated signing input, then enforce expiry, revocation, replay, and action-binding rules required by the application.
Why verification requires three outcomes: Valid, Invalid and Unresolved
Binary pass/fail verifiers frequently collapse operational errors into ambiguous states or silently degrade to insecure fallbacks. AffixIO models verification with three explicit outcomes:
Valid: all structural, digest, key-trust, and mathematical ML-DSA-65 checks succeeded under the active policy.
Invalid: a cryptographic check failed decisively, such as a modified record digest, corrupted signature bytes, or failed ML-DSA-65 verification against the trusted public key.
Unresolved: the verifier could not complete evaluation, for example because the signing key identifier is unknown, a remote key directory is unavailable without a local pin, the evidence schema is malformed, or the key is retired under an active-only policy. Unresolved must never be treated as approval.
Operator signatures versus service attestations
In AffixIO deployments, a local SDK signature created with a deployment-controlled ML-DSA-65 key identifies the operator's own signer, whereas a hosted API attestation identifies the AffixIO service signer whose public keys are published at api.affix-io.com/v1/keys. Furthermore, AffixIO distinguishes server-verified proof attestations (POST /v1/attest/proof, with circuit binding) from client-payload wrappers (POST /api/attest, explicitly marked server_verified: false). Relying parties must inspect the signed claims rather than merely checking that a valid signature exists.
Relevant technical limitations
- A valid post-quantum signature confirms who signed a specific payload and that the bytes were not altered afterwards. It does not prove that the external data source was accurate, that a payment has settled, or that a delegated permission has not been revoked since issuance.
Primary sources and technical standards
- NIST FIPS 204: Module-Lattice-Based Digital Signature Standard (ML-DSA), National Institute of Standards and Technology (NIST) ()
- AffixIO Published Service Attestation Keys, AffixIO ()
- AffixIO Node.js SDK (affixio@2.0.5, Apache-2.0), AffixIO ()
- AffixIO Security Boundaries and Disclosure Policy, AffixIO ()