This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| jsonwebtoken | dependencies | major | 9.3.1 → 11.0.0 |
Release Notes #
Keats/jsonwebtoken (jsonwebtoken)
v11.1.0 #
- Add
dangerous::insecure_decode_claims
v11.0.0 #
- Add conversions between
AlgorithmandKeyAlgorithm - JWKs can now be created from
DecodingKeys, creation fromEncodingKeyandDecodingKeynow supportsEd25519as well - JWKs with unknown key types are now deserializable
- BREAKING:
Algorithm,KeyAlgorithm,EllipticCurveandThumbprintHashare nownon_exhaustive - BREAKING:
Jwk.thumbprintnow returns aResult<_> - BREAKING:
Header.extrasis now a struct that allows for deserialization to anyT - BREAKING: Implicit features resulting from optional crates have been removed
- BREAKING:
Validation.insecure_disable_signature_validationhas been removed, usedangerous::insecure_decodeinstead - BREAKING:
EncodingKey.innerhas been renamed toas_bytes,try_get_hmac_secrethas been removed - BREAKING:
DecodingKey.as_bytesandtry_get_hmac_secrethave been removed, usetry_get_as_bytesinstead
Changes for CryptoProviders #
- When constructing HMAC signers, the algorithm family must now be verified on construction
JwkUtilshas been renamed toKeyUtilscompute_digestnow returns aResult<_>extract_rsa_public_key_componentshas been renamed torsa_pub_components_from_private_keyrsa_pub_components_from_public_keyhas been addedextract_ec_public_key_coordinateshas been renamed toec_pub_components_from_private_keyed_pub_components_from_private_keyhas been added
v10.4.0 #
- Fix incorrect encoding for
Ed25519JWK thumbprints - Make
Algorithm.familypublic and addValidation.new_for_family EncodingKeyandDecodingKeyare now partially zeroized on drop (the intermediatePemEncodedKeyisn't so far)
v10.3.0 #
- Export everything needed to define your own CryptoProvider
- Fix type confusion with exp/nbf when not required
v10.2.0 #
- Remove
Clonebound from decode functions
v10.1.0 #
- add
dangerous::insecure_decode - Implement TryFrom &Jwk for DecodingKey
v10.0.0 #
- BREAKING: now using traits for crypto backends, you have to choose between
aws_lc_rsandrust_crypto - Add
Clonebound todecode - Support decoding byte slices
- Support JWS
Configuration #
📅 Schedule: (UTC)
- Branch creation
- At any time (no schedule defined)
- Automerge
- At any time (no schedule defined)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you add the rebase label.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate CLI.