← Back to section · Standards & Specifications

Post-Quantum Registration for COSE and JOSE: New Signatures for Tokens and IoT Messages

Web tokens (JOSE) and constrained-device messages (COSE) do not use the TLS certificate machinery; they run on alg values in IANA registries. Registering ML-DSA, ML-KEM and their hybrid forms into those two tables is an easily overlooked standardisation front.

Published 22 November 2026 · 5 min read · PQ Frontier

Post-Quantum Registration for COSE and JOSE: New Signatures for Tokens and IoT Messages
AI-generated site artwork
Video explainer · IETF Specifications: key exchange in protocols

IETF post-quantum attention is easily captured by TLS and certificates. But the Internet carries two more enormous signing/encryption frameworks with entirely different machinery: JOSE (JSON Web Signature/Encryption, the substrate of JWT tokens) and COSE (CBOR Object Signing and Encryption, its counterpart for constrained IoT devices). Neither uses the X.509 certificate path; both run on algorithm identifiers (alg values) and key representations maintained in IANA registries. For a new algorithm to work here, the first step is not code — it is registration and encoding conventions.

The registry mechanism: why “registering” is standards work

Algorithm identifiers for both JOSE and COSE are allocated from IANA-maintained registries. Behind each identifier there must be a specification: the algorithm’s exact definition, the byte encoding of signatures or ciphertexts, the key representation structure, and security considerations. Designated-expert review rejects vague applications. The point of the machinery: when a JWT header names an alg value, every implementation worldwide must understand it in exactly one way — precisely the role OIDs play in the X.509 world, in a different registry system. The registries also carry a historical lesson: some early alg values left room for algorithm-confusion attacks (symmetric and asymmetric identifiers being interchanged), after which expert review became strict about binding each identifier tightly to its key type. PQC registrations proceed under that tightened review — identifier, key type and parameter set in one-to-one correspondence, with no room for cross-algorithm misreading. The token ecosystem bought that strictness with real incidents.

ML-DSA into COSE/JOSE: what the drafts settle

Both the COSE and JOSE working groups have drafts in progress registering ML-DSA (check the Datatracker for current status). Such documents pin down, item by item:

  • Algorithm identifiers: one identifier per ML-DSA parameter set, with naming consistent with existing EdDSA and ECDSA entries.
  • Signature encoding: an ML-DSA signature is a fixed-length byte string, and the drafts confirm it appears in JWS/COSE_Sign1 in raw byte form, with no additional wrapping.
  • Key representation: field definitions for public and private keys in JWK (JSON form) and COSE_Key (CBOR form) — where the seed-versus-expanded question returns, and where the answer should stay conceptually consistent with LAMPS’ X.509 conventions, lest the same key grow two faces in two frameworks.

On the key-establishment side, how ML-KEM enters JOSE/COSE is entangled with HPKE (the hybrid public key encryption framework of RFC 9180, for which both COSE and JOSE have carriage drafts): one path registers KEM algorithms directly, another introduces them indirectly through HPKE’s algorithm registry. The choice between paths has not fully converged — one reason this line of documents remains in draft.

Size: the wall constrained devices hit first

COSE’s home ground is constrained devices: low-bandwidth links, small memories, battery power. ML-DSA’s kilobyte-scale public keys and signatures hit COSE scenarios harder than TLS — a device telemetry message can be smaller than the signature attached to it. Two design pressures follow. Some scenarios may shift to smaller parameter sets or to dual trade-offs (SLH-DSA’s small public keys against its large signatures — a completely different balance point). And optimisations such as aggregation and batch verification move from “nice to have” to “decides feasibility”. How squarely the drafts face these constraints is a good maturity gauge.

Urgency: a different ledger from TLS

JOSE/COSE migration urgency must not copy TLS conclusions. Access tokens typically live minutes to hours and are verified online; harvest-now-decrypt-later barely threatens signatures there, and that population can follow the ecosystem at leisure. But the same frameworks carry another class of object: device identity credentials, firmware signatures, verifiable identity documents — signatures that must verify on a ten-year horizon, where the algorithm is burned in at the factory and the migration window is set by hardware lifetime. Scheduling those two populations separately is the most important planning act on this front. Beyond scheduling, one engineering habit is worth establishing early: verification libraries should keep strict algorithm allow-list discipline when parsing tokens — accept only alg values the deployer has explicitly enabled, and reject unknown or unenabled PQC identifiers outright rather than “verifying if possible”. The registry will keep gaining entries; if verifiers’ default posture is not tight, every addition becomes a new confusion surface. Cryptographic agility done right means “new algorithms can be enabled quickly”, not “every algorithm is accepted by default”.

Against the X.509 world: one algorithm set, two identity systems

Setting the COSE/JOSE line beside the LAMPS line clarifies the IETF’s whole migration picture. The Internet’s identity and signature infrastructure is really two parallel systems: the X.509 certificate system serving TLS, code signing and organisational PKI, and the token/object-security system (JOSE/COSE) serving API tokens, mobile apps, IoT devices and verifiable credentials. Both systems share the same underlying algorithms — ML-DSA is ML-DSA in either — but their carrier formats, registries and update mechanisms are entirely different: changing algorithms on the certificate side moves CAs and root programmes, on the token side moves authorisation servers and countless verification libraries, and on the device side there may be no channel to move at all. Any serious migration inventory must therefore count the two systems separately: high hybrid key-exchange coverage in TLS traffic implies nothing about token-ecosystem progress. What the two systems do share is the algorithm-level consensus — parameter sets, seed conventions, size data — and that is exactly the layer PQUIP-style guidance exists to settle once, so neither system has to rediscover it alone.

References

Tags: COSEJOSEML-DSAIANA Registry