diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 99c44aaee9f4f4b60f145b4e6a55a0d1c95b4d94..ecafde21aa02db7ef4de52235743235264556617 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -16,7 +16,7 @@ jobs: - name: Set up Go 1.x uses: actions/setup-go@v2 with: - go-version: ^1.20 + go-version: ^1.22 id: go - name: Install pam-devel diff --git a/Makefile b/Makefile index 596d9350a186de6554a1e7a362cff0ea856842d6..b2a106ed91d354f7fca9099bf57bb1d87599c148 100644 --- a/Makefile +++ b/Makefile @@ -50,7 +50,7 @@ install: build .PHONY: mod mod: - go mod tidy -compat=1.20 + go mod tidy -compat=1.22 # ------------------------------------------------------------------------------ # test diff --git a/go.mod b/go.mod index 745a09c0a6e9cfd258f1b078ce7f99799028233c..ec9fe6a4b49d05886b3c9fb3397919fb2c64d5ff 100644 --- a/go.mod +++ b/go.mod @@ -1,16 +1,16 @@ module github.com/bolkedebruin/rdpgw -go 1.20 +go 1.22 require ( github.com/bolkedebruin/gokrb5/v8 v8.5.0 - github.com/coreos/go-oidc/v3 v3.5.0 + github.com/coreos/go-oidc/v3 v3.9.0 github.com/fatih/structs v1.1.0 github.com/go-jose/go-jose/v3 v3.0.3 - github.com/google/uuid v1.3.0 - github.com/gorilla/mux v1.8.0 - github.com/gorilla/sessions v1.2.1 - github.com/gorilla/websocket v1.5.0 + github.com/google/uuid v1.6.0 + github.com/gorilla/mux v1.8.1 + github.com/gorilla/sessions v1.2.2 + github.com/gorilla/websocket v1.5.1 github.com/jcmturner/gofork v1.7.6 github.com/jcmturner/goidentity/v6 v6.0.1 github.com/knadh/koanf/parsers/yaml v0.1.0 @@ -18,14 +18,14 @@ require ( github.com/knadh/koanf/providers/env v0.1.0 github.com/knadh/koanf/providers/file v0.1.0 github.com/knadh/koanf/v2 v2.1.0 - github.com/msteinert/pam v1.0.0 + github.com/msteinert/pam v1.2.0 github.com/patrickmn/go-cache v2.1.0+incompatible - github.com/prometheus/client_golang v1.15.0 + github.com/prometheus/client_golang v1.19.0 github.com/stretchr/testify v1.8.1 - github.com/thought-machine/go-flags v1.6.2 + github.com/thought-machine/go-flags v1.6.3 golang.org/x/crypto v0.21.0 - golang.org/x/oauth2 v0.7.0 - google.golang.org/grpc v1.56.3 + golang.org/x/oauth2 v0.18.0 + google.golang.org/grpc v1.62.1 google.golang.org/protobuf v1.33.0 ) @@ -33,27 +33,26 @@ require ( github.com/beorn7/perks v1.0.1 // indirect github.com/cespare/xxhash/v2 v2.2.0 // indirect github.com/davecgh/go-spew v1.1.1 // indirect - github.com/fsnotify/fsnotify v1.6.0 // indirect - github.com/golang/protobuf v1.5.3 // indirect - github.com/gorilla/securecookie v1.1.1 // indirect + github.com/fsnotify/fsnotify v1.7.0 // indirect + github.com/go-viper/mapstructure/v2 v2.0.0-alpha.1 // indirect + github.com/golang/protobuf v1.5.4 // indirect + github.com/gorilla/securecookie v1.1.2 // indirect github.com/hashicorp/go-uuid v1.0.3 // indirect github.com/jcmturner/aescts/v2 v2.0.0 // indirect github.com/jcmturner/dnsutils/v2 v2.0.0 // indirect github.com/jcmturner/rpc/v2 v2.0.3 // indirect github.com/knadh/koanf/maps v0.1.1 // indirect - github.com/matttproud/golang_protobuf_extensions v1.0.4 // indirect + github.com/kr/text v0.2.0 // indirect github.com/mitchellh/copystructure v1.2.0 // indirect - github.com/mitchellh/mapstructure v1.5.0 // indirect github.com/mitchellh/reflectwalk v1.0.2 // indirect github.com/pmezard/go-difflib v1.0.0 // indirect - github.com/prometheus/client_model v0.3.0 // indirect - github.com/prometheus/common v0.42.0 // indirect - github.com/prometheus/procfs v0.9.0 // indirect - github.com/rogpeppe/go-internal v1.10.0 // indirect - golang.org/x/net v0.17.0 // indirect - golang.org/x/sys v0.17.0 // indirect + github.com/prometheus/client_model v0.6.0 // indirect + github.com/prometheus/common v0.50.0 // indirect + github.com/prometheus/procfs v0.13.0 // indirect + golang.org/x/net v0.22.0 // indirect + golang.org/x/sys v0.18.0 // indirect golang.org/x/text v0.14.0 // indirect - google.golang.org/appengine v1.6.7 // indirect - google.golang.org/genproto v0.0.0-20230410155749-daa745c078e1 // indirect + google.golang.org/appengine v1.6.8 // indirect + google.golang.org/genproto/googleapis/rpc v0.0.0-20240314234333-6e1732d8331c // indirect gopkg.in/yaml.v3 v3.0.1 // indirect )