Skip to content

Commit 0240f94

Browse files
rgee0alexellis
authored andcommitted
Make use of v2 of the hmac module
Signed-off-by: Richard Gee <richard@technologee.co.uk>
1 parent e369975 commit 0240f94

File tree

10 files changed

+88
-68
lines changed

10 files changed

+88
-68
lines changed

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ module github.com/alexellis/derek
33
go 1.15
44

55
require (
6-
github.com/alexellis/hmac v1.3.0
6+
github.com/alexellis/hmac/v2 v2.0.0
77
github.com/dgrijalva/jwt-go v3.2.0+incompatible
88
github.com/google/go-github v17.0.0+incompatible
99
github.com/google/go-querystring v1.0.0 // indirect

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ cloud.google.com/go/storage v1.10.0/go.mod h1:FLPqc6j+Ki4BU591ie1oL6qBQGu2Bl/tZ9
3333
dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU=
3434
github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU=
3535
github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo=
36-
github.com/alexellis/hmac v1.3.0 h1:DJl5wfuhwj2IjG9XRXzPY6bHZYrwrARFTotpxX3KS08=
37-
github.com/alexellis/hmac v1.3.0/go.mod h1:WmZwlIfB7EQaDuiScnQoMSs3K+1UalW/7ExXP3Cc2zU=
36+
github.com/alexellis/hmac/v2 v2.0.0 h1:/sH/UJxDXPpJorUeg2DudeKSeUrWPF32Yamw2TiDoOQ=
37+
github.com/alexellis/hmac/v2 v2.0.0/go.mod h1:O7hZZgTfh5fp5+vAamzodZPlbw+aQK+nnrrJNHsEvL0=
3838
github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU=
3939
github.com/chzyer/logex v1.1.10/go.mod h1:+Ywpsq7O8HXn0nuIou7OrIPyXbp3wmkHB+jjWRnGsAI=
4040
github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e/go.mod h1:nSuG5e5PlCu98SY8svDHJxuZscDgtXS6KTTbou5AhLI=

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import (
1919
"github.com/alexellis/derek/handler"
2020

2121
"github.com/alexellis/derek/types"
22-
"github.com/alexellis/hmac"
22+
"github.com/alexellis/hmac/v2"
2323
)
2424

2525
const (

vendor/github.com/alexellis/hmac/go.mod

Lines changed: 0 additions & 3 deletions
This file was deleted.

vendor/github.com/alexellis/hmac/pkg.go

Lines changed: 0 additions & 58 deletions
This file was deleted.
File renamed without changes.

vendor/github.com/alexellis/hmac/README.md renamed to vendor/github.com/alexellis/hmac/v2/README.md

Lines changed: 12 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/alexellis/hmac/v2/go.mod

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/alexellis/hmac/v2/pkg.go

Lines changed: 67 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/modules.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# github.com/alexellis/hmac v1.3.0
1+
# github.com/alexellis/hmac/v2 v2.0.0
22
## explicit
3-
github.com/alexellis/hmac
3+
github.com/alexellis/hmac/v2
44
# github.com/dgrijalva/jwt-go v3.2.0+incompatible
55
## explicit
66
github.com/dgrijalva/jwt-go

0 commit comments

Comments
 (0)