Get started
Guide · updated 4 Dec 2026

Post-quantum PKI and code signing: ML-DSA, composite certs, LMS/XMSS

Authentication lags key exchange across the industry because signatures are big. Start the lab now — roots of trust and firmware keys are always Tier 1.

Where things stand (Dec 2026)

  • ML-DSA and SLH-DSA X.509 profiles are standardized at the IETF; FN-DSA certificate draft in progress.
  • Public WebPKI PQ certificates are not broadly issued yet. Merkle Tree Certificates and composite approaches will shape what browsers accept.
  • Windows ADCS supports ML-DSA with composite certificates coming; OpenSSL 3.5 ships ML-DSA and SLH-DSA.
  • < 1% of private keys observed in the wild were PQC in Nov 2026 (55% RSA, 45% ECC).

Build a lab CA (OpenSSL 3.5+)

# Root: ML-DSA-87 (or SLH-DSA for maximum conservatism)
openssl genpkey -algorithm ML-DSA-87 -out root.key
openssl req -new -x509 -key root.key -subj "/CN=PQC Lab Root" -days 3650 -out root.crt

# Issuing CA / leaf: ML-DSA-65
openssl genpkey -algorithm ML-DSA-65 -out leaf.key
openssl req -new -key leaf.key -subj "/CN=svc.lab.internal" -out leaf.csr
openssl x509 -req -in leaf.csr -CA root.crt -CAkey root.key -days 90 -out leaf.crt

# Check the sizes you're about to put on the wire
wc -c root.crt leaf.crt

Use the lab to measure chain sizes against client buffers, HSM signing throughput, OCSP/CRL sizes and every place your code assumes a key or signature length.

Rollout sequence

  1. PQC-capable CA hierarchy (offline root on SLH-DSA or ML-DSA-87).
  2. Composite or PQ certificates for internal services (service mesh, mTLS) where you control both ends.
  3. Short-lived certs + automated issuance (ACME) so reissuing is cheap — that is agility.
  4. External/WebPKI when browsers and CAs are ready.

Code and firmware signing

Option Pros Cons Fit
LMS / XMSS (SP 800-208) Conservative hash-based; CNSA 2.0 approved Stateful — reusing a one-time key is catastrophic Firmware, secure boot in HSM-backed pipelines
SLH-DSA (FIPS 205) Stateless hash-based; tiny keys 7–17 KB signatures, slow signing Roots of trust, infrequent signing
ML-DSA (FIPS 204) Fast, moderate sizes Lattice assumption Software packages, containers, high-volume signing

CNSA 2.0 requires exclusive PQ software/firmware signing for National Security Systems by 2030. For devices shipping in 2027+ with a lifetime past 2035, the root of trust must be PQ-capable at manufacture — it can't be patched in later.

State management is the risk with LMS/XMSS. Keep state in the HSM, never in a VM snapshot, backup or CI cache that can be restored.