Skip to content

Commit 13d6a79

Browse files
committed
1 parent 1de0c88 commit 13d6a79

5 files changed

Lines changed: 10 additions & 5 deletions

File tree

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@
44

55
Coming soon! Please document any work in progress here as part of your PR. It will be moved to the next tag when released.
66

7+
## v0.44.0
8+
9+
- migrate to github.com/golang-jwt/jwt/v4
10+
711
## v0.43.0
812

913
- support multi-platform / multi-arch builds for published Docker images including `linux/amd64` and `linux/arm64`

go.mod

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ toolchain go1.23.2
66

77
require (
88
github.com/go-viper/mapstructure/v2 v2.4.0
9-
github.com/golang-jwt/jwt v3.2.2+incompatible
109
github.com/google/go-cmp v0.7.0
1110
github.com/gorilla/sessions v1.4.0
1211
github.com/julienschmidt/httprouter v1.3.0
@@ -48,3 +47,5 @@ require (
4847
golang.org/x/text v0.27.0 // indirect
4948
gopkg.in/yaml.v3 v3.0.1 // indirect
5049
)
50+
51+
require github.com/golang-jwt/jwt/v4 v4.5.2

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ github.com/fsnotify/fsnotify v1.9.0 h1:2Ml+OJNzbYCTzsxtv8vKSFD9PbJjmhYF14k/jKC7S
1212
github.com/fsnotify/fsnotify v1.9.0/go.mod h1:8jBTzvmWwFyi3Pb8djgCCO5IBqzKJ/Jwo8TRcHyHii0=
1313
github.com/go-viper/mapstructure/v2 v2.4.0 h1:EBsztssimR/CONLSZZ04E8qAkxNYq4Qp9LvH92wZUgs=
1414
github.com/go-viper/mapstructure/v2 v2.4.0/go.mod h1:oJDH3BJKyqBA2TXFhDsKDGDTlndYOZ6rGS0BRZIxGhM=
15-
github.com/golang-jwt/jwt v3.2.2+incompatible h1:IfV12K8xAKAnZqdXVzCZ+TOjboZ2keLg81eXfW3O+oY=
16-
github.com/golang-jwt/jwt v3.2.2+incompatible/go.mod h1:8pz2t5EyA70fFQQSrl6XZXzqecmYZeUEB8OUGHkxJ+I=
15+
github.com/golang-jwt/jwt/v4 v4.5.2 h1:YtQM7lnr8iZ+j5q71MGKkNw9Mn7AjHM68uc9g5fXeUI=
16+
github.com/golang-jwt/jwt/v4 v4.5.2/go.mod h1:m21LjoU+eqJr34lmDMbreY2eSTRJ1cv77w39/MY0Ch0=
1717
github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M=
1818
github.com/google/go-cmp v0.7.0 h1:wk8382ETsv4JYUZwIsn6YpYiWiBsYLSJiTsyBybVuN8=
1919
github.com/google/go-cmp v0.7.0/go.mod h1:pXiqmnSA92OHEEa9HXL2W4E7lf9JzCmGVUdgjX3N/iU=

pkg/cfg/cfg.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ import (
2727
"strings"
2828

2929
"github.com/go-viper/mapstructure/v2"
30-
"github.com/golang-jwt/jwt"
30+
"github.com/golang-jwt/jwt/v4"
3131
"github.com/kelseyhightower/envconfig"
3232
"github.com/spf13/viper"
3333
securerandom "github.com/theckman/go-securerandom"

pkg/jwtmanager/jwtmanager.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import (
2121
"strings"
2222
"time"
2323

24-
jwt "github.com/golang-jwt/jwt"
24+
jwt "github.com/golang-jwt/jwt/v4"
2525
"go.uber.org/zap"
2626

2727
"github.com/vouch/vouch-proxy/pkg/cfg"

0 commit comments

Comments
 (0)