What is JWT (JSON Web Token)?

A JWT is a compact, URL-safe string that carries a set of claims between two parties, defined by RFC 7519. Post-quantum signatures reach JWTs through the JWS algorithm registry, not through a new JWT specification.

On this page

What is a JWT, and why does it come up in post-quantum reviews?

If a vendor document, audit request or code review mentions a JWT, the term refers to a JSON Web Token, a string representing a set of claims as a JSON object. The format is defined in RFC 7519, published in May 2015 as a Proposed Standard by M. Jones, J. Bradley and N. Sakimura. It is a compact, URL-safe way to convey claims between two parties, and the claims are carried either as the payload of a signed or MACed JWS or as the plaintext of a JWE. In practice, most JWTs in application code are signed tokens that identify a user or service and state what it may do, such as the sub, iss, aud and exp claims that services check on each request.

Post-quantum work touches JWTs through the signature algorithm the token carries, not through the JWT format itself. RFC 7519 does not define any algorithm of its own. The signing algorithm is a JWS alg value, so post-quantum signatures arrive through the JOSE algorithm registry. RFC 9964, published in May 2026 as a Proposed Standard, registers the ML-DSA-44, ML-DSA-65 and ML-DSA-87 values for JOSE, and it lists their signature sizes, which are larger than the classical signatures most JWTs use today. Before you accept a claim that a service is ready for post-quantum tokens, confirm which alg values the issuer and verifier actually support, and check that libraries on both sides handle the larger keys and signatures.

Which names and identifiers refer to JWT and its signature layer

This table lists the names, standard numbers and roles of the specifications that define JWT and the signature layer beneath it, including the post-quantum ML-DSA identifiers. Read it to tell the claims format from the container that signs it and the registry that names the algorithm. The main takeaway is that ML-DSA support arrives through the JOSE algorithm registry, not through a new JWT specification.

Name or identifierStandardRole
JSON Web Token (JWT)RFC 7519A string representing a set of claims as a JSON object, carried inside a JWS or JWE.
application/jwtRFC 7519The registered media type for JWTs, whose encoding is base64url-encoded values separated by periods.
CBOR Web Token (CWT)RFC 8392The CBOR counterpart of JWT, encoding claims in CBOR and protecting them with COSE, marked by optional CBOR tag 61.
JSON Web Signature (JWS)RFC 7515The signing container that carries a JWT payload and its signature; a signed JWT uses the JWS Compact Serialization.
JSON Web Algorithms (JWA)RFC 7518The registry of algorithm identifiers used with JWS, JWE and JWK, including the alg values that name signature methods.
ML-DSA-44RFC 9964A JOSE alg value for the ML-DSA-44 parameter set from NIST FIPS 204, registered as Optional for JOSE implementations.
ML-DSA-65RFC 9964A JOSE alg value for the ML-DSA-65 parameter set from NIST FIPS 204, registered as Optional for JOSE implementations.
ML-DSA-87RFC 9964A JOSE alg value for the ML-DSA-87 parameter set from NIST FIPS 204, registered as Optional for JOSE implementations.

Where practitioners meet JWT in post-quantum work

JWT rarely arrives as a standalone project. It shows up in application authentication, vendor documentation, constrained devices, encryption drafts and audit questionnaires, and each place asks a different question about the signature algorithm or container. The cards below cover where to look and what to confirm in each.

Application authentication and API tokens

Many applications issue JWTs as bearer tokens for sessions and API access, with the claims set in the payload and a signature in the header's alg field. To see how post-quantum work applies here, check which JWS alg value your identity provider or token library uses to sign tokens and whether it is a classical algorithm such as RS256 or ES256. Confirm this with the product's own configuration, since the token format itself does not change when the algorithm does.

RFC 7519 text

Vendor documents listing supported JWS alg values

Vendor security documentation often lists the JWS alg values a product supports for signing tokens. Post-quantum signatures reach JWTs through the JWS algorithm registry rather than through a new JWT specification, so a vendor's supported-algorithms list is the place to look. Ask whether the listed values are classical only, whether any post-quantum alg identifiers are supported, and which version of the product the list applies to.

RFC 7518 registry

IoT and constrained systems using CWT

Constrained devices often use CBOR Web Token (CWT) instead of JWT, because CWT encodes claims in CBOR and protects them with COSE. The claim keys and token semantics track JWT closely, so reviewers should treat a CWT deployment as the same concept in a different encoding. Check which COSE algorithm identifiers the devices and their verifiers support, and confirm post-quantum support against the COSE registry for the versions in use.

RFC 8392 text

HPKE-based encryption drafts for JWE

Work on using Hybrid Public Key Encryption with JSON Web Encryption is in progress at the IETF, in a Standards Track JOSE draft that had not yet received an RFC number as of 4 December 2026. Teams reviewing JWE-based designs should track this draft and not assume it is final. Confirm the revision and status against the IETF Datatracker before citing it in a design or vendor answer.

IETF Datatracker page

Audit requests on token signature algorithms

Audit and vendor-risk questionnaires often ask which signature algorithms the organization's tokens use. The answer must come from the actual token configuration, including the alg header values issued by each identity or API component. Collect the alg values from live tokens or configuration exports, and record the library and version that produced them, so the answer reflects what is deployed.

How a JWT carries claims, signatures and encryption

A JWT is a string that represents a set of claims, which RFC 7519 defines as a JSON object. The claims are the content of the token, such as who the subject is, who the token is for and when it expires. On their own, claims do not protect anything. Protection comes from the container the claims are placed in, and this is the part reviewers most often misread. A JWT is always represented with either the JWS Compact Serialization, which carries a signature or MAC, or the JWE Compact Serialization, which carries encryption. The JWT is the claims set, while JWS and JWE are the containers that make it verifiable or confidential. When a vendor document says a product uses JWTs, the first question to ask is which container and which algorithm sit around the claims.

The containers matter for post-quantum planning because the signing algorithm of a signed JWT is a JWS alg value. Post-quantum signatures therefore reach JWTs through the JWS algorithm registry rather than through a new JWT specification. RFC 9964 registers JOSE alg values for ML-DSA-44, ML-DSA-65 and ML-DSA-87, and it lists their signature sizes in bytes (2420, 3309 and 4627 respectively). Those signatures are considerably larger than the ES256 signatures many systems use today, so token size, header limits and gateway or proxy buffers should be tested with the chosen parameter set. Also check the alg values in JWT headers that your issuers and verifiers accept, and confirm with each library and vendor which ML-DSA identifiers they support. RFC 9964 marks those JOSE identifiers as Optional, so support is uneven across implementations.

Where JWT and its post-quantum signatures stand as standards

JWT itself is settled as a standard, but post-quantum signatures in JWTs are still early in the process. RFC 7519, "JSON Web Token (JWT)," was published in May 2015 as a Proposed Standard, and RFC 7518, the JSON Web Algorithms (JWA) specification, was published the same month. RFC 7518 defines the algorithm identifiers and IANA registries that JWS, JWE and JWK use. The JWT format did not need a new specification for post-quantum work, because post-quantum signatures enter through the JWS algorithm registry. The sources listed on this page do not say whether any JWT library or identity provider has adopted post-quantum signing, so confirm that with each vendor's documentation.

The algorithm identifiers that matter most for post-quantum work were changed in 2025 and 2026. RFC 9864 (October 2025, Proposed Standard) deprecates the polymorphic JOSE value "EdDSA" in favor of fully-specified identifiers for Ed25519 and Ed448, and it updates RFC 7518. Any alg value in a JWT header that still reads "EdDSA" should be checked against this change. RFC 9964 (May 2026, Proposed Standard), titled "ML-DSA for JSON Object Signing and Encryption (JOSE) and CBOR Object Signing and Encryption (COSE)," defines JOSE serializations for ML-DSA as specified in NIST FIPS 204. It registers ML-DSA-44, ML-DSA-65 and ML-DSA-87 as Optional for JOSE, so a JWT library can support them without being required to. Check RFC 9964 Table 1 for key and signature sizes, which are much larger than classical ECDSA values.

Encryption of JWTs with HPKE is not yet finished. The draft draft-ietf-jose-hpke-encrypt, which covers HPKE with JWE, was listed as awaiting editor assignment in the RFC Editor queue, and the COSE draft draft-ietf-cose-hpke was waiting for Area Director go-ahead, with no RFC number for either as of 4 December 2026. Until these are published, do not assume an HPKE-based JWE is interoperable across implementations. Ask vendors whether their JWT encryption supports HPKE, and check the current status on the IETF Datatracker page for jose-hpke-encrypt before relying on it.

What to check in a JWT inventory before a post-quantum migration

This sequence builds an inventory of where JWTs are issued and verified, the signing algorithms each service uses, and whether libraries and vendors can handle post-quantum JWS identifiers. It produces a dated record that shows which services need changes and which vendor answers still need confirmation from real tokens.

  1. Find every service that issues or verifies JWTs

    Start by listing each application, API gateway, identity provider, microservice and batch job that creates or checks a JWT. Include services you do not own directly, such as SaaS tools that send or accept tokens, and internal tools that were built outside the main platform team. Owners of each service should confirm the list, and the output is a single register with one row per service, the team responsible, and whether it issues, verifies or both. The step is done when a second reviewer has checked the list against your identity provider's client registrations and API gateway routes.

  2. Record the alg header values in use

    For each service, capture the alg Header Parameter that appears in the JWTs it produces and accepts. Values such as HS256, RS256, ES256, PS256 and EdDSA all show up in this field, and RFC 7518 defines the registered JWS alg values. Note whether any token uses the value none, since RFC 7519 describes unsecured JWTs as having no integrity protection. The output is a column in the register showing the alg values per service, and the step is complete when every row has at least one observed value.

  3. Check library support for ML-DSA identifiers

    For each signing and verifying library in the register, check its documentation or release notes for the ML-DSA alg identifiers defined in RFC 9964, which are ML-DSA-44, ML-DSA-65 and ML-DSA-87. Also check whether the library handles the fully-specified identifiers described in RFC 9864 and whether it still relies on the polymorphic EdDSA value that RFC 9864 deprecates. Ask the library maintainers or the internal team that owns the library to confirm the answer in writing. The output is a table of libraries and versions with a yes, no or unconfirmed status for each identifier family, and the step is done when every unconfirmed entry has a named owner.

  4. Record ML-DSA key and signature sizes

    Use the byte sizes in RFC 9964 Table 1 to plan storage and header budgets before any token changes. For ML-DSA-65, the table gives a public key of 1952 bytes and a signature of 3309 bytes, with ML-DSA-44 and ML-DSA-87 listed in the same table for comparison. Compare these sizes with the token size limits in each gateway, proxy and client library you recorded earlier, since larger signatures increase the length of the token. Store the sizes alongside the alg values in the register so that capacity reviews can use them later. The output is a planning note per algorithm, and the step is done when reviewers have confirmed that the relevant header and storage limits are recorded.

  5. Ask vendors which JWS alg values they use

    For each third-party product that issues or verifies JWTs for you, send a written question asking which JWS alg values its tokens use today, whether it supports the ML-DSA identifiers from RFC 9964, and whether it follows the fully-specified identifiers in RFC 9864. Ask for the product version and the date of the answer, and ask whether the vendor has published a roadmap for these identifiers. The output is a vendor response file for each product, and the step is done when every vendor has answered or a missing answer has been escalated to the vendor-risk owner.

  6. Confirm alg values by inspecting real token headers

    Do not accept a vendor answer as the final record. Capture live tokens from each service in a test or staging environment, decode the header without verifying the signature, and read the alg value that appears. Compare each captured value with the vendor's answer and with the register, and record any mismatch as an open item. Keep the captured headers, with any personal data removed, as evidence for the audit file. The step is complete when every service in the register has at least one inspected token and every vendor claim has either been confirmed or flagged.

Common confusions about JWT, JWS and post-quantum claims

JWT, JWS, CWT and the JOSE algorithm registries sit close together, and post-quantum vendor material often blurs them. The cards below separate the claims set from the signature container, the JSON and CBOR encodings, and the algorithm identifiers that decide what a token can actually carry.

JWT is not the same as JWS

A JWT is the claims set, a JSON object that carries the statements two parties exchange. A JWS is the container that signs or MACs that payload. RFC 7519 says a JWT is always represented with the JWS Compact Serialization or the JWE Compact Serialization, so a signed JWT is a claims set inside a JWS. When a vendor says a product "supports JWS", ask whether it means signed JWTs specifically or any JWS payload, because the two are not interchangeable in an inventory.

RFC 7519 text

No new JWT spec for post-quantum signatures

Post-quantum signatures do not get a new JWT specification. A signed JWT names its algorithm through a JWS alg value, so any post-quantum signature reaches JWTs through the JWS algorithm registry. RFC 9964 is an example: it defines JOSE and COSE serializations for ML-DSA and registers the alg values ML-DSA-44, ML-DSA-65 and ML-DSA-87 with the implementation requirement "Optional". Check the alg value and the library version, because a token issuer can only sign with algorithms its code and key material support.

RFC 9964 text

JWT and CWT use different encodings

A JWT encodes its claims as JSON and represents them with base64url text, while a CBOR Web Token (CWT) encodes the same kind of claims in CBOR and protects them with COSE. RFC 8392 gives CWT claim keys as integers, such as iss 1, sub 2 and exp 4, so a CWT is not a JWT with a different wrapper. Tokens for constrained devices are often CWTs, so a reviewer who inventories a JWT library may miss CBOR tokens entirely. Confirm which encoding each system emits and parses.

RFC 8392 text

Read the alg value against RFC 9864

The alg value inside a JWT header is what tells a verifier which algorithm to use, so reading it correctly matters. RFC 9864 deprecates the polymorphic identifier "EdDSA" in favor of the fully-specified Ed25519 and Ed448 identifiers. A header that still says "EdDSA" may be valid under older guidance but deprecated under the current one. Check the header value against RFC 9864 and the JOSE registries before treating a token as conforming, and confirm that the verifier in use accepts the identifier.

RFC 9864 text

Confirm interoperability across versions

Support for a token format or algorithm does not mean two systems will exchange tokens without problems. Libraries may implement different revisions of the JOSE and COSE registries, and a token signed with a newer algorithm may fail to verify in an older verifier. Treat interoperability between versions as something to test, not something to assume. Ask each vendor which RFCs and registry revisions their implementation follows, and run signing and verification between the exact versions you deploy.

Questions people ask about JWT and post-quantum signatures

What does JWT stand for, and is it the same as JWS?

JWT stands for JSON Web Token. A JWT is a compact, URL-safe string that carries a set of claims as a JSON object, and it is not the same thing as JWS. JWS (JSON Web Signature) is the container that protects a JWT by signing it, and JWE (JSON Web Encryption) is the container that encrypts it. A JWT is always represented with the JWS Compact Serialization or the JWE Compact Serialization, so the JWT is the claims set and JWS or JWE is the wrapper. A signed JWT is therefore a JWS whose payload is the claims. A nested JWT can combine both layers so one token is signed and also encrypted, as described in RFC 7519. When a vendor says it uses JWTs, ask whether it means a signed JWS, an encrypted JWE, or both, and which algorithm each one uses.

Is JWT standardized, and by which RFC?

Yes. JWT is defined in RFC 7519, "JSON Web Token (JWT)," published in May 2015 as a Proposed Standard by M. Jones, J. Bradley and N. Sakimura. The algorithm identifiers used with JWS, JWE and JWK are registered in RFC 7518, "JSON Web Algorithms (JWA)," published in the same month and since updated by RFC 9864. RFC 7519 also registers the media type application/jwt. When reviewing a product, confirm which of these documents its implementation follows and which algorithm identifiers it accepts, since the JWT specification itself does not define the signature algorithms. The full text is available at RFC 7519 and RFC 7518.

Does a post-quantum JWT need a new specification?

Not necessarily a new JWT specification. Post-quantum signatures reach JWTs through the JWS algorithm registry, because the signing algorithm of a signed JWT is a JWS alg value. The JOSE work for ML-DSA is defined in RFC 9964, "ML-DSA for JSON Object Signing and Encryption (JOSE) and CBOR Object Signing and Encryption (COSE)," published in May 2026 as a Proposed Standard by M. Prorock and O. Steele. It defines JOSE serializations for ML-DSA as specified in NIST FIPS 204. Whether a given product supports these values depends on its implementation, so check which algorithm identifiers it accepts and whether it has implemented RFC 9964. Work on HPKE with JOSE (draft-ietf-jose-hpke-encrypt-22) is still a draft as of 4 December 2026 and has no RFC number yet. Confirm the status of any draft a vendor cites before treating it as settled.

What does ML-DSA change in a JWT header?

The ML-DSA identifiers change the alg value in the JWT header, and the signature in the token grows. RFC 9964 registers the JOSE alg values ML-DSA-44, ML-DSA-65 and ML-DSA-87, each with the JOSE implementation requirement "Optional." It also defines the key type AKP (Algorithm Key Pair) for these keys. According to RFC 9964 Table 1, the signature size is 2420 bytes for ML-DSA-44, 3309 bytes for ML-DSA-65 and 4627 bytes for ML-DSA-87. Public keys are 1312, 1952 and 2592 bytes respectively. Larger signatures increase the size of each token, which can affect HTTP header limits, cookie storage and log volume. Test a representative token in your own environment to see the real effect, and confirm the parameter set your policy requires.

Is CWT the same as JWT?

No. CWT (CBOR Web Token) is the CBOR counterpart of JWT, defined in RFC 8392, published in May 2018 as a Proposed Standard. It encodes the same kind of claims in CBOR, a binary format, and protects them with COSE rather than JWS. The optional CBOR tag 61 marks a CWT. RFC 8392 assigns the claim keys iss 1, sub 2, aud 3, exp 4, nbf 5, iat 6 and cti 7, with key 0 reserved. A CWT and a JWT carry similar meanings but are different encodings, so a verifier built for one will not read the other. When a vendor lists token formats, ask whether it issues JWTs, CWTs or both, and which signature algorithm each uses. The document is at RFC 8392.

What should I ask a vendor about JWT signing algorithms?

Ask which alg values the product issues and which it accepts for verification, since these determine what a verifier will trust. Check whether the product uses the polymorphic "EdDSA" identifier, which RFC 9864 deprecates in favor of the fully specified Ed25519 and Ed448 identifiers. Ask whether it supports the ML-DSA identifiers from RFC 9964, and if so which parameter set it uses. Ask whether it rejects the "none" algorithm, which RFC 7519 describes as an Unsecured JWT with no integrity protection. Ask how keys are stored and rotated, and whether the vendor has a dated plan for moving to the post-quantum identifiers. Request the version and the specification it claims to follow in writing, and confirm the answers with a test token in your own environment.

How DeployOpen works on this

DeployOpen reviews JWT use as part of an application or platform post-quantum assessment, starting from where tokens are issued, signed and verified. We check which JWS algorithm values the system uses, how keys and tokens are stored and rotated, and where JWE encryption or nested tokens appear. The output is a documented inventory and a change plan that your engineers and auditors can check.

How we scope

  • We list every service that issues, signs, verifies or encrypts JWTs in your environment.
  • We record the JWS alg values in use, including HS256, RS256, ES256 and any EdDSA identifiers.
  • Engagements are fixed-scope, and the written scope states which token flows and libraries are covered.

How we build

  • We test how your libraries handle alg values, so we can confirm which algorithms each service accepts.
  • We review whether tokens use the fully-specified Ed25519 or Ed448 identifiers that RFC 9864 introduces.
  • Where a change is needed, we implement and test it in a non-production environment before rollout.

How we hand over

  • You receive a written inventory of JWT issuers, verifiers, algorithm identifiers and key locations.
  • The migration plan notes which changes depend on library updates and which you must confirm with vendors.
  • We walk your security and platform teams through the findings so they can check each item themselves.

How we support

  • Ongoing support and retesting are available as a retainer after the initial review is delivered.
  • We can retest affected services after upgrades, so you can confirm signature and verification behavior.
  • Confirm with your library maintainers whether ML-DSA identifiers from RFC 9964 are supported in your versions.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.