From 9cb3504fb344bae988f6c073b054ed3b2b6d99f9 Mon Sep 17 00:00:00 2001 From: Florent Guillemot Date: Wed, 19 Jul 2023 01:43:53 +0200 Subject: [PATCH] build(deps): update module github.com/golang-jwt/jwt/v4 to v5 (#152) Bumps the JWT library. Signed-off-by: CoreFloDev --- go.mod | 2 +- go.sum | 2 ++ metadata/metadata.go | 2 +- protocol/attestation_safetynet.go | 2 +- 4 files changed, 5 insertions(+), 3 deletions(-) diff --git a/go.mod b/go.mod index 82a810e6..7192d05d 100644 --- a/go.mod +++ b/go.mod @@ -5,7 +5,7 @@ go 1.20 require ( github.com/fxamacker/cbor/v2 v2.4.0 github.com/go-webauthn/x v0.1.4 - github.com/golang-jwt/jwt/v4 v4.5.0 + github.com/golang-jwt/jwt/v5 v5.0.0 github.com/google/go-tpm v0.9.0 github.com/google/uuid v1.3.0 github.com/mitchellh/mapstructure v1.5.0 diff --git a/go.sum b/go.sum index 9aa403b8..8f598ad7 100644 --- a/go.sum +++ b/go.sum @@ -8,6 +8,8 @@ github.com/go-webauthn/x v0.1.4 h1:sGmIFhcY70l6k7JIDfnjVBiAAFEssga5lXIUXe0GtAs= github.com/go-webauthn/x v0.1.4/go.mod h1:75Ug0oK6KYpANh5hDOanfDI+dvPWHk788naJVG/37H8= github.com/golang-jwt/jwt/v4 v4.5.0 h1:7cYmW1XlMY7h7ii7UhUyChSgS5wUJEnm9uZVTGqOWzg= github.com/golang-jwt/jwt/v4 v4.5.0/go.mod h1:m21LjoU+eqJr34lmDMbreY2eSTRJ1cv77w39/MY0Ch0= +github.com/golang-jwt/jwt/v5 v5.0.0 h1:1n1XNM9hk7O9mnQoNBGolZvzebBQ7p93ULHRc28XJUE= +github.com/golang-jwt/jwt/v5 v5.0.0/go.mod h1:pqrtFR0X4osieyHYxtmOUWsAWrfe1Q5UVIyoH402zdk= github.com/google/go-tpm v0.9.0 h1:sQF6YqWMi+SCXpsmS3fd21oPy/vSddwZry4JnmltHVk= github.com/google/go-tpm v0.9.0/go.mod h1:FkNVkc6C+IsvDI9Jw1OveJmxGZUUaKxtrpOS47QWKfU= github.com/google/uuid v1.3.0 h1:t6JiXgmwXMjEs8VusXIJk2BXHsn+wx8BZdTaoZ5fu7I= diff --git a/metadata/metadata.go b/metadata/metadata.go index f0701ada..af0a4950 100644 --- a/metadata/metadata.go +++ b/metadata/metadata.go @@ -9,7 +9,7 @@ import ( "reflect" "time" - "github.com/golang-jwt/jwt/v4" + "github.com/golang-jwt/jwt/v5" "github.com/google/uuid" "github.com/mitchellh/mapstructure" diff --git a/protocol/attestation_safetynet.go b/protocol/attestation_safetynet.go index e63ba3e3..8e94ad18 100644 --- a/protocol/attestation_safetynet.go +++ b/protocol/attestation_safetynet.go @@ -8,7 +8,7 @@ import ( "fmt" "time" - "github.com/golang-jwt/jwt/v4" + "github.com/golang-jwt/jwt/v5" "github.com/mitchellh/mapstructure" "github.com/go-webauthn/webauthn/metadata"