Change8

JWT Libraries

Backend & Infra

A ruby implementation of the RFC 7519 OAuth JSON Web Token (JWT) standard.

Latest: v2.10.38 releases3 breaking changes1 common errorsView on GitHub

Release History

v2.10.31 fix
May 22, 2026

Version v2.10.3 backports a critical fix to reject null or empty HMAC keys during signing and verification, addressing a security vulnerability.

v3.2.03 fixes1 feature
May 13, 2026

Version v3.2.0 introduces a new configuration option for HMAC key length enforcement and resolves critical security issues related to empty HMAC keys, alongside general compatibility fixes.

v2.10.21 fix
Jun 29, 2025

Version v2.10.2 addresses a concurrency issue by ensuring digests are not reused across separate calls within the Ecdsa and Rsa JWA implementations.

v3.1.22 fixes
Jun 28, 2025

This patch release addresses critical bugs related to digest reuse in ECDSA/RSA signing and fixes EC JWK signing issues.

v3.1.11 fix
Jun 24, 2025

This patch release (v3.1.1) introduces a security enhancement by requiring the algorithm to be explicitly provided during JWK signing and verification operations.

v3.1.0Breaking1 fix3 features
Jun 23, 2025

Version 3.1.0 introduces significant security and feature enhancements, including JWK support and stricter key validation for ECDSA, alongside a breaking change requiring claim verification before accessing the token payload.

v3.0.0Breaking2 fixes3 features
Jun 14, 2025

Version 3.0.0 introduces significant breaking changes focusing on security hardening, stricter standards compliance, and dependency removal. New features include bundled verification methods and improved JWK compatibility.

v3.0.0.beta1Breaking3 features
Jan 25, 2025

This major beta release introduces significant breaking changes, including stricter signature verification, removal of deprecated methods and the rbnacl dependency, and updates to algorithm and key requirements. It also adds the convenient JWT::EncodedToken#verify! method.

Common Errors

Related Backend & Infra Packages

Subscribe to Updates

Get notified when new versions are released

RSS Feed