Skip to content

Latest commit

 

History

History
53 lines (28 loc) · 804 Bytes

History.md

File metadata and controls

53 lines (28 loc) · 804 Bytes

0.6.1

Security fix (GHSA-m22w-qfmh-7pg9)

  • jwt.decode treats X.509 certificates and other public key material as RS256 when no algorithm is specified

0.6.0

Security fix #108

  • jwt.decode throws an error when the key is empty
  • Use constant-time comparison for HMAC signatures
  • Require Node.js >= 6.6.0

0.5.6

Remove usage of deprecated Buffer constructor #89 @eliot-akira

0.5.4

Excludes coverage/ in .npmignore

0.5.3

Security fix #86

0.5.2

Add types #83

0.5.0

Add support for nbf and exp claims #38 @alexjab

0.4.1

Fix version numver #32

0.4.0

add extra jwt header function to encode #28

0.3.1

  • Check for lack of token #23

0.3.0

  • Add an algorithm parameter to the decode method #16 @gregorypratt

0.2.0

  • Add the RS256 alg #7 [thedufer]