nomad-driver-nspawn
nomad-driver-nspawn copied to clipboard
Bump github.com/golang-jwt/jwt/v4 from 4.4.2 to 4.5.1
Bumps github.com/golang-jwt/jwt/v4 from 4.4.2 to 4.5.1.
Release notes
Sourced from github.com/golang-jwt/jwt/v4's releases.
v4.5.1
Security
Unclear documentation of the error behavior in
ParseWithClaims
in <= 4.5.0 could lead to situation where users are potentially not checking errors in the way they should be. Especially, if a token is both expired and invalid, the errors returned byParseWithClaims
return both error codes. If users only check for thejwt.ErrTokenExpired
usingerror.Is
, they will ignore the embeddedjwt.ErrTokenSignatureInvalid
and thus potentially accept invalid tokens.This issue was documented in https://github.com/golang-jwt/jwt/security/advisories/GHSA-29wx-vh33-7x7r and fixed in this release.
Note:
v5
was not affected by this issue. So upgrading to this release version is also recommended.What's Changed
- Back-ported error-handling logic in
ParseWithClaims
fromv5
branch. This fixes https://github.com/golang-jwt/jwt/security/advisories/GHSA-29wx-vh33-7x7r.Full Changelog: https://github.com/golang-jwt/jwt/compare/v4.5.0...v4.5.1
v4.5.0
What's Changed
- Allow strict base64 decoding by
@AlexanderYastrebov
in golang-jwt/jwt#259Full Changelog: https://github.com/golang-jwt/jwt/compare/v4.4.3...v4.5.0
v4.4.3
What's Changed
- fix: link update for README.md for v4 by
@krokite
in golang-jwt/jwt#217- Implement a BearerExtractor by
@WhyNotHugo
in golang-jwt/jwt#226- Bump matrix to support latest go version (go1.19) by
@mfridman
in golang-jwt/jwt#231- Include https://github.com/golang-jwt/jwe in README by
@oxisto
in golang-jwt/jwt#229- Add doc comment to ParseWithClaims by
@jkopczyn
in golang-jwt/jwt#232- Refactor: removed the unneeded if statement by
@Krout0n
in golang-jwt/jwt#241- No pointer embedding in the example by
@oxisto
in golang-jwt/jwt#255New Contributors
@krokite
made their first contribution in golang-jwt/jwt#217@WhyNotHugo
made their first contribution in golang-jwt/jwt#226@jkopczyn
made their first contribution in golang-jwt/jwt#232@Krout0n
made their first contribution in golang-jwt/jwt#241Full Changelog: https://github.com/golang-jwt/jwt/compare/v4.4.2...v4.4.3
Commits
7b1c1c0
Merge commit from fork9358574
Allow strict base64 decoding (#259)2f0984a
Usingtparse
for nicer CI test display (#251)2101c1f
No pointer embedding in the example (#255)35053d4
Removed unneeded if statement (#241)0c4e387
Add doc comment to ParseWithClaims (#232)bfea432
Include https://github.com/golang-jwt/jwe in README (#229)d81acbf
Bump matrix to support latest go version (go1.19) (#231)fdaf0eb
Implement a BearerExtractor (#226)f2878bb
fix: link update for README.md for v4 (#217)- See full diff in compare view
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 show <dependency name> ignore conditions
will show all of the ignore conditions of the specified dependency -
@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) You can disable automated security fix PRs for this repo from the Security Alerts page.