Skip to content

Commit ee4d7b9

Browse files
upgrade all dependencies for console (#3235)
Signed-off-by: Harshavardhana <harsha@minio.io>
1 parent 80c0383 commit ee4d7b9

File tree

7 files changed

+1615
-176
lines changed

7 files changed

+1615
-176
lines changed

.github/workflows/vulncheck.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- name: Set up Go
2323
uses: actions/setup-go@v3
2424
with:
25-
go-version: 1.21.5
25+
go-version: 1.21.7
2626
check-latest: true
2727
- name: Get official govulncheck
2828
run: go install golang.org/x/vuln/cmd/govulncheck@latest
@@ -36,7 +36,7 @@ jobs:
3636
runs-on: ubuntu-latest
3737
strategy:
3838
matrix:
39-
go-version: [ 1.21.5 ]
39+
go-version: [ 1.21.7 ]
4040
os: [ ubuntu-latest ]
4141
steps:
4242
- name: Check out code

CREDITS

Lines changed: 1469 additions & 39 deletions
Large diffs are not rendered by default.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ In case a Console standalone binary is needed, it can be generated by building t
3535
### Build from source
3636

3737
> You will need a working Go environment. Therefore, please follow [How to install Go](https://golang.org/doc/install).
38-
> Minimum version required is go1.19
38+
> Minimum version required is go1.21
3939
4040
```
4141
go install github.com/minio/console/cmd/console@latest

api/config.go

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -213,11 +213,6 @@ func GetSecureForceSTSHeader() bool {
213213
return strings.ToLower(env.Get(ConsoleSecureForceSTSHeader, "off")) == "on"
214214
}
215215

216-
// PublicKey implements HPKP to prevent MITM attacks with forged certificates. Default is "".
217-
func GetSecurePublicKey() string {
218-
return env.Get(ConsoleSecurePublicKey, "")
219-
}
220-
221216
// ReferrerPolicy allows the Referrer-Policy header with the value to be set with a custom value. Default is "".
222217
func GetSecureReferrerPolicy() string {
223218
return env.Get(ConsoleSecureReferrerPolicy, "")
@@ -228,10 +223,6 @@ func GetSecureFeaturePolicy() string {
228223
return env.Get(ConsoleSecureFeaturePolicy, "")
229224
}
230225

231-
func GetSecureExpectCTHeader() string {
232-
return env.Get(ConsoleSecureExpectCTHeader, "")
233-
}
234-
235226
func getLogSearchAPIToken() string {
236227
if v := env.Get(ConsoleLogQueryAuthToken, ""); v != "" {
237228
return v

api/configure_console.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -254,10 +254,8 @@ func setupGlobalMiddleware(handler http.Handler) http.Handler {
254254
BrowserXssFilter: GetSecureBrowserXSSFilter(),
255255
ContentSecurityPolicy: GetSecureContentSecurityPolicy(),
256256
ContentSecurityPolicyReportOnly: GetSecureContentSecurityPolicyReportOnly(),
257-
PublicKey: GetSecurePublicKey(),
258257
ReferrerPolicy: GetSecureReferrerPolicy(),
259258
FeaturePolicy: GetSecureFeaturePolicy(),
260-
ExpectCTHeader: GetSecureExpectCTHeader(),
261259
IsDevelopment: false,
262260
}
263261
secureMiddleware := secure.New(secureOptions)

go.mod

Lines changed: 42 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,40 @@
11
module github.com/minio/console
22

3-
go 1.19
3+
go 1.21
44

55
require (
66
github.com/blang/semver/v4 v4.0.0
7-
github.com/cheggaaa/pb/v3 v3.1.4
7+
github.com/cheggaaa/pb/v3 v3.1.5
88
github.com/dustin/go-humanize v1.0.1
99
github.com/fatih/color v1.16.0
1010
github.com/go-openapi/errors v0.21.0
11-
github.com/go-openapi/loads v0.21.4
12-
github.com/go-openapi/runtime v0.26.2
13-
github.com/go-openapi/spec v0.20.13
14-
github.com/go-openapi/strfmt v0.21.10
15-
github.com/go-openapi/swag v0.22.6
16-
github.com/go-openapi/validate v0.22.4
11+
github.com/go-openapi/loads v0.21.5
12+
github.com/go-openapi/runtime v0.27.1
13+
github.com/go-openapi/spec v0.20.14
14+
github.com/go-openapi/strfmt v0.22.0
15+
github.com/go-openapi/swag v0.22.9
16+
github.com/go-openapi/validate v0.23.0
1717
github.com/golang-jwt/jwt/v4 v4.5.0
18-
github.com/google/uuid v1.5.0
18+
github.com/google/uuid v1.6.0
1919
github.com/jessevdk/go-flags v1.5.0
20-
github.com/klauspost/compress v1.17.4
20+
github.com/klauspost/compress v1.17.6
2121
github.com/minio/cli v1.24.2
2222
github.com/minio/highwayhash v1.0.2
23-
github.com/minio/kes v0.22.3
24-
github.com/minio/madmin-go/v3 v3.0.37
25-
github.com/minio/mc v0.0.0-20231220084513-fb5dd2588c58
26-
github.com/minio/minio-go/v7 v7.0.66
23+
github.com/minio/kes v0.23.0
24+
github.com/minio/madmin-go/v3 v3.0.46
25+
github.com/minio/mc v0.0.0-20240209221824-669cb0a9a475
26+
github.com/minio/minio-go/v7 v7.0.67
2727
github.com/minio/selfupdate v0.6.0
2828
github.com/minio/websocket v1.6.0
2929
github.com/mitchellh/go-homedir v1.1.0
3030
github.com/rs/xid v1.5.0
3131
github.com/secure-io/sio-go v0.3.1
3232
github.com/stretchr/testify v1.8.4
3333
github.com/tidwall/gjson v1.17.0
34-
github.com/unrolled/secure v1.13.0
35-
golang.org/x/crypto v0.17.0
36-
golang.org/x/net v0.19.0
37-
golang.org/x/oauth2 v0.15.0
34+
github.com/unrolled/secure v1.14.0
35+
golang.org/x/crypto v0.19.0
36+
golang.org/x/net v0.21.0
37+
golang.org/x/oauth2 v0.17.0
3838
// Added to include security fix for
3939
// https://github.com/golang/go/issues/56152
4040
golang.org/x/text v0.14.0 // indirect
@@ -55,11 +55,11 @@ require (
5555
github.com/aymanbagabas/go-osc52/v2 v2.0.1 // indirect
5656
github.com/beorn7/perks v1.0.1 // indirect
5757
github.com/cespare/xxhash/v2 v2.2.0 // indirect
58-
github.com/charmbracelet/bubbles v0.17.1 // indirect
58+
github.com/charmbracelet/bubbles v0.18.0 // indirect
5959
github.com/charmbracelet/bubbletea v0.25.0 // indirect
6060
github.com/charmbracelet/lipgloss v0.9.1 // indirect
6161
github.com/cheggaaa/pb v1.0.29 // indirect
62-
github.com/containerd/console v1.0.4-0.20230313162750-1ae8d489ac81 // indirect
62+
github.com/containerd/console v1.0.4 // indirect
6363
github.com/coreos/go-semver v0.3.1 // indirect
6464
github.com/coreos/go-systemd/v22 v22.5.0 // indirect
6565
github.com/davecgh/go-spew v1.1.1 // indirect
@@ -69,7 +69,7 @@ require (
6969
github.com/gdamore/encoding v1.0.0 // indirect
7070
github.com/gdamore/tcell/v2 v2.7.0 // indirect
7171
github.com/go-ole/go-ole v1.3.0 // indirect
72-
github.com/go-openapi/analysis v0.22.0 // indirect
72+
github.com/go-openapi/analysis v0.22.2 // indirect
7373
github.com/go-openapi/jsonpointer v0.20.2 // indirect
7474
github.com/go-openapi/jsonreference v0.20.4 // indirect
7575
github.com/goccy/go-json v0.10.2 // indirect
@@ -79,7 +79,7 @@ require (
7979
github.com/hashicorp/errwrap v1.1.0 // indirect
8080
github.com/hashicorp/go-multierror v1.1.1 // indirect
8181
github.com/inconshreveable/mousetrap v1.1.0 // indirect
82-
github.com/jedib0t/go-pretty/v6 v6.4.9 // indirect
82+
github.com/jedib0t/go-pretty/v6 v6.5.4 // indirect
8383
github.com/josharian/intern v1.0.0 // indirect
8484
github.com/json-iterator/go v1.1.12 // indirect
8585
github.com/juju/ratelimit v1.0.2 // indirect
@@ -98,9 +98,9 @@ require (
9898
github.com/mattn/go-localereader v0.0.1 // indirect
9999
github.com/mattn/go-runewidth v0.0.15 // indirect
100100
github.com/matttproud/golang_protobuf_extensions v1.0.4 // indirect
101-
github.com/matttproud/golang_protobuf_extensions/v2 v2.0.0 // indirect
102101
github.com/minio/colorjson v1.0.6 // indirect
103102
github.com/minio/filepath v1.0.0 // indirect
103+
github.com/minio/kes-go v0.2.1 // indirect
104104
github.com/minio/md5-simd v1.1.2 // indirect
105105
github.com/minio/sha256-simd v1.0.1 // indirect
106106
github.com/mitchellh/mapstructure v1.5.0 // indirect
@@ -111,7 +111,7 @@ require (
111111
github.com/muesli/cancelreader v0.2.2 // indirect
112112
github.com/muesli/reflow v0.3.0 // indirect
113113
github.com/muesli/termenv v0.15.2 // indirect
114-
github.com/navidys/tvxwidgets v0.4.1 // indirect
114+
github.com/navidys/tvxwidgets v0.5.0 // indirect
115115
github.com/oklog/ulid v1.3.1 // indirect
116116
github.com/olekukonko/tablewriter v0.0.5 // indirect
117117
github.com/philhofer/fwd v1.1.2 // indirect
@@ -120,40 +120,40 @@ require (
120120
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
121121
github.com/posener/complete v1.2.3 // indirect
122122
github.com/power-devops/perfstat v0.0.0-20221212215047-62379fc7944b // indirect
123-
github.com/prometheus/client_golang v1.17.0 // indirect
123+
github.com/prometheus/client_golang v1.18.0 // indirect
124124
github.com/prometheus/client_model v0.5.0 // indirect
125-
github.com/prometheus/common v0.45.0 // indirect
125+
github.com/prometheus/common v0.46.0 // indirect
126126
github.com/prometheus/procfs v0.12.0 // indirect
127127
github.com/prometheus/prom2json v1.3.3 // indirect
128-
github.com/rivo/tview v0.0.0-20231206124440-5f078138442e // indirect
129-
github.com/rivo/uniseg v0.4.4 // indirect
128+
github.com/rivo/tview v0.0.0-20240204151237-861aa94d61c8 // indirect
129+
github.com/rivo/uniseg v0.4.7 // indirect
130130
github.com/rjeczalik/notify v0.9.3 // indirect
131131
github.com/safchain/ethtool v0.3.0 // indirect
132-
github.com/shirou/gopsutil/v3 v3.23.11 // indirect
132+
github.com/shirou/gopsutil/v3 v3.24.1 // indirect
133133
github.com/shoenig/go-m1cpu v0.1.6 // indirect
134134
github.com/sirupsen/logrus v1.9.3 // indirect
135135
github.com/tidwall/match v1.1.1 // indirect
136136
github.com/tidwall/pretty v1.2.1 // indirect
137137
github.com/tinylib/msgp v1.1.9 // indirect
138138
github.com/tklauser/go-sysconf v0.3.13 // indirect
139139
github.com/tklauser/numcpus v0.7.0 // indirect
140-
github.com/vbauerster/mpb/v8 v8.7.1 // indirect
141-
github.com/yusufpapurcu/wmi v1.2.3 // indirect
142-
go.etcd.io/etcd/api/v3 v3.5.11 // indirect
143-
go.etcd.io/etcd/client/pkg/v3 v3.5.11 // indirect
144-
go.etcd.io/etcd/client/v3 v3.5.11 // indirect
140+
github.com/vbauerster/mpb/v8 v8.7.2 // indirect
141+
github.com/yusufpapurcu/wmi v1.2.4 // indirect
142+
go.etcd.io/etcd/api/v3 v3.5.12 // indirect
143+
go.etcd.io/etcd/client/pkg/v3 v3.5.12 // indirect
144+
go.etcd.io/etcd/client/v3 v3.5.12 // indirect
145145
go.mongodb.org/mongo-driver v1.13.1 // indirect
146146
go.uber.org/multierr v1.11.0 // indirect
147147
go.uber.org/zap v1.26.0 // indirect
148-
golang.org/x/sync v0.5.0 // indirect
149-
golang.org/x/sys v0.15.0 // indirect
150-
golang.org/x/term v0.15.0 // indirect
148+
golang.org/x/sync v0.6.0 // indirect
149+
golang.org/x/sys v0.17.0 // indirect
150+
golang.org/x/term v0.17.0 // indirect
151151
google.golang.org/appengine v1.6.8 // indirect
152-
google.golang.org/genproto v0.0.0-20231212172506-995d672761c0 // indirect
153-
google.golang.org/genproto/googleapis/api v0.0.0-20231212172506-995d672761c0 // indirect
154-
google.golang.org/genproto/googleapis/rpc v0.0.0-20231212172506-995d672761c0 // indirect
155-
google.golang.org/grpc v1.60.1 // indirect
156-
google.golang.org/protobuf v1.31.0 // indirect
152+
google.golang.org/genproto v0.0.0-20240205150955-31a09d347014 // indirect
153+
google.golang.org/genproto/googleapis/api v0.0.0-20240205150955-31a09d347014 // indirect
154+
google.golang.org/genproto/googleapis/rpc v0.0.0-20240205150955-31a09d347014 // indirect
155+
google.golang.org/grpc v1.61.0 // indirect
156+
google.golang.org/protobuf v1.32.0 // indirect
157157
gopkg.in/h2non/filetype.v1 v1.0.5 // indirect
158158
gopkg.in/ini.v1 v1.67.0 // indirect
159159
gopkg.in/yaml.v3 v3.0.1 // indirect

0 commit comments

Comments
 (0)