Skip to content

Commit 77581d4

Browse files
leggetterclaude
andauthored
chore(deps): bump golang.org/x/crypto and build with Go 1.26.5 (#330)
* chore(deps): bump golang.org/x/crypto to v0.52.0 Clears all 13 open Dependabot alerts on the default branch: 7 critical, 2 high and 4 moderate, every one of them golang.org/x/crypto and every one fixed in 0.52.0. golang.org/x/text comes along as a transitive requirement of the new version. Nothing else in go.mod moves. x/crypto is an indirect dependency and `go mod why` reports that the main module does not import it, so exposure was limited, but the alerts are real and the bump is free. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01HHJQ1QSdKmJMivqw7SER6t * ci: build with Go 1.26.5 The pinned 1.24.9 toolchain carries standard-library vulnerabilities that govulncheck flags as reachable from this code, including crypto/x509, crypto/tls, net/http and net/textproto. release.yml builds the published binaries, so the pin decides what ships to users. Verified against both toolchains on the same tree: go1.26.1 10 vulnerabilities (1 module + standard library) go1.26.5 1 vulnerability (1 module, no standard library) The remaining one is GO-2026-5932, the unmaintained x/crypto/openpgp package reached transitively through go-github. It is marked "Fixed in: N/A" and no version bump resolves it. Note the pin was already misleading: go.mod declares `go 1.25.0`, above the pinned 1.24.9, so Go was auto-downloading a newer toolchain anyway. test-homebrew-build.yml already derives its version from go.mod and is left alone. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01HHJQ1QSdKmJMivqw7SER6t --------- Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
1 parent ad6b2fd commit 77581d4

6 files changed

Lines changed: 21 additions & 21 deletions

File tree

‎.github/workflows/acceptance.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
- name: Set up Go
3434
uses: actions/setup-go@v3
3535
with:
36-
go-version: "1.24.9"
36+
go-version: "1.26.5"
3737

3838
- name: Run Go Acceptance Tests (slice ${{ matrix.slice }})
3939
run: go test -tags="${{ matrix.tags }}" ./test/acceptance/... -v -timeout 12m
@@ -55,7 +55,7 @@ jobs:
5555
- name: Set up Go
5656
uses: actions/setup-go@v3
5757
with:
58-
go-version: "1.24.9"
58+
go-version: "1.26.5"
5959

6060
- name: Run telemetry acceptance tests
6161
run: go test -tags=telemetry ./test/acceptance/... -v -timeout 12m

‎.github/workflows/release.yml‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
- name: Set up Go
2525
uses: actions/setup-go@v5
2626
with:
27-
go-version: 1.24.9
27+
go-version: 1.26.5
2828
- name: Run GoReleaser
2929
uses: goreleaser/goreleaser-action@v5
3030
with:
@@ -56,7 +56,7 @@ jobs:
5656
- name: Set up Go
5757
uses: actions/setup-go@v5
5858
with:
59-
go-version: 1.24.9
59+
go-version: 1.26.5
6060
- name: Run GoReleaser
6161
uses: goreleaser/goreleaser-action@v5
6262
with:
@@ -76,7 +76,7 @@ jobs:
7676
- name: Set up Go
7777
uses: actions/setup-go@v5
7878
with:
79-
go-version: 1.24.9
79+
go-version: 1.26.5
8080
- name: Run GoReleaser
8181
uses: goreleaser/goreleaser-action@v5
8282
with:
@@ -151,7 +151,7 @@ jobs:
151151
- name: Set up Go
152152
uses: actions/setup-go@v5
153153
with:
154-
go-version: 1.24.9
154+
go-version: 1.26.5
155155

156156
- name: Build npm binaries with GoReleaser
157157
uses: goreleaser/goreleaser-action@v5

‎.github/workflows/test-npm-build.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- name: Set up Go
1717
uses: actions/setup-go@v5
1818
with:
19-
go-version: 1.24.9
19+
go-version: 1.26.5
2020

2121
- name: Set up Node.js
2222
uses: actions/setup-node@v4

‎.github/workflows/test.yml‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
- name: Set up Go
2828
uses: actions/setup-go@v5
2929
with:
30-
go-version: 1.24.9
30+
go-version: 1.26.5
3131
- name: Run unit tests
3232
run: go test -short ./pkg/...
3333

@@ -41,7 +41,7 @@ jobs:
4141
- name: Set up Go
4242
uses: actions/setup-go@v5
4343
with:
44-
go-version: 1.24.9
44+
go-version: 1.26.5
4545
- name: Run GoReleaser
4646
uses: goreleaser/goreleaser-action@v5
4747
with:
@@ -73,7 +73,7 @@ jobs:
7373
- name: Set up Go
7474
uses: actions/setup-go@v5
7575
with:
76-
go-version: 1.24.9
76+
go-version: 1.26.5
7777
- name: Run GoReleaser
7878
uses: goreleaser/goreleaser-action@v5
7979
with:
@@ -92,7 +92,7 @@ jobs:
9292
- name: Set up Go
9393
uses: actions/setup-go@v5
9494
with:
95-
go-version: 1.24.9
95+
go-version: 1.26.5
9696
- name: Run GoReleaser
9797
uses: goreleaser/goreleaser-action@v5
9898
with:

‎go.mod‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,10 +69,10 @@ require (
6969
github.com/xo/terminfo v0.0.0-20220910002029-abceb7e1c41e // indirect
7070
github.com/yosida95/uritemplate/v3 v3.0.2 // indirect
7171
go.yaml.in/yaml/v3 v3.0.4 // indirect
72-
golang.org/x/crypto v0.45.0 // indirect
72+
golang.org/x/crypto v0.52.0 // indirect
7373
golang.org/x/oauth2 v0.35.0 // indirect
7474
golang.org/x/sync v0.20.0 // indirect
75-
golang.org/x/text v0.31.0 // indirect
75+
golang.org/x/text v0.37.0 // indirect
7676
golang.org/x/time v0.15.0 // indirect
7777
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect
7878
gopkg.in/yaml.v2 v2.4.0 // indirect

‎go.sum‎

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -173,8 +173,8 @@ go.yaml.in/yaml/v3 v3.0.4 h1:tfq32ie2Jv2UxXFdLJdh3jXuOzWiL1fo0bu/FbuKpbc=
173173
go.yaml.in/yaml/v3 v3.0.4/go.mod h1:DhzuOOF2ATzADvBadXxruRBLzYTpT36CKvDb3+aBEFg=
174174
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
175175
golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc=
176-
golang.org/x/crypto v0.45.0 h1:jMBrvKuj23MTlT0bQEOBcAE0mjg8mK9RXFhRH6nyF3Q=
177-
golang.org/x/crypto v0.45.0/go.mod h1:XTGrrkGJve7CYK7J8PEww4aY7gM3qMCElcJQ8n8JdX4=
176+
golang.org/x/crypto v0.52.0 h1:RMs7fP2rXdep0CftQlK8Uf+kibLm7qkCcradZWYz988=
177+
golang.org/x/crypto v0.52.0/go.mod h1:1QgfPxDqh0T2M/elOJtp9RvuR95kVjir0e6/BvEmGbc=
178178
golang.org/x/exp v0.0.0-20231006140011-7918f672742d h1:jtJma62tbqLibJ5sFQz8bKtEM8rJBtfilJ2qTU199MI=
179179
golang.org/x/exp v0.0.0-20231006140011-7918f672742d/go.mod h1:ldy0pHrwJyGW56pPQzzkH36rKxoZW1tw7ZJpeKx+hdo=
180180
golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4=
@@ -184,8 +184,8 @@ golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLL
184184
golang.org/x/net v0.0.0-20200520004742-59133d7f0dd7/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A=
185185
golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg=
186186
golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c=
187-
golang.org/x/net v0.47.0 h1:Mx+4dIFzqraBXUugkia1OOvlD6LemFo1ALMHjrXDOhY=
188-
golang.org/x/net v0.47.0/go.mod h1:/jNxtkgq5yWUGYkaZGqo27cfGZ1c5Nen03aYrrKpVRU=
187+
golang.org/x/net v0.54.0 h1:2zJIZAxAHV/OHCDTCOHAYehQzLfSXuf/5SoL/Dv6w/w=
188+
golang.org/x/net v0.54.0/go.mod h1:Sj4oj8jK6XmHpBZU/zWHw3BV3abl4Kvi+Ut7cQcY+cQ=
189189
golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U=
190190
golang.org/x/oauth2 v0.35.0 h1:Mv2mzuHuZuY2+bkyWXIHMfhNdJAdwW3FuWeCPYN5GVQ=
191191
golang.org/x/oauth2 v0.35.0/go.mod h1:lzm5WQJQwKZ3nwavOZ3IS5Aulzxi68dUSgRHujetwEA=
@@ -220,15 +220,15 @@ golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk=
220220
golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
221221
golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ=
222222
golang.org/x/text v0.4.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8=
223-
golang.org/x/text v0.31.0 h1:aC8ghyu4JhP8VojJ2lEHBnochRno1sgL6nEi9WGFGMM=
224-
golang.org/x/text v0.31.0/go.mod h1:tKRAlv61yKIjGGHX/4tP1LTbc13YSec1pxVEWXzfoeM=
223+
golang.org/x/text v0.37.0 h1:Cqjiwd9eSg8e0QAkyCaQTNHFIIzWtidPahFWR83rTrc=
224+
golang.org/x/text v0.37.0/go.mod h1:a5sjxXGs9hsn/AJVwuElvCAo9v8QYLzvavO5z2PiM38=
225225
golang.org/x/time v0.15.0 h1:bbrp8t3bGUeFOx08pvsMYRTCVSMk89u4tKbNOZbp88U=
226226
golang.org/x/time v0.15.0/go.mod h1:Y4YMaQmXwGQZoFaVFk4YpCt4FLQMYKZe9oeV/f4MSno=
227227
golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
228228
golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
229229
golang.org/x/tools v0.1.12/go.mod h1:hNGJHUnrk76NpqgfD5Aqm5Crs+Hm0VOH/i9J2+nxYbc=
230-
golang.org/x/tools v0.42.0 h1:uNgphsn75Tdz5Ji2q36v/nsFSfR/9BRFvqhGBaJGd5k=
231-
golang.org/x/tools v0.42.0/go.mod h1:Ma6lCIwGZvHK6XtgbswSoWroEkhugApmsXyrUmBhfr0=
230+
golang.org/x/tools v0.44.0 h1:UP4ajHPIcuMjT1GqzDWRlalUEoY+uzoZKnhOjbIPD2c=
231+
golang.org/x/tools v0.44.0/go.mod h1:KA0AfVErSdxRZIsOVipbv3rQhVXTnlU6UhKxHd1seDI=
232232
golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
233233
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4=
234234
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=

0 commit comments

Comments
 (0)