Skip to content

chore(deps): bump github.com/lestrrat-go/jwx/v3 from 3.0.13 to 3.1.0#1493

Merged
ramya18101 merged 1 commit intomainfrom
dependabot/go_modules/github.com/lestrrat-go/jwx/v3-3.1.0
Apr 21, 2026
Merged

chore(deps): bump github.com/lestrrat-go/jwx/v3 from 3.0.13 to 3.1.0#1493
ramya18101 merged 1 commit intomainfrom
dependabot/go_modules/github.com/lestrrat-go/jwx/v3-3.1.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

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

Bumps 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 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 [github.com/lestrrat-go/jwx/v3](https://github.com/lestrrat-go/jwx) 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
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies One or more dependencies are being bumped go Pull requests that update Go code labels Apr 20, 2026
@dependabot dependabot Bot requested a review from a team as a code owner April 20, 2026 08:10
@ramya18101 ramya18101 merged commit 2fe1da8 into main Apr 21, 2026
6 checks passed
@ramya18101 ramya18101 deleted the dependabot/go_modules/github.com/lestrrat-go/jwx/v3-3.1.0 branch April 21, 2026 05:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies One or more dependencies are being bumped go Pull requests that update Go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant