Skip to content

Bump github.com/lestrrat-go/jwx/v3 from 3.0.13 to 3.1.0 in the go group across 1 directory#36

Open
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/go_modules/go-2983a61739
Open

Bump github.com/lestrrat-go/jwx/v3 from 3.0.13 to 3.1.0 in the go group across 1 directory#36
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/go_modules/go-2983a61739

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Apr 20, 2026

Bumps the go group with 1 update in the / directory: github.com/lestrrat-go/jwx/v3.

Updates github.com/lestrrat-go/jwx/v3 from 3.0.13 to 3.1.0

Release notes

Sourced from github.com/lestrrat-go/jwx/v3's releases.

v3.1.0

See Changes file for curated list of changes

What's Changed

... (truncated)

Changelog

Sourced from github.com/lestrrat-go/jwx/v3's changelog.

v3.1.0 19 Apr 2026

  • [jwk] Add jwk.WithRejectDuplicateKID(bool) — when enabled, jwk.Parse / jwk.ParseReader / jwk.ParseString return an error if the input JWKS contains more than one key sharing the same non-empty kid. Usable as a jwk.Configure() global or a per-call override. Default behavior (first-match-wins) is unchanged.

  • [jwk] Add jwk.WithMaxKeys(int) — caps the number of keys accepted by jwk.Parse / jwk.ParseReader / jwk.ParseString in both the JSON "keys" array and the PEM/X.509 block stream (default 1000). Usable as a jwk.Configure() global or a per-call override. Replaces the hardcoded internal PEM cap of the same value, so the default behavior is unchanged. Backport of the v4 amplification cap that mirrors jws.WithMaxSignatures and jwe.WithMaxRecipients.

  • [jws] Add jws.WithDetachedPayloadReader(io.Reader) — a streaming variant of jws.WithDetachedPayload([]byte) that consumes the payload from an io.Reader instead of a byte slice, so the payload is never materialized in memory. It is a jws.Sign() / jws.Verify() option; the two remain the default entry points. Only HMAC/RSA/ECDSA algorithms are supported; EdDSA, custom-family algorithms, and algorithms registered via jws.RegisterSigner() / jws.RegisterVerifier() are rejected with a clear error pointing at jws.WithDetachedPayload(). On sign, multiple jws.WithKey() options combined with jws.WithJSON() produce a general-form multi-signature JWS (the payload is streamed once and fanned out to each signer). On verify, only single-signature JWS input is supported; jws.WithKeySet(), jws.WithKeyProvider(), and jws.WithVerifyAuto() are not accepted. (#1663)

  • [jws] Add jws.Base64StreamEncoder — the stream-capable extension of jws.Base64Encoder. The default encoder and *base64.Encoding values supplied via jws.WithBase64Encoder() are auto-wrapped, so typical callers see no change. Custom encoders only need to implement this additional interface if they want to be usable with jws.WithDetachedPayloadReader(). (#1663)

  • [jws] Fix jws.Sign with WithDetachedPayload + WithJSON to omit the "payload" member from the output per RFC 7515 Appendix F. Previously the payload was still emitted, producing non-detached JSON. (#1663)

  • [jwk] BREAKING: jwk.PublicSetOf now returns an error when the input set contains a symmetric (oct) key. Previously, symmetric keys were silently passed through — which meant callers following the documented "publish my public JWKS" pattern could leak HMAC secret material. Callers who genuinely want the legacy pass-through behavior can opt in with jwk.WithAllowSymmetric(true). The signature is now variadic (PublicSetOf(v Set, options ...PublicSetOption)), so existing call sites compile unchanged. The minor version is bumped from v3.0.x →

... (truncated)

Commits
  • 16e0548 Update Changes for v3.1.0
  • 0785220 fix v3.1.0 changelog inaccuracies and add missing entries (#2037)
  • 2813fac changes: add jwk.WithRejectDuplicateKID entry (#2033)
  • 823811c Merge pull request #2015 from lestrrat-go/fix-v3-jwt-unsupported-timeclaim-error
  • 0aeedda jwt: wrap unsupported-time-claim error as ValidateError
  • 0693dfc Merge pull request #2029 from lestrrat-go/fix-v3-jwk-register-importer-doc
  • d4cf6bf Merge pull request #2027 from lestrrat-go/fix-v3-jwk-reject-dup-kid
  • 4f8e302 Merge pull request #2024 from lestrrat-go/fix-v3-jws-kid-precedence-doc
  • e78871e Merge pull request #2017 from lestrrat-go/fix-v3-jwt-parserequest-format-string
  • ff8b7d4 Merge pull request #2013 from lestrrat-go/fix-v3-jws-keyset-use-enc-error
  • Additional commits viewable in compare view

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 <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Bumps the go group with 1 update in the / directory: [github.com/lestrrat-go/jwx/v3](https://github.com/lestrrat-go/jwx).


Updates `github.com/lestrrat-go/jwx/v3` from 3.0.13 to 3.1.0
- [Release notes](https://github.com/lestrrat-go/jwx/releases)
- [Changelog](https://github.com/lestrrat-go/jwx/blob/v3.1.0/Changes)
- [Commits](lestrrat-go/jwx@v3.0.13...v3.1.0)

---
updated-dependencies:
- dependency-name: github.com/lestrrat-go/jwx/v3
  dependency-version: 3.1.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file go Pull requests that update go code labels Apr 20, 2026
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 go Pull requests that update go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants