Skip to content

Releases: jwt/ruby-jwt

jwt-2.8.1

29 Feb 06:33
Compare
Choose a tag to compare

Full Changelog

Features:

Fixes and enhancements:

jwt-2.8.0

17 Feb 14:17
Compare
Choose a tag to compare

Full Changelog

Features:

  • Updated rubocop to 1.56 #573 (@anakinj)
  • Run CI on Ruby 3.3 #577 (@anakinj)
  • Deprecation warning added for the HMAC algorithm HS512256 (HMAC-SHA-512 truncated to 256-bits) #575 (@anakinj)
  • Stop using RbNaCl for standard HMAC algorithms #575 (@anakinj)

Fixes and enhancements:

  • Fix signature has expired error if payload is a string #555 (@GobinathAL)
  • Fix key base equality and spaceship operators #569 (@magneland)
  • Remove explicit base64 require from x5c_key_finder #580 (@anakinj)
  • Performance improvements and cleanup of tests #581 (@anakinj)
  • Repair EC x/y coordinates when importing JWK #585 (@julik)
  • Explicit dependency to the base64 gem #582 (@anakinj)
  • Deprecation warning for decoding content not compliant with RFC 4648 #582 (@anakinj)
  • Algorithms moved under the ::JWT::JWA module (@anakinj)

jwt-2.7.1

25 Jul 19:48
Compare
Choose a tag to compare

Full Changelog

Fixes and enhancements:

jwt-2.7.0

01 Feb 20:01
Compare
Choose a tag to compare

Full Changelog

Features:

Fixes and enhancements:

  • Fix issue with multiple keys returned by keyfinder and multiple allowed algorithms #545 (@mpospelov)
  • Non-string kid header values are now rejected #543 (@bellebaum)

jwt-2.6.0

22 Dec 20:04
Compare
Choose a tag to compare

v2.6.0 (2022-12-22)

Full Changelog

Features:

Fixes and enhancements:

  • Raise descriptive error on empty hmac_secret and OpenSSL 3.0/openssl gem <3.0.1 #530 (@jonmchan).

jwt-2.5.0

25 Aug 19:59
Compare
Choose a tag to compare

Full Changelog

Features:

Fixes and enhancements:

  • Bring back the old Base64 (RFC2045) deocode mechanisms #488 (@anakinj).
  • Rescue RbNaCl exception for EdDSA wrong key #491 (@n-studio).
  • New parameter name for cases when kid is not found using JWK key loader proc #501 (@anakinj).
  • Fix NoMethodError when a 2 segment token is missing 'alg' header #502 (@cmrd-senya).
  • Support OpenSSL >= 3.0 #496 (@anakinj).

jwt-2.4.1

07 Jun 19:55
Compare
Choose a tag to compare

v2.4.1 (2022-06-07)

Fixes and enhancements:

Full Changelog

jwt-2.4.0

06 Jun 21:10
Compare
Choose a tag to compare

v2.4.0 (2022-06-06)

Full Changelog

Features:

Fixes and enhancements:

jwt-2.4.0.beta1

03 May 21:04
Compare
Choose a tag to compare
jwt-2.4.0.beta1 Pre-release
Pre-release

v2.4.0 (2022-05-03)

Full Changelog

Implemented enhancements:

  • Ensure presence of claims #244
  • Support verifying signature signed using x5c header #59
  • Add x5c header key finder #338 (bdewater)

Security fixes:

  • Importing JWK then exporting results in different kid #313

Closed issues:

  • Is there a way to decode a ES256 encoded JWT with a root certificate but without a public key or a private key? #471
  • Encode output with extra quote #469
  • Please release new gem version #444
  • HS512 signature verification fails for valid tokens #438
  • ArgumentError: invalid base64 while calling JWT::JWK.import(hash) #361
  • NoMethodError (undefined method `encode' for JsonWebToken:Module) #329

Merged pull requests:

jwt-2.3.0

03 Oct 22:14
Compare
Choose a tag to compare

v2.3.0 (2021-10-03)

Full Changelog

Closed issues:

  • [SECURITY] Algorithm Confusion Through kid Header #440
  • JWT to memory #436
  • ArgumentError: wrong number of arguments (given 2, expected 1) #429
  • HMAC section of README outdated #421
  • NoMethodError: undefined method `zero?' for nil:NilClass if JWT has no 'alg' field #410
  • Release new version #409
  • NameError: uninitialized constant JWT::JWK #403

Merged pull requests: