How do API teams check whether their JWT setup is ready for post-quantum signatures?
Readiness for post-quantum JWT signatures comes down to two checks. First, inventory every JWT issuer, every verifier and every published key set, since a signature algorithm change touches all of them. Second, confirm that each component can enumerate its keys one at a time, select a key by its alg and kid values, and validate it against an explicit list of accepted algorithms. A token flow is only as ready as its weakest component, and many teams discover that a verifier or a published JWK Set cannot handle a second algorithm until they try to add one.
This work falls to API owners, platform teams and identity engineers who issue or verify JWTs, often across services maintained by different groups. Start by listing where tokens are minted, including gateways, authorization servers and internal services, and where they are checked, including API gateways, service meshes and application libraries. For each issuer, record the algorithms it emits. For each verifier, record the accepted algorithm list it enforces, since RFC 7519 says a verifier should reject a token whose algorithm is not acceptable to the application. Then, for each published key set, confirm it is a JWK Set with a keys member as RFC 7517 requires, and that its keys carry kid values that are distinct within the set.
The next check is whether each key is bound to exactly one algorithm. RFC 8725 says a key must be used with one algorithm only, and that the alg header must match the algorithm actually used in the operation. Ask each verifier to show what happens when a token arrives with an algorithm it does not expect, and confirm the answer is rejection. Repeat a check RFC 7518 calls out: implementations must not accept Unsecured JWS (none) by default. Run this check again after any library upgrade, because defaults change between versions.
For post-quantum keys specifically, RFC 9964 defines ML-DSA in JOSE with the algorithm values ML-DSA-44, ML-DSA-65 and ML-DSA-87 and the key type AKP. Its section 7.3 requires validating all algorithm-related parameters of an ML-DSA key, including the 32-byte priv seed length. Check that your libraries enforce this rule. Some libraries now require an alg member on every AKP key, so confirm that your published key sets include one. Where your libraries are not yet documented for these identifiers, the sources listed on this page do not say whether they support them, so confirm support against each library's own release notes and test vectors before you plan a rollout. Treat any identifier from an Internet-Draft as provisional until it is published as an RFC.
Where JWT signatures are used today in an API estate
This table maps each place a JWT signature is created or checked, and the setting that controls which algorithm and key are accepted there. Read it as an inventory: for each row, record the owner, the algorithm in use and the key source, because a post-quantum change touches the signature algorithm and the key that carries it, not the token format itself.
| Location | What it does | Standard that governs it | What to record for post-quantum work |
|---|---|---|---|
| Token issuer | Creates and signs JWTs with a private key and sets the "alg" header | RFC 7515 and RFC 7519 define the token; RFC 8725 section 3.1 requires one algorithm per key | Signing library, "alg" value emitted, and which key ID signs each token |
| Token verifier | Checks the signature and rejects tokens whose algorithm is not acceptable to the application | RFC 7519 section 7.2 says a verifier SHOULD reject unacceptable algorithms | Accepted algorithm list, configured per service, and whether "none" is rejected |
| Published JWK Set | Publishes public keys that verifiers fetch to check signatures | RFC 7517 section 5 requires a "keys" member holding an array of JWKs | Each key's "kid", "alg" and key type, and whether the set is cached or refetched |
| Key identifier (kid) | Links a token to the key in the set that verifies it | RFC 7517 section 4.5 says keys in a set SHOULD use distinct "kid" values | Confirm no two keys in one set share a "kid" |
| Library algorithm allowlist | Limits which algorithms a library accepts when a caller does not set them | RFC 8725 section 3.1 requires libraries to let callers specify the supported set | Library name and version, and where the allowlist is set in code or configuration |
| Gateway or API proxy | Verifies tokens before requests reach backend services | Same verifier rules as RFC 7519 section 7.2 where the gateway checks signatures | Whether the gateway verifies, passes through or re-signs tokens, and its key source |
| Third-party relying party | Accepts tokens your issuer signs, using keys it fetched from your published set | RFC 7517 and RFC 8725 apply to both sides of the exchange | Which partners fetch your keys, and whether they can handle a new algorithm identifier |
| Algorithm identifier in use | Names the signature algorithm, such as RS256, ES256 or EdDSA | RFC 7518 section 3.1 lists RS256 and ES256; RFC 9864 deprecates polymorphic "EdDSA" | Exact identifier emitted, so an EdDSA issuer records whether it uses "Ed25519" or "Ed448" |
What the standards say about post-quantum JWT signing keys
The core standard for post-quantum signatures in JOSE is RFC 9964, published in May 2026 as a Proposed Standard. It defines how ML-DSA is used in JSON Object Signing and Encryption and CBOR Object Signing and Encryption, and it registers the JOSE "alg" values "ML-DSA-44", "ML-DSA-65" and "ML-DSA-87", along with the JOSE key type "AKP". It registers no "crv" values. The algorithms themselves come from NIST FIPS 204, published as a final standard on 13 August 2024, which defines ML-DSA for creating and verifying digital signatures. RFC 9964 is the document that defines the JOSE serialization of that algorithm. Your key set and verifier configuration should use these registered identifiers rather than anything an implementation invents.
Two drafts relevant to post-quantum token signing were still Internet-Drafts with no RFC number on 4 December 2026: draft-ietf-jose-pq-composite-sigs-07, last dated 23 November 2026, and draft-ietf-cose-sphincs-plus-11, last dated 19 November 2026. Identifiers defined in those drafts are not yet final registrations, so do not hard-code them into issuers or verifiers as stable values. Confirm the current status of each draft on the IETF Datatracker before planning around it, and track any identifier change as a risk to your migration schedule.
Plan key sets to hold the sizes RFC 9964 gives in its Table 1, in bytes: ML-DSA-44 has a 1312-byte public key and a 2420-byte signature, ML-DSA-65 has a 1952-byte public key and a 3309-byte signature, and ML-DSA-87 has a 2592-byte public key and a 4627-byte signature. In JWS the signature bytes are then base64url encoded, which makes the serialized value longer again. Confirm that your header and key storage, cache limits and any size-bounded fields accept these lengths. Also confirm that each ML-DSA key in a set carries an "alg" member, because the jose and libjwt libraries require it on AKP keys.
Which JWT libraries and runtimes have shipped ML-DSA support
Libraries are where most API teams will meet ML-DSA, and their support varies by language and by version. The sources list three libraries with different status. Confirm each one against its own release notes for the version you run, because a library's support is only as stated there.
- jose 6.2.18: The panva jose changelog for version 6.2.18 (18 November 2026) requires an "alg" member on direct AKP key inputs, so ML-DSA keys must carry an "alg" value.
- libjwt: libjwt defines the compile-time macro LIBJWT_HAVE_ML_DSA when ML-DSA is active, so C code can test for support during the build.
- Nimbus JOSE+JWT: The Nimbus roadmap post of 17 December 2025 names version 10.5 as current and lists ML-DSA for JWS as work to track. Treat it as planned until the 10.5 release notes say otherwise.
- joserfc 1.8.0: The PyPI page for version 1.8.0 (3 November 2026) does not mention ML-DSA, AKP or RFC 9964. Python teams should confirm support in the library's own documentation.
Before you rely on any library, read its changelog for the exact version in your lockfile and check that its key format matches the AKP key type in RFC 9964.
Some services get cryptographic primitives from the runtime rather than from a JWT library. For those services, the runtime and its underlying OpenSSL build decide what key types are available. The Node.js crypto documentation is the primary reference for what a given Node.js release supports.
- Node.js key types: The Node.js crypto documentation lists 'ml-dsa-44', 'ml-dsa-65' and 'ml-dsa-87' as key types. Check whether your Node.js version documents them.
- OpenSSL check: Node.js relies on the OpenSSL build it was compiled against. Record the OpenSSL version reported by your runtime, since key type availability depends on it.
- Version pinning: Pin the runtime version you tested, because a minor upgrade can change which key types are exposed.
- Verification test: Sign and verify a test token with each ML-DSA variant you plan to use, in the same runtime that serves production traffic.
A documented key type is not the same as a working JWT path. Confirm that your JWT library can read and write the AKP key format before you change issuer or verifier code.
Some products implement post-quantum JWT signing outside the mainstream library ecosystem. Their scope is narrower, and the vendor's own statement sets the limits. The main example in the sources is PostQuantum.Jwt for .NET.
- PostQuantum.Jwt: The NuGet page says the package does not guarantee interoperability with generic JWT tooling and is intended for controlled issuer and verifier systems.
- Closed deployments: If you choose a product like this, every issuer and verifier that reads its tokens must use the same product, so plan for that constraint.
- Standards status: The sources do not say whether this package follows RFC 9964 identifiers, so ask the vendor to confirm the algorithm names and key format it emits.
- Exit path: Record how you would move tokens to a standards-based library if the product is discontinued or your clients need generic tooling.
If a product does not document interoperability with standard JWT tooling, treat it as limited to the systems it was built for.
What changes in key sets and verifiers when ML-DSA arrives
ML-DSA changes what a JWK Set holds and what a verifier must accept. The five changes below cover key and signature size, the required alg member, seed validation, algorithm allowlists and the none algorithm, so each issuer and verifier can be checked against them before keys are published.
Larger keys and signatures
RFC 9964 Table 1 gives the public key and signature sizes for each ML-DSA parameter set in bytes: ML-DSA-44 uses 1312 and 2420, ML-DSA-65 uses 1952 and 3309, and ML-DSA-87 uses 2592 and 4627. In a JWS, the signature bytes are base64url encoded, so the token grows further than the raw size suggests. Check that token headers, cookies, URLs and gateway size limits can carry a signature of this length, and that the public key still fits inside the key set a verifier downloads.
RFC 9964 textRequired alg member on AKP keys
Keys of type AKP must carry an alg member naming the ML-DSA parameter set, such as ML-DSA-65. The jose 6.2.18 release of 18 November 2026 requires it on direct AKP key inputs, and libjwt also requires it on every AKP key. Any key published without an alg member will fail in these libraries, so audit each key set entry before rollout and keep kid values distinct within the set.
RFC 7517 textSeed length validation on private keys
RFC 9964 section 7.3 requires implementations to validate every algorithm-related parameter of an ML-DSA key, including the length of the private seed in the priv member, which must be 32 bytes. Keys imported from a file, a secrets manager or a migration script should be checked for this length before use. A seed of the wrong length should cause a hard failure at load time rather than a signing error later.
RFC 9964 textCaller-specified algorithm allowlists
RFC 8725 section 3.1 says libraries MUST let the caller specify the supported set of algorithms and MUST NOT use any others, and that each key must be used with exactly one algorithm. Record the accepted list for every verifier, including the ML-DSA identifiers once they are added. Confirm that a token signed with ML-DSA is rejected by a verifier whose allowlist does not include it, and that a key is never accepted under an algorithm it was not issued for.
RFC 8725 textThe none algorithm stays rejected
RFC 7518 section 3.6 says implementations MUST NOT accept Unsecured JWS, the none algorithm, by default. A change of JWT library, a major version upgrade or a new ML-DSA code path can alter how the algorithm header is read, so repeat this test after each change. Send a token with alg set to none against every verifier and confirm it is refused, and keep that test in the regression suite for each library you run.
RFC 7518 textWhat to check now, in order, before a post-quantum signature change
This sequence gives you a verified inventory of every key, algorithm and setting that signs or verifies your tokens, so a post-quantum signature change can be planned and tested against known inputs. Each step produces a record that the next step depends on, and the change log holds the decision for audit.
Inventory every issuer, verifier and published key set
Platform or identity engineers list each service that issues JWTs, each service that verifies them, and each JWK Set endpoint that publishes public keys. For every published key, record its kid and alg values. RFC 7517 section 5 says a JWK Set holds a "keys" array, so you can enumerate each key in it one by one. RFC 7517 section 4.5 says kid values in a set should be distinct, so duplicates are worth flagging. The step is done when every issuer, verifier and key set appears in a single list with its kid and alg recorded.
Test each verifier's accepted algorithm list
Security engineers send test tokens to each verifier, one per algorithm the verifier might accept, and record which ones pass. RFC 7519 section 7.2 says a verifier should reject any token whose algorithm the application does not accept, so the accepted list should be a deliberate setting, not a default. RFC 7518 section 3.6 says implementations must not accept unsecured JWS ("none") by default, so include a test for it and repeat that test after any library upgrade. The step is done when each verifier has a recorded accepted list and the "none" test fails as expected.
Confirm library support for AKP keys and ML-DSA
Developers check the documentation of each JOSE or JWT library in use for support of the AKP key type and the ML-DSA algorithm names. RFC 9964 registers "ML-DSA-44", "ML-DSA-65" and "ML-DSA-87" and the "AKP" key type, and it requires validating the 32-byte "priv" seed length. Some libraries have published support, and others have not yet documented it, so the answer must come from each library's own documentation and release notes for the version you run. The step is done when each library is recorded as supported, not supported, or unconfirmed, with the version checked.
Ask each vendor which algorithms it accepts
Procurement and vendor-risk reviewers send a written question to each vendor whose issuer or verifier you depend on. Ask which signature algorithms its issuer emits and its verifier accepts, whether it validates the "alg" header against the key, and whether it checks the "priv" seed length for ML-DSA keys. RFC 8725 section 3.1 says libraries must let the caller specify the allowed algorithms and must not use others, so ask whether that is enforced. The step is done when each vendor's written answer is on file and any gap is logged as an open item.
Record the decision and test results in the change log
The change owner writes a dated entry that lists each issuer, verifier and key set, its recorded kid and alg values, the accepted algorithm list, the library support status, and each vendor answer. The entry states the decision to proceed, defer or isolate each component, and names who approved it. Keep the test outputs attached to the entry. The step is done when the change log entry is complete and every open item has an owner, so the signature change can be reviewed against a fixed record.
Failure modes to look for in JWT key sets and verifiers
Most post-quantum JWT problems will surface as failures in key sets and verifiers rather than in the signing math itself. The five cards below name the failure modes the sources describe and how to notice each one in your own issuers, key sets and verification code before you change any algorithm.
Keys without an alg member
ML-DSA keys in a JWK Set need an explicit alg member. The jose 6.2.18 release of 18 November 2026 requires "alg" on direct AKP key inputs, and libjwt also requires it on every AKP key. Export your key set and check each entry: a key that lacks "alg" will be rejected by these libraries even when the token itself is valid. Test a sample token against each verifier you run.
jose changelogPolymorphic EdDSA identifier in use
RFC 9864, published in October 2025, deprecates the polymorphic JOSE "EdDSA" registration in favor of "Ed25519" and "Ed448". Issuers that still emit "EdDSA" should record which identifier appears in their token headers and key sets. Verifiers that match on the old name may break when issuers move to the specific identifiers, so confirm both sides agree before any rollout.
RFC 9864 textVerifiers accepting unlisted algorithms
RFC 8725 says libraries MUST let the caller specify the supported set of algorithms and MUST NOT use any others, and that each key must be used with exactly one algorithm. For each verifier, record the accepted algorithm list from its configuration and check it against the algorithm in each incoming token header. A verifier that accepts an algorithm missing from its allowlist is a finding, and it is easier to catch now than after keys are added.
RFC 8725 textThe none algorithm returns after updates
RFC 7518 says implementations MUST NOT accept Unsecured JWS ("none") by default. Library upgrades can change defaults, so this check should run again after every dependency change, not only at initial setup. Send a token with the "none" algorithm to each verifier and confirm it is rejected. Keep the result with the build record so a regression shows up in review.
RFC 7518 textVendor libraries that break generic tooling
The PostQuantum.Jwt package states that it does not guarantee interoperability with generic JWT tooling and is intended for controlled issuer and verifier systems. If any token you issue must be read by standard libraries or third-party clients, test that path before adopting a vendor-specific signing library. Confirm the library's interoperability claims in its own documentation and against the clients you actually run.
NuGet package pageWhat is still open for post-quantum JWT identifiers
Not every post-quantum identifier you may meet in a JWT deployment is final. On 4 December 2026, the composite signature draft, draft-ietf-jose-pq-composite-sigs-07 (dated 23 November 2026), and the SPHINCS+ COSE draft, draft-ietf-cose-sphincs-plus-11 (dated 19 November 2026), were still Internet-Drafts with no RFC number. Identifiers defined in them are not yet final registrations, so an issuer should not emit them as if they were settled. The Nimbus JOSE+JWT roadmap lists ML-DSA for JWS as work to track, not as a shipped feature, so Java teams on Nimbus should not assume that support exists in the version they run.
The sources in this section do not settle how hybrid or composite identifiers should be used in production. Whether a token carries a single post-quantum signature, a classical signature alongside one, or a composite value depends on drafts that have not concluded, and the sources listed on this page do not say which approach a verifier must accept. Before you plan a key set or a verifier change around these identifiers, check the current state of each draft on the IETF datatracker, including its revision history and any working group last calls.
For API teams, the practical step is to record which algorithm identifiers your issuers and verifiers accept today, and to treat any draft identifier as a dependency to confirm rather than a default. Ask your library vendor whether it implements a specific draft revision, and test against that revision. Keep the status check on a calendar so that a change to the datatracker status prompts a review of the affected key sets and verifier settings.
Questions API teams ask about post-quantum JWT readiness
What is a post-quantum JWT readiness checklist?
A JWT readiness checklist is a list of the places where your organization issues, publishes and verifies JSON Web Tokens, recorded so each one can be checked before a post-quantum signature change. It covers token issuers, the JWK Sets that publish their keys, and each verifier's accepted algorithm list. RFC 7517 says a JWK Set holds a "keys" array, so every published key can be listed one by one. The checklist also records the "alg" value each key is used with, because RFC 8725 requires each key to be used with exactly one algorithm. Teams usually keep it as a spreadsheet or a versioned file, with one row per issuer, key set and verifier, and an owner for each row.
Does a team that only uses HS256 need to act now?
HS256 is a symmetric HMAC algorithm, so a team using only HS256 has no public signing key to replace with a post-quantum one. The sources listed on this page do not say that HS256 is unaffected by future quantum attacks, so confirm that point with your security lead before deciding to wait. Still, the inventory step applies: confirm that every token in your system uses HS256 and not a public-key algorithm such as RS256 or ES256 that might be added later. RFC 7519 requires HS256 in conforming implementations, so the algorithm is widely supported. Check that no verifier accepts a public-key algorithm by default, and record the decision with its date so the reasoning is on file when the picture changes.
What should I ask a JWT library or token vendor about post-quantum support?
Ask which post-quantum algorithms the library can sign and verify with, which version adds them, and whether its key handling matches the current standard. Name the identifiers you need: RFC 9964, published in May 2026 as a Proposed Standard, registers "ML-DSA-44", "ML-DSA-65" and "ML-DSA-87" and the key type "AKP". Ask whether the vendor validates the 32-byte "priv" seed length that RFC 9964 section 7.3 requires. Ask whether it sends "alg" on every AKP key, and how it behaves when "alg" is missing. Ask for its release notes, its interoperability statement and its test results. For Python, joserfc 1.8.0 does not mention ML-DSA on its page, so confirm support in its documentation. Vendors should answer in writing, with the version they name.
How do I test whether a verifier rejects an algorithm it does not list?
Write a test that sends a signed token whose "alg" header names an algorithm the verifier is not configured to accept, and confirm it is rejected. RFC 7519 section 7.2 says a verifier SHOULD reject a token whose algorithm is not acceptable to the application, so this test checks that behavior. Use a token signed with a key you control, and include cases such as an algorithm the verifier does not list, a mismatched "alg" against the key type, and an unsecured token with "none". RFC 7518 section 3.6 says implementations MUST NOT accept "none" by default, so repeat this test after any library upgrade. Run it in a staging environment and keep the results with the checklist row for that verifier.
Should we do the JWT inventory in-house or with outside help?
Most teams can start the inventory in-house, because the work is finding issuers, key sets and verifiers that already exist in your own systems. Outside help tends to pay off when many services share tokens, when token formats are custom, or when the team lacks people who can read library source and configuration. Costs come from staff time for discovery, testing and documentation, plus any outside effort you buy. Those costs grow with the number of issuers and verifiers, and they recur whenever a library or key set changes. The sources listed on this page do not give a typical effort figure, so ask any firm for a written scope with named deliverables and a clear view of what it will and will not cover. DeployOpen plans and implements such inventories in client environments under a fixed-scope agreement.
Which JWT algorithms and key sizes should the inventory record?
Record each algorithm in use and its key size, because the sizes change what a verifier must handle. RFC 7518 lists RS256 as Recommended and ES256 as Recommended+, and section 3.3 requires RSA keys of 2048 bits or larger for the RS algorithms. Record the public key and signature sizes for any post-quantum algorithm you plan to adopt, since RFC 9964 Table 1 gives them in bytes. For ML-DSA-65, the table lists a 1952-byte public key and a 3309-byte signature before base64url encoding. Larger tokens can break header size limits in proxies and gateways, so test with the real token size. Store the algorithm, key size and token size together for each row.
Does the checklist need to cover identifiers from draft standards?
Track draft identifiers separately and mark them as not final. On 4 December 2026, draft-ietf-jose-pq-composite-sigs and draft-ietf-cose-sphincs-plus were still Internet-Drafts with no RFC number, so their identifiers are not yet final registrations. Do not deploy a verifier against a draft identifier without a plan to change it. RFC 9864, dated October 2025, deprecates the polymorphic "EdDSA" registration in favor of "Ed25519" and "Ed448", so record which identifier each EdDSA issuer emits. Re-check the checklist when a draft becomes an RFC.
Where a JWT signature is created, published and checked
A token starts at the issuer, which signs the JWT with a private key from its key set. The public keys are published as a JWK Set, a JSON object with a "keys" member holding an array of JWKs, each identified by a "kid". A client presents the token to a verifier, which looks up the matching key by "kid" and checks the "alg" header against its own allowlist before accepting the signature. Check that every key in the published set declares an "alg", that each key is used with exactly one algorithm, and that the verifier's accepted list is recorded and enforced.
The issuer signs, publishes its keys, and the verifier checks the alg before the signature.
How DeployOpen helps API teams plan the JWT change
DeployOpen approaches the post-quantum JWT readiness checklist as a fixed-scope engagement inside your own environment. We work from your inventory of token issuers, verifiers and key sets, check each against the algorithm and key rules in the relevant RFCs, and document what each system is ready for. Ongoing support is available as a retainer.
How we scope
- We agree in writing which token issuers, verifiers and published key sets are in scope.
- We record each verifier's accepted algorithm list and each library version in use.
- We confirm which JOSE and JWT libraries, runtimes and language SDKs your services depend on.
How we build
- We enumerate every key in each JWK Set and check that each key carries an alg and a distinct kid.
- We test verifiers against the RFC 8725 rule that each key is used with exactly one algorithm.
- We confirm that unsecured "none" tokens are rejected after each library change, per RFC 7518.
How we hand over
- We deliver a checklist per issuer and verifier showing its algorithms, key sets and library support.
- We document which ML-DSA parameters and key lengths each service must validate, per RFC 9964.
- We flag identifiers from drafts still lacking RFC numbers, so you know which are not yet final.
How we support
- Ongoing support is available as a retainer for upgrades and re-testing after library releases.
- We re-check key sets and verifier settings when your libraries or runtimes are upgraded.
- Your team keeps the checklist and evidence, so reviews can be answered from your own records.

