Bump golang-jwt to v5.4.0
v5.4.0 refuses CR and LF in token segments, adds the overshoot to the expiry error text and no longer treats exp 0 as no expiry. None of this changes how tokens are checked here: tokens carry no exp claim and expired or invalid tokens get a fixed message. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
bdd337e2dc
commit
6b2e402f1a
2 files changed
+3
-3
No files matched your search
@@ -6,7 +6,7 @@ require (
|
||||
github.com/getsentry/sentry-go v0.50.0
|
||||
github.com/go-viper/mapstructure/v2 v2.5.0
|
||||
github.com/gofiber/fiber/v3 v3.7.0
|
||||
github.com/golang-jwt/jwt/v5 v5.3.1
|
||||
github.com/golang-jwt/jwt/v5 v5.4.0
|
||||
github.com/invopop/jsonschema v0.14.0
|
||||
github.com/liamg/tml v0.7.1
|
||||
github.com/pelletier/go-toml/v2 v2.4.3
|
||||
|
||||
@@ -25,8 +25,8 @@ github.com/gofiber/utils/v2 v2.6.5 h1:rU+8ao6LKi3fKOA3sEjfLv1T+2C2IwomeVmEKaqkr4
|
||||
github.com/gofiber/utils/v2 v2.6.5/go.mod h1:OqPxdhDW7fPz0dupDanqf4e5O15IyFKy724y/EY9RI4=
|
||||
github.com/gofrs/uuid/v5 v5.5.1 h1:z1Ce19/JwNidXpy3tOQc3241lnJLKdKyq/xlNvlD4Ng=
|
||||
github.com/gofrs/uuid/v5 v5.5.1/go.mod h1:bbAA98EoIlxyRHIVg6ektCSsZ5n8mSbwgEhvhMYlZgg=
|
||||
github.com/golang-jwt/jwt/v5 v5.3.1 h1:kYf81DTWFe7t+1VvL7eS+jKFVWaUnK9cB1qbwn63YCY=
|
||||
github.com/golang-jwt/jwt/v5 v5.3.1/go.mod h1:fxCRLWMO43lRc8nhHWY6LGqRcf+1gQWArsqaEUEa5bE=
|
||||
github.com/golang-jwt/jwt/v5 v5.4.0 h1:jJN4zDEjOuLrf58D7fEGYMrWDiGczMt+IavHmCc8lvM=
|
||||
github.com/golang-jwt/jwt/v5 v5.4.0/go.mod h1:fxCRLWMO43lRc8nhHWY6LGqRcf+1gQWArsqaEUEa5bE=
|
||||
github.com/google/go-cmdtest v0.4.1-0.20220921163831-55ab3332a786 h1:rcv+Ippz6RAtvaGgKxc+8FQIpxHgsF+HBzPyYL2cyVU=
|
||||
github.com/google/go-cmdtest v0.4.1-0.20220921163831-55ab3332a786/go.mod h1:apVn/GCasLZUVpAJ6oWAuyP7Ne7CEsQbTnc0plM3m+o=
|
||||
github.com/google/go-cmp v0.7.0 h1:wk8382ETsv4JYUZwIsn6YpYiWiBsYLSJiTsyBybVuN8=
|
||||
|
||||
Reference in new issue
Block a user