Package list golang-github-go-kit-kit / 5e94af0
Remove dgrijalva/jwt-go v3 patch Replace golang-github-dgrijalva-jwt-go-v3-dev with golang-github-dgrijalva-jwt-go-dev Shengjing Zhu 1 year, 3 months ago
3 changed file(s) with 2 addition(s) and 26 deletion(s). Raw diff Collapse all Expand all
66 Build-Depends: debhelper (>= 10~),
77 dh-golang (>= 1.17~),
88 golang-any,
9 golang-github-dgrijalva-jwt-go-v3-dev,
9 golang-github-dgrijalva-jwt-go-dev (>= 3.0~),
1010 golang-github-go-logfmt-logfmt-dev,
1111 golang-github-go-stack-stack-dev,
1212 golang-github-opentracing-opentracing-go-dev,
2121
2222 Package: golang-github-go-kit-kit-dev
2323 Architecture: all
24 Depends: golang-github-dgrijalva-jwt-go-v3-dev,
24 Depends: golang-github-dgrijalva-jwt-go-dev (>= 3.0~),
2525 golang-github-go-logfmt-logfmt-dev,
2626 golang-github-go-stack-stack-dev,
2727 golang-github-opentracing-opentracing-go-dev,
+0
-23
debian/patches/01-Use_jwt_v3.patch less more
0 Description: Patch the import names to use JWT v3 package.
1 --- a/auth/jwt/middleware.go
2 +++ b/auth/jwt/middleware.go
3 @@ -4,7 +4,7 @@
4 "context"
5 "errors"
6
7 - jwt "github.com/dgrijalva/jwt-go"
8 + jwt "github.com/dgrijalva/jwt-go-v3"
9
10 "github.com/go-kit/kit/endpoint"
11 )
12 --- a/auth/jwt/middleware_test.go
13 +++ b/auth/jwt/middleware_test.go
14 @@ -8,7 +8,7 @@
15
16 "crypto/subtle"
17
18 - jwt "github.com/dgrijalva/jwt-go"
19 + jwt "github.com/dgrijalva/jwt-go-v3"
20 "github.com/go-kit/kit/endpoint"
21 )
22
+0
-1
debian/patches/series less more
0 01-Use_jwt_v3.patch