Skip to content

v3.4.0

Latest

Choose a tag to compare

@github-actions github-actions released this 05 Dec 21:38
80719fe

3.4.0 (2026-12-05)

Features

  • Add an opt-in known_crit check for critical headers (#824) (2ac099c)
  • Add an opt-in strict_base64url option to JWT::EncodedToken (#825) (ad9897c)
  • Add support for signing and verifying nested JWTs (#712) (b9ce04f)
  • Warn about alg headers that only match when the case is ignored (12ca1b5)
  • Warn about HMAC secrets shorter than RFC 7518 requires and RSA keys under 2048 bits (12ca1b5)
  • Warn about PSS signatures whose salt is not as long as the hash (12ca1b5)

Fixes and enhancements

  • Accept a JWK as the verification key in JWT.decode (#818) (2651e5f)
  • Reject ECDSA and RSA signatures of the wrong length (#831) (b64ae98)
  • Treat a cty header that isn't valid UTF-8 as not nested (#829) (9f2ec8f)
  • Use the hash length as the minimum key length for custom HMAC algorithms (12ca1b5)