Skip to content

chore(deps): bump jsonwebtoken from 9.3.1 to 11.0.0 in /server - #129

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/server/jsonwebtoken-11.0.0
Closed

chore(deps): bump jsonwebtoken from 9.3.1 to 11.0.0 in /server#129
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/server/jsonwebtoken-11.0.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 25, 2026

Copy link
Copy Markdown
Contributor

Bumps jsonwebtoken from 9.3.1 to 11.0.0.

Changelog

Sourced from jsonwebtoken's changelog.

11.0.0 (2026-07-24)

  • Add conversions between Algorithm and KeyAlgorithm
  • JWKs can now be created from DecodingKeys, creation from EncodingKey and DecodingKey now supports Ed25519 as well
  • JWKs with unknown key types are now deserializable
  • BREAKING: Algorithm, KeyAlgorithm, EllipticCurve and ThumbprintHash are now non_exhaustive
  • BREAKING: Jwk.thumbprint now returns a Result<_>
  • BREAKING: Header.extras is now a struct that allows for deserialization to any T
  • BREAKING: Implicit features resulting from optional crates have been removed
  • BREAKING: Validation.insecure_disable_signature_validation has been removed, use dangerous::insecure_decode instead
  • BREAKING: EncodingKey.inner has been renamed to as_bytes, try_get_hmac_secret has been removed
  • BREAKING: DecodingKey.as_bytes and try_get_hmac_secret have been removed, use try_get_as_bytes instead

Changes for CryptoProviders

  • When constructing HMAC signers, the algorithm family must now be verified on construction
  • JwkUtils has been renamed to KeyUtils
    • compute_digest now returns a Result<_>
    • extract_rsa_public_key_components has been renamed to rsa_pub_components_from_private_key
    • rsa_pub_components_from_public_key has been added
    • extract_ec_public_key_coordinates has been renamed to ec_pub_components_from_private_key
    • ed_pub_components_from_private_key has been added

10.4.0 (2026-05-11)

  • Fix incorrect encoding for Ed25519 JWK thumbprints
  • Make Algorithm.family public and add Validation.new_for_family
  • EncodingKey and DecodingKey are now partially zeroized on drop (the intermediate PemEncodedKey isn't so far)

10.3.0 (2026-01-27)

  • Export everything needed to define your own CryptoProvider
  • Fix type confusion with exp/nbf when not required

10.2.0 (2025-11-06)

  • Remove Clone bound from decode functions

10.1.0 (2025-10-18)

  • add dangerous::insecure_decode
  • Implement TryFrom &Jwk for DecodingKey

10.0.0 (2025-09-29)

  • BREAKING: now using traits for crypto backends, you have to choose between aws_lc_rs and rust_crypto
  • Add Clone bound to decode
  • Support decoding byte slices
  • Support JWS
Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [jsonwebtoken](https://github.com/Keats/jsonwebtoken) from 9.3.1 to 11.0.0.
- [Changelog](https://github.com/Keats/jsonwebtoken/blob/master/CHANGELOG.md)
- [Commits](Keats/jsonwebtoken@v9.3.1...v11.0.0)

---
updated-dependencies:
- dependency-name: jsonwebtoken
  dependency-version: 11.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file rust Pull requests that update rust code labels Jul 25, 2026
thejefflarson added a commit that referenced this pull request Jul 28, 2026
Dependabot #129 stalled on jsonwebtoken 10, which introduced a required
crypto-backend feature choice that broke the build. Bumps straight to
11 with the `rust_crypto` backend (a pure-Rust implementation, needed
to keep the arm64 cross-compile for the Pi image working without a
system OpenSSL/ring toolchain).

Validation semantics in access_jwt.rs are byte-identical: RS256-only
`Validation::new(Algorithm::RS256)`, `set_issuer`/`set_audience`/
`set_required_spec_claims(["exp","aud","iss"])`, and the fail-open
JWKS-unavailable path are all unchanged -- no source edits were needed
beyond the manifest bump. Added a new unit test,
`wrong_algorithm_rejected`, covering the classic alg-confusion case
(HS256-signed token against the RS256-only verifier) alongside the
existing valid/expired/wrong-aud/wrong-iss/tampered/unknown-kid/
cold-cache coverage.

The jsonwebtoken advisory this closes is MEDIUM (fixed in 10.3.0,
superseded here by 11); the repo's one HIGH advisory is a separate,
unrelated react-router (UI) finding -- follow-up ticket, not touched
here.

Supersedes dependabot#129.

Closes JEF-595

Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>
@thejefflarson

Copy link
Copy Markdown
Owner

Superseded by #153 (JEF-595): jsonwebtoken upgraded to 11.0.0 with the rust_crypto crypto backend that this bare version bump lacked (v10+ panics at runtime without an explicit backend — that's why this PR's CI was red). Verification semantics unchanged (RS256-only, iss/aud/exp intact) + an alg-confusion test added. Merged ce263f9.

@dependabot @github

dependabot Bot commented on behalf of github Jul 28, 2026

Copy link
Copy Markdown
Contributor Author

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot
dependabot Bot deleted the dependabot/cargo/server/jsonwebtoken-11.0.0 branch July 28, 2026 16:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file rust Pull requests that update rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant