Skip to content

Commit

Permalink
chore: switch to xdg-go/scram (kedacore#5776)
Browse files Browse the repository at this point in the history
Module `github.com/xdg/scram` was renamed to `github.com/xdg-go/scram`
in October 2018.

Signed-off-by: Mikel Olasagasti Uranga <mikel@olasagasti.info>
  • Loading branch information
mikelolasagasti authored May 4, 2024
1 parent d926ca4 commit cc34cf6
Show file tree
Hide file tree
Showing 28 changed files with 2 additions and 4,756 deletions.
4 changes: 1 addition & 3 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@ require (
github.com/spf13/pflag v1.0.5
github.com/stretchr/testify v1.9.0
github.com/tidwall/gjson v1.17.1
github.com/xdg/scram v1.0.5
github.com/xhit/go-str2duration/v2 v2.1.0
github.com/youmark/pkcs8 v0.0.0-20201027041543-1326539a0a0a
go.etcd.io/etcd/client/v3 v3.5.13
Expand Down Expand Up @@ -331,9 +330,8 @@ require (
github.com/valyala/fastjson v1.6.4 // indirect
github.com/wagslane/go-password-validator v0.3.0 // indirect
github.com/xdg-go/pbkdf2 v1.0.0 // indirect
github.com/xdg-go/scram v1.1.2 // indirect
github.com/xdg-go/scram v1.1.2
github.com/xdg-go/stringprep v1.0.4 // indirect
github.com/xdg/stringprep v1.0.3 // indirect
github.com/xlab/treeprint v1.2.0 // indirect
go.etcd.io/etcd/api/v3 v3.5.13 // indirect
go.etcd.io/etcd/client/pkg/v3 v3.5.13 // indirect
Expand Down
2 changes: 0 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -2329,9 +2329,7 @@ github.com/xdg-go/scram v1.1.2 h1:FHX5I5B4i4hKRVRBCFRxq1iQRej7WO3hhBuJf+UUySY=
github.com/xdg-go/scram v1.1.2/go.mod h1:RT/sEzTbU5y00aCK8UOx6R7YryM0iF1N2MOmC3kKLN4=
github.com/xdg-go/stringprep v1.0.4 h1:XLI/Ng3O1Atzq0oBs3TWm+5ZVgkq2aqdlvP9JtoZ6c8=
github.com/xdg-go/stringprep v1.0.4/go.mod h1:mPGuuIYwz7CmR2bT9j4GbQqutWS1zV24gijq1dTyGkM=
github.com/xdg/scram v1.0.5 h1:TuS0RFmt5Is5qm9Tm2SoD89OPqe4IRiFtyFY4iwWXsw=
github.com/xdg/scram v1.0.5/go.mod h1:lB8K/P019DLNhemzwFU4jHLhdvlE6uDZjXFejJXr49I=
github.com/xdg/stringprep v1.0.3 h1:cmL5Enob4W83ti/ZHuZLuKD/xqJfus4fVPwE+/BDm+4=
github.com/xdg/stringprep v1.0.3/go.mod h1:Jhud4/sHMO4oL310DaZAKk9ZaJ08SJfe+sJh0HrGL1Y=
github.com/xhit/go-str2duration/v2 v2.1.0 h1:lxklc02Drh6ynqX+DdPyp5pCKLUQpRT8bp8Ydu2Bstc=
github.com/xhit/go-str2duration/v2 v2.1.0/go.mod h1:ohY8p+0f07DiV6Em5LKB0s2YpLtXVyJfNt1+BlmyAsU=
Expand Down
2 changes: 1 addition & 1 deletion pkg/scalers/kafka/kafka_scram_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import (
"crypto/sha256"
"crypto/sha512"

"github.com/xdg/scram"
"github.com/xdg-go/scram"
)

// SHA256 hash generator function for SCRAM conversation
Expand Down
Empty file.
11 changes: 0 additions & 11 deletions vendor/github.com/xdg/scram/.travis.yml

This file was deleted.

175 changes: 0 additions & 175 deletions vendor/github.com/xdg/scram/LICENSE

This file was deleted.

5 changes: 0 additions & 5 deletions vendor/github.com/xdg/scram/README.md

This file was deleted.

130 changes: 0 additions & 130 deletions vendor/github.com/xdg/scram/client.go

This file was deleted.

Loading

0 comments on commit cc34cf6

Please sign in to comment.