]> source.dussan.org Git - gitea.git/commit
Upgrade to golang-jwt 3.2.2 (#16590)
authorzeripath <art27@cantab.net>
Tue, 3 Aug 2021 18:32:01 +0000 (19:32 +0100)
committerGitHub <noreply@github.com>
Tue, 3 Aug 2021 18:32:01 +0000 (14:32 -0400)
commit35735bbef982fa2268dd90c7ca709f9e9ff00efc
treee74eee9e974a23b49fa59b5be79e830bf8374d6f
parent80b7889fee833d4d80c5581dc182b4a499b4bad4
Upgrade to golang-jwt 3.2.2 (#16590)

* Upgrade to golang-jwt 3.2.2

Upgrade to the latest version of golang-jwt

Signed-off-by: Andrew Thornton <art27@cantab.net>
* Forcibly replace the 3.2.1 version of golang-jwt/jwt and increase minimum Go version

Using go.mod we can forcibly replace the 3.2.1 version used by goth to 3.2.2.

Further given golang-jwt/jwts stated policy of only supporting supported go versions
we should just raise our minimal version of go to 1.16 for 1.16 as by time of release
1.15 will be out of support.

Signed-off-by: Andrew Thornton <art27@cantab.net>
* update minimal go required

Signed-off-by: Andrew Thornton <art27@cantab.net>
* update config.yaml

Signed-off-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: 6543 <6543@obermui.de>
14 files changed:
.drone.yml
Makefile
docs/config.yaml
go.mod
go.sum
vendor/github.com/golang-jwt/jwt/.travis.yml [deleted file]
vendor/github.com/golang-jwt/jwt/README.md
vendor/github.com/golang-jwt/jwt/VERSION_HISTORY.md
vendor/github.com/golang-jwt/jwt/ecdsa.go
vendor/github.com/golang-jwt/jwt/ed25519.go [new file with mode: 0644]
vendor/github.com/golang-jwt/jwt/ed25519_utils.go [new file with mode: 0644]
vendor/github.com/golang-jwt/jwt/map_claims.go
vendor/github.com/golang-jwt/jwt/token.go
vendor/modules.txt