Skip to content

Commit

Permalink
chore: update golang and deps (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
erka authored May 21, 2024
1 parent ef07601 commit d8853c0
Show file tree
Hide file tree
Showing 1,021 changed files with 123,664 additions and 40,083 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ RUN \
GOOS=${TARGETOS} GOARCH=${TARGETARCH} CGO_ENABLED=0 \
go build -a -mod='vendor' -trimpath='true' -buildvcs='true' -buildmode='exe' -compiler='gc' -o lite-idp

FROM alpine
FROM gcr.io/distroless/static
COPY --from=0 /go/src/github.com/amdonov/lite-idp/lite-idp /usr/bin/lite-idp
EXPOSE 9443
ENTRYPOINT ["lite-idp"]
Expand Down
4 changes: 2 additions & 2 deletions cmd/hash.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import (

"github.com/spf13/cobra"
"golang.org/x/crypto/bcrypt"
"golang.org/x/crypto/ssh/terminal"
"golang.org/x/term"
)

// HashCmd represents the hash command
Expand All @@ -29,7 +29,7 @@ var HashCmd = &cobra.Command{
Short: "hashes a password for use with example user store",
RunE: func(cmd *cobra.Command, args []string) error {
fmt.Print("Enter Password: ")
bytePassword, err := terminal.ReadPassword(int(syscall.Stdin))
bytePassword, err := term.ReadPassword(int(syscall.Stdin))
if err != nil {
return err
}
Expand Down
77 changes: 42 additions & 35 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,57 +1,64 @@
module github.com/amdonov/lite-idp

require (
github.com/PuerkitoBio/goquery v1.4.1
github.com/alicebob/miniredis v0.0.0-20180911162847-3657542c8629
github.com/PuerkitoBio/goquery v1.9.2
github.com/alicebob/miniredis v2.5.0+incompatible
github.com/allegro/bigcache v1.2.1
github.com/amdonov/xmlsig v0.1.0
github.com/elazarl/go-bindata-assetfs v1.0.0
github.com/go-redis/redis v6.15.5+incompatible
github.com/golang/protobuf v1.5.0
github.com/google/uuid v1.1.1
github.com/gorilla/handlers v1.4.2
github.com/julienschmidt/httprouter v1.2.0
github.com/elazarl/go-bindata-assetfs v1.0.1
github.com/go-redis/redis v6.15.9+incompatible
github.com/google/uuid v1.6.0
github.com/gorilla/handlers v1.5.2
github.com/julienschmidt/httprouter v1.3.0
github.com/ma314smith/signedxml v0.0.0-20161222022618-9781f7e0c2f1
github.com/sirupsen/logrus v1.4.2
github.com/spf13/cobra v0.0.5
github.com/spf13/viper v1.4.0
github.com/stretchr/testify v1.2.2
golang.org/x/crypto v0.0.0-20190829043050-9756ffdc2472
google.golang.org/protobuf v1.27.1
github.com/sirupsen/logrus v1.9.3
github.com/spf13/cobra v1.8.0
github.com/spf13/viper v1.18.2
github.com/stretchr/testify v1.9.0
golang.org/x/crypto v0.23.0
golang.org/x/term v0.20.0
google.golang.org/protobuf v1.34.1
)

require (
github.com/alicebob/gopher-json v0.0.0-20180125190556-5a6b3ba71ee6 // indirect
github.com/andybalholm/cascadia v1.0.0 // indirect
github.com/beevik/etree v1.1.0 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/fsnotify/fsnotify v1.4.7 // indirect
github.com/alicebob/gopher-json v0.0.0-20230218143504-906a9b012302 // indirect
github.com/andybalholm/cascadia v1.3.2 // indirect
github.com/beevik/etree v1.4.0 // indirect
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
github.com/felixge/httpsnoop v1.0.4 // indirect
github.com/fsnotify/fsnotify v1.7.0 // indirect
github.com/gomodule/redigo v2.0.0+incompatible // indirect
github.com/gopherjs/gopherjs v0.0.0-20181103185306-d547d1d9531e // indirect
github.com/hashicorp/hcl v1.0.0 // indirect
github.com/hpcloud/tail v1.0.0 // indirect
github.com/inconshreveable/mousetrap v1.0.0 // indirect
github.com/inconshreveable/mousetrap v1.1.0 // indirect
github.com/jtolds/gls v4.2.1+incompatible // indirect
github.com/konsorten/go-windows-terminal-sequences v1.0.2 // indirect
github.com/magiconair/properties v1.8.1 // indirect
github.com/mitchellh/mapstructure v1.1.2 // indirect
github.com/magiconair/properties v1.8.7 // indirect
github.com/mitchellh/mapstructure v1.5.0 // indirect
github.com/onsi/ginkgo v1.6.0 // indirect
github.com/onsi/gomega v1.4.1 // indirect
github.com/pelletier/go-toml v1.4.0 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/pelletier/go-toml/v2 v2.2.2 // indirect
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
github.com/sagikazarmark/locafero v0.4.0 // indirect
github.com/sagikazarmark/slog-shim v0.1.0 // indirect
github.com/smartystreets/assertions v0.0.0-20190116191733-b6c0e53d7304 // indirect
github.com/smartystreets/goconvey v0.0.0-20181108003508-044398e4856c // indirect
github.com/spf13/afero v1.2.2 // indirect
github.com/spf13/cast v1.3.0 // indirect
github.com/spf13/jwalterweatherman v1.1.0 // indirect
github.com/spf13/pflag v1.0.3 // indirect
github.com/yuin/gopher-lua v0.0.0-20180912021107-ed65620d4bd7 // indirect
golang.org/x/net v0.0.0-20190628185345-da137c7871d7 // indirect
golang.org/x/sys v0.0.0-20220627191245-f75cf1eec38b // indirect
golang.org/x/text v0.3.2 // indirect
github.com/sourcegraph/conc v0.3.0 // indirect
github.com/spf13/afero v1.11.0 // indirect
github.com/spf13/cast v1.6.0 // indirect
github.com/spf13/pflag v1.0.5 // indirect
github.com/subosito/gotenv v1.6.0 // indirect
github.com/yuin/gopher-lua v1.1.1 // indirect
go.uber.org/multierr v1.11.0 // indirect
golang.org/x/exp v0.0.0-20240506185415-9bf2ced13842 // indirect
golang.org/x/net v0.25.0 // indirect
golang.org/x/sys v0.20.0 // indirect
golang.org/x/text v0.15.0 // indirect
gopkg.in/fsnotify.v1 v1.4.7 // indirect
gopkg.in/ini.v1 v1.67.0 // indirect
gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 // indirect
gopkg.in/yaml.v2 v2.2.2 // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)

go 1.19
go 1.22
Loading

0 comments on commit d8853c0

Please sign in to comment.