[deps]: update jwt-go dependency (#12544)

jwt-go has been renamed to jwt and has a new home. See
https://github.com/dgrijalva/jwt-go/issues/462
This commit is contained in:
Emir İşman
2021-06-24 18:41:04 +03:00
committed by GitHub
parent ba6e9682e5
commit 9bf1ac0bb6
12 changed files with 20 additions and 18 deletions

View File

@@ -18,7 +18,7 @@ package openid
import (
"crypto"
"github.com/dgrijalva/jwt-go"
"github.com/golang-jwt/jwt"
// Needed for SHA3 to work - See: https://golang.org/src/crypto/crypto.go?s=1034:1288
_ "golang.org/x/crypto/sha3" // There is no SHA-3 FIPS-140 2 compliant implementation

View File

@@ -29,7 +29,7 @@ import (
"sync"
"time"
jwtgo "github.com/dgrijalva/jwt-go"
jwtgo "github.com/golang-jwt/jwt"
"github.com/minio/minio/internal/auth"
"github.com/minio/minio/internal/config"
"github.com/minio/pkg/env"

View File

@@ -19,7 +19,7 @@ package openid
import (
"crypto"
"github.com/dgrijalva/jwt-go"
"github.com/golang-jwt/jwt"
// Needed for SHA3 to work - See: https://golang.org/src/crypto/crypto.go?s=1034:1288
_ "golang.org/x/crypto/sha3" // There is no SHA-3 FIPS-140 2 compliant implementation