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
,iat
ornbf
was not required for verification and contained invalid contents, i.e. non-numeric/date. Thanks for@thaJeztah
for making us aware of that and@giorgos-f3
for 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-go
Version History4.0.0
- Introduces support for Go modules. The
v4
version 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
,iat
ornbf
was not required and contained invalid contents, i.e. non-numeric/date. Thanks for@thaJeztah
for making us aware of that and@giorgos-f3
for 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-go
togithub.com/golang-jwt/jwt
- Fixed type confusing issue between
string
and[]string
inVerifyAudience
(#12). This fixes CVE-2020-261603.2.0
- Added method
ParseUnverified
to allow users to split up the tasks of parsing and validation- HMAC signing method returns
ErrInvalidKeyType
instead ofErrInvalidKey
where appropriate- Added options to
request.ParseFromRequest
, which allows for an arbitrary list of modifiers to parsing behavior. Initial set includeWithClaims
andWithParser
. Existing usage of this function will continue to work as before.- Deprecated
ParseFromRequestWithClaims
to simplify API in the future.3.1.0
- Improvements to
jwt
command line tool- Added
SkipClaimsValidation
option toParser
- Documentation updates
3.0.0
- Compatibility Breaking Changes: See MIGRATION_GUIDE.md for tips on updating your code
- Dropped support for
[]byte
keys when using RSA signing methods. This convenience feature could contribute to security vulnerabilities involving mismatched key types with signing methods.ParseFromRequest
has been moved torequest
subpackage and usage has changed- The
Claims
property onToken
is now typeClaims
instead 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
Claims
interface 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 ofParse
if you have a custom type you'd like to decode into.- Dramatically improved the functionality and flexibility of
ParseFromRequest
, which is now in therequest
subpackage- Added
ParseFromRequestWithClaims
which is theFromRequest
equivalent ofParseWithClaims
- Added new interface type
Extractor
, which is used for extracting JWT strings from http requests. Used withParseFromRequest
andParseFromRequestWithClaims
.- 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 rebase
will rebase this PR -
@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it -
@dependabot merge
will merge this PR after your CI passes on it -
@dependabot squash and merge
will squash and merge this PR after your CI passes on it -
@dependabot cancel merge
will cancel a previously requested merge and block automerging -
@dependabot reopen
will reopen this PR if it is closed -
@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@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)