jwt.inter.op

Results from 2026-11-28 19:44 UTC

23 libraries in 8 languages · workflow run · commit d9a5044 · raw data

One earlier run. The front page shows the latest results.

✅ as the RFCs require⚠️ more lenient or stricter❌ broken– not supportedHover over or tap a cell for details.

Overview

Changes

What changed since the run on 2026-11-28 19:22 UTC.

Library versions

  • go/jwx v3.5.0 → v4.7.0

Behaviour

LibraryWhatBeforeNow
go/jwxUnknown `crit` (HS256)acceptsrejects

Algorithms

Does each library sign and verify every algorithm it supports, and accept what the other libraries sign?

How this is tested

Each library signed the same payloads with every algorithm it supports, and verified a correct JWT for each one. ✅ means that what it signs is base64url without padding and names the algorithm that was asked for, and that it verifies a correct JWT. 2059 of the 2064 JWTs signed contain - or _, so a library that used the standard Base64 alphabet would show up.

The last column is a sample of what all the other libraries signed, for the algorithms this one supports. ML-DSA comes from RFC 9964, and Ed25519 from RFC 9864.

Why it matters: A JWT signed by one library has to verify in every other. Padding, the standard alphabet, or a header that names another algorithm makes libraries that follow the RFC reject it. RFC 7515, section 2, RFC 7515, section 7.1

LibraryHS256RS256PS256ES256ES384ES512EdDSAEd25519ML-DSA-44ML-DSA-65ML-DSA-87From others
Microsoft.IdentityModel.JsonWebTokens.NET · 8.23.0 · 2026-09-18✅✅✅✅✅✅––✅✅✅✅
System.IdentityModel.Tokens.Jwt.NET · 8.23.0 · 2026-09-18✅✅✅✅✅✅––✅✅✅✅
jose-jwt.NET · 5.3.0 · 2026-03-27✅✅✅✅✅✅–––––✅
go-joseGo · v4.1.9 · 2026-11-05✅✅✅✅✅✅✅–✅✅✅✅
golang-jwtGo · v5.3.1 · 2026-01-28✅✅✅✅✅✅✅––––✅
jwxGo · v4.7.0 · 2026-11-27✅✅✅✅✅✅✅✅✅✅✅✅
java-jwtJava · 4.5.0 · 2025-01-29✅✅–✅✅✅–––––✅
jjwtJava · 0.12.6 · 2024-06-21✅✅✅✅✅✅✅––––✅
nimbus-jose-jwtJava · 10.3 · 2025-05-09✅✅✅✅✅✅✅✅–––✅
fast-jwtNode.js · 6.3.7 · 2026-11-16✅✅✅✅✅✅✅––––✅
joseNode.js · 6.2.18 · 2026-11-18✅✅✅✅✅✅✅✅✅✅✅✅
jsonwebtokenNode.js · 9.0.3 · 2025-12-04✅✅✅✅✅✅–––––✅
firebase/php-jwtPHP · v7.2.2 · 2026-11-17✅✅–✅✅–✅––––✅
lcobucci/jwtPHP · 5.7.0 · 2026-11-19✅✅–✅✅✅✅––––✅
web-token/jwt-libraryPHP · 4.2.8 · 2026-11-23✅✅✅✅✅✅✅––––✅
PyJWTPython · 2.15.1 · 2026-09-28✅✅✅✅✅✅✅––––✅
joserfcPython · 1.8.0 · 2026-11-03✅✅✅✅✅✅✅✅–––✅
jwcryptoPython · 1.6.2 · 2026-11-23✅✅✅✅✅✅✅✅✅✅✅✅
python-josePython · 3.5.0 · 2025-05-28✅✅–✅✅✅–––––✅
json-jwtRuby · 1.17.2 · 2026-08-04✅✅✅✅✅✅–––––✅
jwtRuby · 3.3.2 (jwt-eddsa 2.0.0) · 2026-11-28✅✅✅✅✅✅✅✅–––✅
josekitRust · 0.11.0 · 2026-11-26✅✅✅✅✅✅✅––––✅
jsonwebtokenRust · 12.0.0 · 2026-11-13✅✅✅✅✅–✅––––✅

Encodings

What does each library do with padding, standard Base64, unused bits and line breaks?

What each column tests

Each library was given an HS256, RS256 and ES256 JWT written in another way. Each one carries a valid signature over its parts exactly as written.

Padded signature
the normal token with = padding added to the signature. Should reject. Base64url in JWS has no trailing =. Accepting padding means one JWT can be written in more than one way, so code that blocks or caches JWTs by their string can be bypassed. RFC 7515, section 2
+ / in signature
the normal token with - and _ in the signature replaced by + and /. Should reject. Base64url uses - and _. Accepting + and / also lets one JWT be written in more than one way. RFC 7515, section 2
Padding everywhere
base64url with padding in all three parts, signed over the padded parts. AWS Application Load Balancer issues tokens like this, and it is what Base64.urlsafe_encode64 in Ruby and base64.urlsafe_b64encode in Python produce by default. Should reject. The RFC forbids the padding, but AWS Application Load Balancer issues these JWTs, so libraries that follow the RFC cannot verify them. RFC 7515, section 2
Standard Base64 everywhere
standard Base64 with padding in all three parts, signed over those parts. Should reject. A JWT in standard Base64 is not a JWS. Accepting it shows how lenient the decoder is. RFC 7515, section 2
LibraryPadded signature+ / in signaturePadding everywhereStandard Base64 everywhere
Microsoft.IdentityModel.JsonWebTokens.NET · 8.23.0 · 2026-09-18⚠️ accepts✅ rejects⚠️ accepts✅ rejects
System.IdentityModel.Tokens.Jwt.NET · 8.23.0 · 2026-09-18✅ rejects✅ rejects✅ rejects✅ rejects
jose-jwt.NET · 5.3.0 · 2026-03-27⚠️ accepts⚠️ accepts✅ rejects✅ rejects
go-joseGo · v4.1.9 · 2026-11-05✅ rejects✅ rejects✅ rejects✅ rejects
golang-jwtGo · v5.3.1 · 2026-01-28✅ rejects✅ rejects✅ rejects✅ rejects
jwxGo · v4.7.0 · 2026-11-27⚠️ accepts⚠️ accepts✅ rejects✅ rejects
java-jwtJava · 4.5.0 · 2025-01-29⚠️ accepts✅ rejects⚠️ accepts✅ rejects
jjwtJava · 0.12.6 · 2024-06-21⚠️ accepts✅ rejects⚠️ accepts✅ rejects
nimbus-jose-jwtJava · 10.3 · 2025-05-09⚠️ accepts⚠️ accepts⚠️ accepts⚠️ accepts
fast-jwtNode.js · 6.3.7 · 2026-11-16✅ rejects✅ rejects✅ rejects✅ rejects
joseNode.js · 6.2.18 · 2026-11-18⚠️ accepts✅ rejects⚠️ accepts✅ rejects
jsonwebtokenNode.js · 9.0.3 · 2025-12-04✅ rejects✅ rejects✅ rejects✅ rejects
firebase/php-jwtPHP · v7.2.2 · 2026-11-17⚠️ accepts⚠️ accepts⚠️ accepts⚠️ accepts
lcobucci/jwtPHP · 5.7.0 · 2026-11-19✅ rejects✅ rejects✅ rejects✅ rejects
web-token/jwt-libraryPHP · 4.2.8 · 2026-11-23✅ rejects✅ rejects✅ rejects✅ rejects
PyJWTPython · 2.15.1 · 2026-09-28⚠️ accepts✅ rejects⚠️ accepts✅ rejects
joserfcPython · 1.8.0 · 2026-11-03✅ rejects✅ rejects✅ rejects✅ rejects
jwcryptoPython · 1.6.2 · 2026-11-23✅ rejects✅ rejects✅ rejects✅ rejects
python-josePython · 3.5.0 · 2025-05-28⚠️ accepts⚠️ accepts⚠️ accepts⚠️ accepts
json-jwtRuby · 1.17.2 · 2026-08-04⚠️ accepts⚠️ accepts⚠️ accepts⚠️ accepts
jwtRuby · 3.3.2 (jwt-eddsa 2.0.0) · 2026-11-28⚠️ accepts⚠️ accepts⚠️ accepts⚠️ accepts
josekitRust · 0.11.0 · 2026-11-26✅ rejects✅ rejects✅ rejects✅ rejects
jsonwebtokenRust · 12.0.0 · 2026-11-13✅ rejects✅ rejects✅ rejects✅ rejects

Edge cases

How does each library handle odd headers and claims, repeated names, and a JWT inside a JWT?

What each column tests

Each library was given JWTs that bend the rules for headers and claims. Each one carries a valid signature.

Unknown crit
an HS256 token whose crit header lists an extension nobody understands. RFC 7515 says it must be rejected. Should reject. The RFC says the JWS is invalid if the recipient does not understand an extension listed in crit. Ignoring it can mean reading the JWT differently from what the issuer intended. RFC 7515, section 4.1.11
alg in other case
hs256 instead of HS256, and ED25519 instead of Ed25519. Algorithm names are case-sensitive. Should reject. The alg value is case-sensitive. A library that matches it in any case can disagree with another component about which algorithm a JWT uses. RFC 7515, section 4.1.1
ECDSA high S
an ES256 signature using the larger of the two valid s values, which is the same signature written differently. Should accept. The RFC does not forbid the second form, so libraries accept it. Code that tells JWTs apart by their signature should not assume there is only one. RFC 7518, section 3.4
ECDSA DER signature
an ES256 signature in DER encoding instead of the fixed-length r and s that RFC 7518 requires. Should reject. The RFC requires r and s as two fixed-length numbers. DER is how most crypto APIs return ECDSA signatures, so a library that passes them through unchanged writes JWTs nobody else accepts. RFC 7518, section 3.4
PS256 without salt
a PS256 signature with an empty salt. RFC 7518 requires a salt as long as the hash. Should reject. The salt has to be as long as the hash. Libraries that accept other lengths accept signatures that stricter libraries reject. RFC 7518, section 3.5
PS256 longest salt
a PS256 signature with the longest possible salt. Should reject. The salt has to be as long as the hash. Libraries that accept other lengths accept signatures that stricter libraries reject. RFC 7518, section 3.5
LibraryUnknown critalg in other caseECDSA high SECDSA DER signaturePS256 without saltPS256 longest salt
Microsoft.IdentityModel.JsonWebTokens.NET · 8.23.0 · 2026-09-18⚠️ accepts✅ rejects✅ accepts✅ rejects✅ rejects✅ rejects
System.IdentityModel.Tokens.Jwt.NET · 8.23.0 · 2026-09-18⚠️ accepts✅ rejects✅ accepts✅ rejects✅ rejects✅ rejects
jose-jwt.NET · 5.3.0 · 2026-03-27⚠️ accepts✅ rejects✅ accepts✅ rejects✅ rejects✅ rejects
go-joseGo · v4.1.9 · 2026-11-05✅ rejects✅ rejects✅ accepts✅ rejects⚠️ accepts⚠️ accepts
golang-jwtGo · v5.3.1 · 2026-01-28⚠️ accepts✅ rejects✅ accepts✅ rejects⚠️ accepts⚠️ accepts
jwxGo · v4.7.0 · 2026-11-27✅ rejects✅ rejects✅ accepts✅ rejects✅ rejects✅ rejects
java-jwtJava · 4.5.0 · 2025-01-29⚠️ accepts✅ rejects✅ accepts✅ rejects––
jjwtJava · 0.12.6 · 2024-06-21✅ rejects✅ rejects✅ accepts✅ rejects✅ rejects✅ rejects
nimbus-jose-jwtJava · 10.3 · 2025-05-09✅ rejects✅ rejects✅ accepts✅ rejects✅ rejects✅ rejects
fast-jwtNode.js · 6.3.7 · 2026-11-16✅ rejects✅ rejects✅ accepts✅ rejects✅ rejects✅ rejects
joseNode.js · 6.2.18 · 2026-11-18✅ rejects✅ rejects✅ accepts✅ rejects✅ rejects✅ rejects
jsonwebtokenNode.js · 9.0.3 · 2025-12-04⚠️ accepts✅ rejects✅ accepts✅ rejects✅ rejects✅ rejects
firebase/php-jwtPHP · v7.2.2 · 2026-11-17⚠️ accepts✅ rejects✅ accepts✅ rejects––
lcobucci/jwtPHP · 5.7.0 · 2026-11-19⚠️ accepts✅ rejects✅ accepts✅ rejects––
web-token/jwt-libraryPHP · 4.2.8 · 2026-11-23⚠️ accepts✅ rejects✅ accepts✅ rejects✅ rejects✅ rejects
PyJWTPython · 2.15.1 · 2026-09-28✅ rejects✅ rejects✅ accepts✅ rejects✅ rejects✅ rejects
joserfcPython · 1.8.0 · 2026-11-03✅ rejects✅ rejects✅ accepts✅ rejects✅ rejects✅ rejects
jwcryptoPython · 1.6.2 · 2026-11-23✅ rejects✅ rejects✅ accepts✅ rejects✅ rejects✅ rejects
python-josePython · 3.5.0 · 2025-05-28⚠️ accepts✅ rejects✅ accepts✅ rejects––
json-jwtRuby · 1.17.2 · 2026-08-04⚠️ accepts✅ rejects✅ accepts✅ rejects✅ rejects✅ rejects
jwtRuby · 3.3.2 (jwt-eddsa 2.0.0) · 2026-11-28⚠️ accepts⚠️ accepts✅ accepts✅ rejects⚠️ accepts⚠️ accepts
josekitRust · 0.11.0 · 2026-11-26✅ rejects✅ rejects✅ accepts✅ rejects✅ rejects✅ rejects
jsonwebtokenRust · 12.0.0 · 2026-11-13✅ rejects✅ rejects✅ accepts✅ rejects✅ rejects✅ rejects

Real-world keys

Can each library verify a JWT from GitHub Actions and load the keys identity providers publish?

What the 19 identity providers publish

The key sets each provider publishes, found through its OpenID Connect discovery document. ⚠️ marks keys without alg, which leave the algorithm to the JWT or the library, and base64url values with padding or the standard alphabet. Amber key types are RSA keys shorter than 2048 bits. x5c holds a certificate chain, x5t and x5t#S256 are certificate thumbprints, and other members are not defined in RFC 7517 or RFC 7518.

Why it matters: RSA keys for RS256 and PS256 must be at least 2048 bits. A key without alg lets the JWT pick the algorithm, which is how algorithm confusion attacks start. RFC 7518, section 3.3

ProviderKeysKey typesalguseCertificatesOther membersEncoding
Apple3RSA 2048 ×3RS256 ×3sig ×3––✅
Atlassian6RSA 2048 ×6RS256 ×6sig ×6x5c ×6, x5t ×6–✅
Connect2id demo10RSA 2048 ×2, EC P-256 ×2, EC P-384 ×2, EC P-521 ×2, EC secp256k1, OKP Ed25519⚠️ not set ×10sig ×6, enc ×4––✅
Facebook2RSA 2048 ×2RS256 ×2sig ×2––✅
GitHub Actions4RSA 2048 ×4RS256 ×4sig ×4x5c ×3, x5t ×3–✅
GitLab3RSA 4096, RSA 2048 ×2RS256 ×3sig ×3––✅
Google2RSA 2048 ×2RS256 ×2sig ×2––✅
JumpCloud6RSA 4096 ×6RS256 ×6sig ×6––✅
Kakao2RSA 2048 ×2RS256 ×2sig ×2––✅
LINE20EC P-256 ×20ES256 ×20sig ×20–xvalue, yvalue✅
LinkedIn1RSA 4096⚠️ not setnot set––✅
Microsoft Entra ID8RSA 2048 ×8⚠️ not set ×8sig ×8x5c ×8, x5t ×8cloud_instance_name, issuer✅
Microsoft account3RSA 2048 ×3⚠️ not set ×3sig ×3x5c ×3, x5t ×3–✅
Salesforce3RSA 4096 ×3RS256 ×3sig ×3––✅
Sigstore2RSA 2048 ×2RS256 ×2sig ×2––✅
Slack1RSA 2048RS256not set––✅
Twitch1RSA 2048RS256sig––✅
Yahoo6RSA 1024 ×4, EC P-256 ×2RS256 ×4, ES256 ×2sig ×6––✅
Zoho3RSA 2048 ×3RS256 ×3enc, sig ×2––✅