QSC-PROTO-0104 · CWE-327
JWT / JOSE tokens signed with RSA or ECDSA (RS256, PS256, ES256, EdDSA)
Severity: MediumReadiness: Standard pendingQuantum threat: Shor
Summary
JWT signing algorithms in production use are all quantum-vulnerable. ML-DSA for JOSE/COSE is still an IETF draft, and most libraries lack it.
Why it matters
Token forgery once a CRQC exists. No harvest-now exposure, because tokens are short-lived.
How to fix
Standard pending: build crypto-agility now so the algorithm can be switched by configuration.
- Keep token lifetimes short and the signing algorithm configurable (no hard-coded RS256).
- Publish keys via JWKS with key IDs so new ML-DSA keys can be rolled in.
- Track the IETF ML-DSA for JOSE draft and your identity provider's roadmap.
Until the provider is ready
Interim mitigations while platform support catches up.
- Short-lived tokens; centralise signing in a KMS or HSM that will add ML-DSA.