Repository navigation
v3.3.1 (2026-11-24)
Fixes and enhancements:
- Test that
JWT::Claims::RequiredraisesJWT::MissingRequiredClaimfor a non-Hash payload #768 (@renanmpimentel) - Ignore unsupported
ktyvalues when aJWT::JWK::Setis built from an array #744 (@RalphBragg) - Redact private JWK material from inspection #754 - @OskarEichler
- Reject tokens with too many segments in
JWT::EncodedTokensignature verification #782 (@anakinj) - Raise
JWT::MalformedTokenErrorfor a token header that is not a JSON object, including a string header inJWT.decodewithout verification #783 (@anakinj) - Do not call the
key_finderofJWT::EncodedTokenwhen the token's algorithm is not allowed, so a mismatchedalgheader no longer verifies with a key finder #784 (@anakinj) - Accept the RFC 8812 curve name
secp256k1when importing EC JWKs, alongsideP-256K#787 (@anakinj) - Raise
JWT::JWKErrorinstead ofOpenSSL::PKey::EC::Point::Errorfor EC JWK coordinates that are not a point on the given curve #789 (@anakinj) - Raise
JWT::MalformedTokenErrorfor a malformedx5cheader parameter instead of a raw Ruby exception #740 - @arpitjain099. - Reject
nbfandexpclaims that are not finite numbers withJWT::InvalidPayloadwhen decoding, including numeric strings (GHSA-gp6v-qjfx-hrxc)