Repository navigation
[gomod] Bump github.com/golang-jwt/jwt/v5 from 5.3.1 to 5.4.0 - #140
Open
dependabot[bot] wants to merge 1 commit into
Open
dependabot[bot] wants to merge 1 commit into
dependabot[bot] wants to merge 1 commit into
Conversation
Bumps [github.com/golang-jwt/jwt/v5](https://github.com/golang-jwt/jwt) from 5.3.1 to 5.4.0. - [Release notes](https://github.com/golang-jwt/jwt/releases) - [Commits](golang-jwt/jwt@v5.3.1...v5.4.0) --- updated-dependencies: - dependency-name: github.com/golang-jwt/jwt/v5 dependency-version: 5.4.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
There was a problem hiding this comment.
Summary
Dependabot bump of github.com/golang-jwt/jwt/v5 from 5.3.1 to 5.4.0. Only go.mod and go.sum change (no code changes). I verified the blast radius of the 5.4.0 behavior changes against this repo:
- Direct imports of the library exist only in tests —
internal/api/auth/oidc_test.go:292andinternal/api/middleware_test.go:232. Both usejwt.NewWithClaims(jwt.SigningMethodNone, jwt.MapClaims{...}).SignedString(...)purely to signalg: nonetokens for negative tests; they never parse or verify via golang-jwt. Their claims use a valid non-zeroexp(time.Now().Add(time.Hour).Unix()) and a stringaud, so the 5.4.0MapClaimschanges (exp: 0now treated as expired; invalidaudtype nowErrInvalidType) do not affect them. - Production verification goes through
coreos/go-oidc/v3v3.21.0 (internal/api/auth/oidc.go→oidc.IDTokenVerifier), which verifies with its ownIDTokenstruct, notMapClaims. go-oidc is compatible with golang-jwt v5.x, so the bump is safe. - The new rejection of CR/LF in token segments (#553) is a hardening measure; well-formed OIDC access tokens from the IDP (and all test-generated tokens here) contain no line breaks. No legitimate token would be newly rejected.
Findings
No blocking issues.
Suggestion / note:
- CI at the head commit has no conclusive build/test signal: CodeQL is neutral due to missing scan configs on
refs/heads/main(unrelated to this change) and GitGuardian is still in progress. Since this is a module-only bump with no code changes, the test suite (go test ./...) would be the only meaningful validation, but the analysis above indicates no behavioral impact on this codebase.
Verdict
Approve — the version bump is safe for this codebase; no changes required.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bumps github.com/golang-jwt/jwt/v5 from 5.3.1 to 5.4.0.
Release notes
Sourced from github.com/golang-jwt/jwt/v5's releases.
Commits
2f702c7ci: measure coverage on library packages only (#572)f411663Reject line breaks in token segments (#553)851a8a9ci: update CI workflows (#560)b13946cBump crate-ci/typos from 1.48.0 to 1.51.1 (#554)ba84bb6Bump actions/setup-go from 6.5.0 to 7.0.0 (#558)9a618efchore: added AGENTS.md (#551)d2cffb1Bump coverallsapp/github-action from 2.3.7 to 2.3.8 (#527)a7e07ffBump actions/checkout from 7.0.0 to 7.0.1 (#529)73c870bAdd registered header parameter name constants (#535)1a11d37fix: return ErrInvalidType for an invalid aud claim type in MapClaims (#511)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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)