← All advisories

QSC-ALG-0002 · CWE-327

RSA digital signatures

Severity: HighReadiness: Fix availableQuantum threat: Shor

Summary

RSA signatures (PKCS#1 v1.5, RSA-PSS, RS256/PS256 tokens, code signing, certificates) can be forged once a CRQC exists.

Why it matters

No retroactive exposure, but forged signatures would defeat software updates, documents and identities. Long-lived roots and firmware keys must move first, because replacing them takes years.

How to fix

Move to ML-DSA-65 (FIPS 204); use SLH-DSA (FIPS 205) or LMS/XMSS for long-lived roots and firmware signing.

  1. Classify each signing key by how long its signatures must be trusted (root CA, firmware, documents, tokens).
  2. Introduce ML-DSA keys alongside RSA (dual or composite signatures) where verifiers can't all upgrade at once.
  3. Upgrade verifiers first, then switch signers, then retire RSA keys.

Code samples

Illustrative: confirm against your runtime’s documentation before shipping.

cli
# OpenSSL 3.5+
openssl genpkey -algorithm ML-DSA-65 -out mldsa.key
openssl pkey -in mldsa.key -pubout -out mldsa.pub
openssl pkeyutl -sign -inkey mldsa.key -in message.bin -out message.sig

Until the provider is ready

Interim mitigations while platform support catches up.

  • Inventory signing keys with long validity (root CAs, firmware, archival signatures) and plan their replacement first.
  • Shorten certificate and token lifetimes so the switch-over can happen quickly.

References