Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove duplicate github.com/golang-jwt/jwt dependency #3930

Merged
merged 1 commit into from
Feb 22, 2025

Conversation

Juneezee
Copy link
Contributor

Description:

Our codebase currently uses versions v3, v4, and v5 of the github.com/golang-jwt/jwt dependency. To maintain consistency, we should standardize on using only the latest v5 version.

trufflehog/go.mod

Lines 56 to 58 in 6f1e918

github.com/golang-jwt/jwt v3.2.2+incompatible
github.com/golang-jwt/jwt/v4 v4.5.1
github.com/golang-jwt/jwt/v5 v5.2.1

From the MIGRATION GUIDE:

  1. github.com/golang-jwt/jwt/v4 is backward compatible with v3
  2. github.com/golang-jwt/jwt/v5 introduces some core changes, but fortunately, the interfaces and public APIs we use remain unaffected.

Checklist:

  • Tests passing (make test-community)?
  • Lint passing (make lint this requires golangci-lint)?

Our codebase currently uses v3, v4, and v5 versions of the
`github.com/golang-jwt/jwt` dependency. To maintain consistency, we
should standardize on using only the latest v5 version.

Signed-off-by: Eng Zer Jun <[email protected]>
@Juneezee Juneezee requested review from a team as code owners February 22, 2025 09:32
Copy link
Collaborator

@ahrav ahrav left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for getting this updated. ❤️

@ahrav ahrav merged commit 8724d50 into trufflesecurity:main Feb 22, 2025
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants