Skip to content

jwt-3.3.1

Latest

Choose a tag to compare

@anakinj anakinj released this 24 Nov 17:37
e862256

v3.3.1 (2026-11-24)

Full Changelog

Fixes and enhancements:

  • Test that JWT::Claims::Required raises JWT::MissingRequiredClaim for a non-Hash payload #768 (@renanmpimentel)
  • Ignore unsupported kty values when a JWT::JWK::Set is built from an array #744 (@RalphBragg)
  • Redact private JWK material from inspection #754 - @OskarEichler
  • Reject tokens with too many segments in JWT::EncodedToken signature verification #782 (@anakinj)
  • Raise JWT::MalformedTokenError for a token header that is not a JSON object, including a string header in JWT.decode without verification #783 (@anakinj)
  • Do not call the key_finder of JWT::EncodedToken when the token's algorithm is not allowed, so a mismatched alg header no longer verifies with a key finder #784 (@anakinj)
  • Accept the RFC 8812 curve name secp256k1 when importing EC JWKs, alongside P-256K #787 (@anakinj)
  • Raise JWT::JWKError instead of OpenSSL::PKey::EC::Point::Error for EC JWK coordinates that are not a point on the given curve #789 (@anakinj)
  • Raise JWT::MalformedTokenError for a malformed x5c header parameter instead of a raw Ruby exception #740 - @arpitjain099.
  • Reject nbf and exp claims that are not finite numbers with JWT::InvalidPayload when decoding, including numeric strings (GHSA-gp6v-qjfx-hrxc)