Skip to main content Link Menu Expand (external link) Document Search Copy Copied

Last reviewed 2026-12-05 · History

Summary

  • JOSE is the family of formats behind JSON Web Tokens (JWTs); COSE is its binary counterpart. A token names its signature algorithm in the alg header.
  • The common values are classical: RS256 (RSA) and ES256 (ECDSA P-256).1
  • ML-DSA is standardised for JOSE and COSE in RFC 9964 (May 2026, Standards Track).2
  • No ML-KEM entry was found in the JOSE algorithm registry for encrypted tokens (checked 2026-12-05).1
  • Tokens carrying an HMAC (HS256) use symmetric cryptography and are outside this site’s scope.

Where public-key cryptography is used

Signed tokens are verified against the issuer’s public key, usually fetched as a key set (JWKS) over HTTPS, so trust rests on TLS and the Web PKI. Encrypted tokens (JWE) can use public-key algorithms such as RSA-OAEP to protect a content key.1

Post-quantum options

alg COSE value Status in the IANA registries
ML-DSA-44 -48 RFC 9964; JOSE “Optional”
ML-DSA-65 -49 RFC 9964; JOSE “Optional”
ML-DSA-87 -50 RFC 9964; JOSE “Optional”

Sources:123.

  • RFC 9964 defines a new key type for these keys, “Algorithm Key Pair (AKP)”; a verifier needs library support for both the algorithm and the key type.2
  • Registry status for the classical algorithms, as of 2026-12-05: RS256 “Recommended”, ES256 “Recommended+”, Ed25519 “Optional”; the older EdDSA is “Deprecated” in favour of fully specified names.1
  • No hybrid or composite signature algorithm was found in the JOSE registry (checked 2026-12-05).1

Downgrade and enforcement

  • The verifier decides which algorithms it accepts. RFC 8725 requires that libraries “enable the caller to specify a supported set of algorithms and MUST NOT use any other algorithms when performing cryptographic operations”.4
  • Moving a token system to a post-quantum signature needs three things to line up: the issuer signs with the new algorithm, publishes the new key, and every verifier’s library and allow-list accept it. An issuer cannot change alone.

References

  1. IANA, JSON Web Signature and Encryption Algorithms. Accessed 2026-12-05. ↩ ↩2 ↩3 ↩4 ↩5 ↩6

  2. RFC 9964, ML-DSA for JOSE and COSE, May 2026, section 3. Accessed 2026-12-05. ↩ ↩2 ↩3

  3. IANA, COSE Algorithms. Accessed 2026-12-05. ↩

  4. RFC 8725, JSON Web Token Best Current Practices, section 3.1. Accessed 2026-12-05. ↩


Edit: JOSE and JWT

If you give an email address it is recorded publicly as the author of the commit, and GitHub will link the commit to your account if that address belongs to one.

Edits are reviewed before they appear. By submitting you release your contribution under CC BY-SA 4.0. Read the editorial guidelines first.

This site uses Just the Docs, a documentation theme for Jekyll.