Created by: dependabot[bot]
Bumps github.com/golang-jwt/jwt from 3.2.1+incompatible to 3.2.2+incompatible.
Release notes
Sourced from github.com/golang-jwt/jwt's releases.
v3.2.2
- Starting from this release, we are adopting the policy to support the most 2 recent versions of Go currently available. By the time of this release, this is Go 1.15 and 1.16 (#28).
- Fixed a potential issue that could occur when the presence of
exp,iatornbfwas not required for verification and contained invalid contents, i.e. non-numeric/date. Thanks for@thaJeztahfor making us aware of that and@giorgos-f3for originally reporting it to the formtech fork (#40).- Added support for EdDSA / ED25519 (#36).
- Optimized allocations (#33).
Changelog
Sourced from github.com/golang-jwt/jwt's changelog.
jwt-goVersion History4.0.0
- Introduces support for Go modules. The
v4version will be backwards compatible withv3.x.y.3.2.2
- Starting from this release, we are adopting the policy to support the most 2 recent versions of Go currently available. By the time of this release, this is Go 1.15 and 1.16 (#28).
- Fixed a potential issue that could occur when the verification of
exp,iatornbfwas not required and contained invalid contents, i.e. non-numeric/date. Thanks for@thaJeztahfor making us aware of that and@giorgos-f3for originally reporting it to the formtech fork (#40).- Added support for EdDSA / ED25519 (#36).
- Optimized allocations (#33).
3.2.1
- Import Path Change: See MIGRATION_GUIDE.md for tips on updating your code
- Changed the import path from
github.com/dgrijalva/jwt-gotogithub.com/golang-jwt/jwt- Fixed type confusing issue between
stringand[]stringinVerifyAudience(#12). This fixes CVE-2020-261603.2.0
- Added method
ParseUnverifiedto allow users to split up the tasks of parsing and validation- HMAC signing method returns
ErrInvalidKeyTypeinstead ofErrInvalidKeywhere appropriate- Added options to
request.ParseFromRequest, which allows for an arbitrary list of modifiers to parsing behavior. Initial set includeWithClaimsandWithParser. Existing usage of this function will continue to work as before.- Deprecated
ParseFromRequestWithClaimsto simplify API in the future.3.1.0
- Improvements to
jwtcommand line tool- Added
SkipClaimsValidationoption toParser- Documentation updates
3.0.0
- Compatibility Breaking Changes: See MIGRATION_GUIDE.md for tips on updating your code
- Dropped support for
[]bytekeys when using RSA signing methods. This convenience feature could contribute to security vulnerabilities involving mismatched key types with signing methods.ParseFromRequesthas been moved torequestsubpackage and usage has changed- The
Claimsproperty onTokenis now typeClaimsinstead ofmap[string]interface{}. The default value is typeMapClaims, which is an alias tomap[string]interface{}. This makes it possible to use a custom type when decoding claims.- Other Additions and Changes
- Added
Claimsinterface type to allow users to decode the claims into a custom type- Added
ParseWithClaims, which takes a third argument of typeClaims. Use this function instead ofParseif you have a custom type you'd like to decode into.- Dramatically improved the functionality and flexibility of
ParseFromRequest, which is now in therequestsubpackage- Added
ParseFromRequestWithClaimswhich is theFromRequestequivalent ofParseWithClaims- Added new interface type
Extractor, which is used for extracting JWT strings from http requests. Used withParseFromRequestandParseFromRequestWithClaims.- Added several new, more specific, validation errors to error type bitmask
- Moved examples from README to executable example files
- Signing method registry is now thread safe
- Added new property to
ValidationError, which contains the raw error returned by calls made by parse/verify (such as those returned by keyfunc or json parser)2.7.0
... (truncated)
Commits
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 mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@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)