Repository navigation
chore(deps): upgrade golang-jwt from v4.5.2 to v5.3.1 - #21258
Conversation
|
Skipping CI for Draft Pull Request. |
|
This change is part of the following stack:
Change managed by git-spice. |
|
go mod tidy ? |
|
Note Reviews pausedIt looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the Use the following commands to manage reviews:
Use the checkboxes below for quick actions:
📝 WalkthroughWalkthroughChangesGo dependency cache mtime stabilization
JWT test token encoding
Estimated code review effort: 3 (Moderate) | ~20 minutes Suggested reviewers: 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
Upgrade github.com/golang-jwt/jwt from v4.5.2 to v5.3.1. Updated import paths from /v4 to /v5 across 4 files. No API changes required - all used APIs (MapClaims, NewWithClaims, SigningMethodRS256, ParseWithClaims, RegisteredClaims, ParseRSAPrivateKeyFromPEM, WithoutClaimsValidation, ErrTokenMalformed) are compatible with v5. Changes: golang-jwt/jwt@v4.5.2...v5.3.1 Tested with: - go test ./central/auth/m2m -run TestIssuerFromRawIDToken - go test ./central/auth/m2m -run Test_genericTokenVerifier_VerifyIDToken Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
golang-jwt/v5 validates token structure before extracting claims, rejecting the literal "signature" string as invalid base64. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
/retest |
|
/retest |
|
@janisz: The following tests failed, say
Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
|
/retest |
|
/konflux-retest operator-bundle-on-push |
Upgrade github.com/golang-jwt/jwt from v4.5.2 to v5.3.1.
Updated import paths from /v4 to /v5 across 4 files.
No API changes required - all used APIs (MapClaims, NewWithClaims,
SigningMethodRS256, ParseWithClaims, RegisteredClaims,
ParseRSAPrivateKeyFromPEM, WithoutClaimsValidation, ErrTokenMalformed)
are compatible with v5.
Changes: golang-jwt/jwt@v4.5.2...v5.3.1
Tested with:
Co-Authored-By: Claude Sonnet 4.5 noreply@anthropic.com
Description
change me!
User-facing documentation
Testing and quality
Automated testing
How I validated my change
change me!