Skip to content

Commit 9b9e9f5

Browse files
committed
chore: update go-jose to v3.0.0
This commit updates `go-jose` from `v2.6.0` to `v3.0.0`.
1 parent c446ec7 commit 9b9e9f5

File tree

7 files changed

+8
-8
lines changed

7 files changed

+8
-8
lines changed

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ require (
2020
github.com/fsnotify/fsnotify v1.6.0
2121
github.com/ghodss/yaml v1.0.0
2222
github.com/go-bindata/go-bindata v3.1.2+incompatible
23+
github.com/go-jose/go-jose/v3 v3.0.0
2324
github.com/go-openapi/jsonpointer v0.19.5
2425
github.com/go-openapi/runtime v0.24.2
2526
github.com/go-sql-driver/mysql v1.7.0
@@ -89,7 +90,6 @@ require (
8990
gonum.org/v1/plot v0.12.0
9091
google.golang.org/grpc v1.50.1
9192
google.golang.org/protobuf v1.28.1
92-
gopkg.in/square/go-jose.v2 v2.6.0
9393
)
9494

9595
require (

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,8 @@ github.com/go-fonts/stix v0.1.0/go.mod h1:w/c1f0ldAUlJmLBvlbkvVXLAD+tAMqobIIQpmn
213213
github.com/go-gl/glfw v0.0.0-20190409004039-e6da0acd62b1/go.mod h1:vR7hzQXu2zJy9AVAgeJqvqgH9Q5CA+iKCZ2gyEVpxRU=
214214
github.com/go-gl/glfw/v3.3/glfw v0.0.0-20191125211704-12ad95a8df72/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8=
215215
github.com/go-gl/glfw/v3.3/glfw v0.0.0-20200222043503-6f7a984d4dc4/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8=
216+
github.com/go-jose/go-jose/v3 v3.0.0 h1:s6rrhirfEP/CGIoc6p+PZAeogN2SxKav6Wp7+dyMWVo=
217+
github.com/go-jose/go-jose/v3 v3.0.0/go.mod h1:RNkWWRld676jZEYoV3+XK8L2ZnNSvIsxFMht0mSX+u8=
216218
github.com/go-kit/kit v0.8.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as=
217219
github.com/go-kit/kit v0.9.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as=
218220
github.com/go-kit/log v0.1.0/go.mod h1:zbhenjAZHb184qTLMA9ZjW7ThYL0H2mk7Q6pNt4vbaY=
@@ -1482,8 +1484,6 @@ gopkg.in/ini.v1 v1.67.0 h1:Dgnx+6+nfE+IfzjUEISNeydPJh9AXNNsWbGP9KzCsOA=
14821484
gopkg.in/ini.v1 v1.67.0/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k=
14831485
gopkg.in/resty.v1 v1.12.0/go.mod h1:mDo4pnntr5jdWRML875a/NmxYqAlA73dVijT2AXvQQo=
14841486
gopkg.in/square/go-jose.v2 v2.3.1/go.mod h1:M9dMgbHiYLoDGQrXy7OpJDJWiKiU//h+vD76mk0e1AI=
1485-
gopkg.in/square/go-jose.v2 v2.6.0 h1:NGk74WTnPKBNUhNzQX7PYcTLUjoq7mzKk2OKbvwk2iI=
1486-
gopkg.in/square/go-jose.v2 v2.6.0/go.mod h1:M9dMgbHiYLoDGQrXy7OpJDJWiKiU//h+vD76mk0e1AI=
14871487
gopkg.in/validator.v2 v2.0.0-20180514200540-135c24b11c19/go.mod h1:o4V0GXN9/CAmCsvJ0oXYZvrZOe7syiDZSN1GWGZTGzc=
14881488
gopkg.in/yaml.v2 v2.0.0-20170812160011-eb3733d160e7/go.mod h1:JAlM8MvJe8wmxCU4Bli9HhUf9+ttbYbLASfIpnQbh74=
14891489
gopkg.in/yaml.v2 v2.2.1/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=

josex/generate.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ import (
2626
"errors"
2727
"fmt"
2828

29-
"gopkg.in/square/go-jose.v2"
29+
"github.com/go-jose/go-jose/v3"
3030
)
3131

3232
// NewSigningKey generates a keypair for corresponding SignatureAlgorithm.

josex/public.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package josex
33
import (
44
"crypto"
55

6-
"gopkg.in/square/go-jose.v2"
6+
"github.com/go-jose/go-jose/v3"
77
)
88

99
// ToPublicKey returns the public key of the given private key.

josex/utils.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import (
2222
"errors"
2323
"fmt"
2424

25-
"gopkg.in/square/go-jose.v2"
25+
"github.com/go-jose/go-jose/v3"
2626
)
2727

2828
// LoadJSONWebKey returns a *jose.JSONWebKey for a given JSON string.

jwksx/fetcher.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ import (
88
"net/http"
99
"sync"
1010

11+
"github.com/go-jose/go-jose/v3"
1112
"github.com/pkg/errors"
12-
"gopkg.in/square/go-jose.v2"
1313
)
1414

1515
// Fetcher is a small helper for fetching JSON Web Keys from remote endpoints.

modx/version_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ require (
8181
gonum.org/v1/plot v0.0.0-20200111075622-4abb28f724d5
8282
google.golang.org/grpc v1.36.0
8383
gopkg.in/DataDog/dd-trace-go.v1 v1.27.0
84-
gopkg.in/square/go-jose.v2 v2.2.2
84+
github.com/go-jose/go-jose/v3 v3.0.0
8585
)
8686
8787
go 1.16

0 commit comments

Comments
 (0)