Skip to content

Releases: panva/jose

v6.2.5

Choose a tag to compare

@github-actions github-actions released this 29 Jul 22:51
Immutable release. Only release title and notes can be modified.
3bac350

Fixes

  • compare claim values for falsy validation options (eb86956)
  • forward key management parameters for a single JWE recipient (2d4f801)
  • handle a zero-length JWE additional authenticated data (16ca398)
  • reject a generateKeyPair crv option the algorithm does not imply (76364e9)
  • reject an unencoded payload in the JWS Compact Serialization (01d053f)
  • reject characters outside the Base64URL alphabet (0ebb971), references #879
  • reject duplicate "crit" values when producing (31d60e1)
  • reject invalid UTF-8 in JOSE Headers and JWT Claims Sets (5df3fed)
  • reject truncated ASN.1 key data (7a16c66)
  • surface non-ASCII token segments as JOSE errors (194fe11)
  • types: correct JWK and CryptoKey types (62a196d)
  • types: correct key resolver and JWT header types (e95f8c4)
  • validate the clockTolerance and currentDate options are finite (ab2f18d)

Documentation

  • correct subpaths and API documentation (2daec38)
  • document consumer-supplied type parameters (9e9f66c)
  • stop claiming the JWK "use" parameter is used during import (47a07b2)
  • update CHANGELOG.md (fc51bf5)

Refactor

  • assert key shape and type from the entry (971057e)
  • avoid 32-bit truncation of the AES-CBC-HMAC AAD bit length (1c8c6e9)
  • correct swapped JWE unprotected header type error messages (894c498)
  • describe each JWS algorithm once (7375028)
  • discriminate a key once (0b59a69)
  • fold single-consumer modules into their consumers (c2f0ca3)
  • generate and import keys from the entry (da69b68)
  • keep JWE out of the JWKS and embedded-JWK paths (241dd48)
  • keep JWS and JWE out of each other's bundles (2a98564)
  • parse a Protected Header in one place (30f72af)
  • resolve the content encryption algorithm once (98b50ab)
  • tighten key property checks (fe0dc3b)
  • types: add discriminated JOSE error types (f7f764e)
  • types: add JOSE identifier unions and JWK narrowing (2a20f49)
  • types: improve key and result inference (cb25e77)
  • types: trim published declaration comments (544f179)
  • unify base64 decode errors (3a91833)
  • validate each token once rather than once per layer (bbdae09)
  • write each algorithm identifier once (73d83b5)

v6.2.4

Choose a tag to compare

@github-actions github-actions released this 21 Jul 21:25
Immutable release. Only release title and notes can be modified.
3ced677

Documentation

  • update README.md and SECURITY.md to reflect passed EOL dates (2a84032)

Refactor

  • normalize JWK export members from runtime quirks (386a3eb)

v6.2.3

Choose a tag to compare

@github-actions github-actions released this 27 Apr 15:23
Immutable release. Only release title and notes can be modified.
41ad7e9

Refactor

  • cleanly reject invalid PBES2 p2c (0cdb851)

v6.2.2

Choose a tag to compare

@github-actions github-actions released this 18 Mar 21:28
Immutable release. Only release title and notes can be modified.
9c86586

Fixes

  • reject failed decompression with JWEInvalid error (043b181)

v6.2.1

Choose a tag to compare

@github-actions github-actions released this 09 Mar 08:46
Immutable release. Only release title and notes can be modified.
d491aa9

Refactor

  • reorganize internals, less files, smaller footprint (d4231f9)

v6.2.0

Choose a tag to compare

@github-actions github-actions released this 05 Mar 10:23
Immutable release. Only release title and notes can be modified.
970673e

Features

  • re-introduce JWE "zip" (Compression Algorithm) Header Parameter support (b13b446)

Documentation

  • clarify return of general jws and jwe (56682b4)

v6.1.3

Choose a tag to compare

@github-actions github-actions released this 02 Dec 13:25
Immutable release. Only release title and notes can be modified.
ebb8774

Refactor

  • avoid export * as for google closure's compiler sake (6303d98), closes #832

v6.1.2

Choose a tag to compare

@github-actions github-actions released this 15 Nov 22:07
Immutable release. Only release title and notes can be modified.
f71f270

Refactor

v6.1.1

Choose a tag to compare

@github-actions github-actions released this 09 Nov 15:22
37f40af

Documentation

  • add link to RFC9864 (767edde)
  • link to ML-DSA for JOSE (ed4252c)
  • remove mention of Edge Runtime from the readme (94fdde7)
  • update README.md (25098ef)

Refactor

  • eliminate named exports in the source code (f6ae30d)
  • expose setKeyManagementParameters also on a GeneralEncrypt Recipient (16e6b23)
  • faster path for symmetric key checks (a44c2ec)
  • improve en/decoding overheads (daee426)

v6.1.0

Choose a tag to compare

@github-actions github-actions released this 27 Aug 21:44
6f3e004

Features

  • support AKP JWKs in calculateJwkThumbprint and calculateJwkThumbprintUri (cf2092a)
  • support for the ML-DSA PQC Algorithm Identifiers (25ddce4)