Skip to content

Commit 0e2710d

Browse files
authored
chore: Bump x/crypto to v0.43.0, go.mod to 1.24 (#472)
* chore: Bump x/crypto to v0.43.0, go.mod to 1.24 This bring the package up to date and addresses some security findings. The Go bump is required for newer x/crypto versions. * Update Go versions in CI
1 parent 1b0ccf1 commit 0e2710d

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- name: Setup go
1717
uses: actions/setup-go@v4
1818
with:
19-
go-version: "1.21"
19+
go-version: "1.25"
2020
- name: Format
2121
run: diff -u <(echo -n) <(gofmt -d -s .)
2222
- name: Vet
@@ -28,9 +28,8 @@ jobs:
2828
strategy:
2929
matrix:
3030
go-version:
31-
- "1.19"
32-
- "1.20"
33-
- "1.21"
31+
- "1.24"
32+
- "1.25"
3433
runs-on: ubuntu-latest
3534
steps:
3635
- uses: actions/checkout@v4

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Check out the [upgrade guide](UPGRADING.md#2-x-x-to-3-x-x).
2828

2929
## Requirements
3030

31-
- Go 1.19 or later.
31+
- Go 1.24 or later.
3232

3333
## Installation
3434

go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/clerk/clerk-sdk-go/v3
22

3-
go 1.19
3+
go 1.24.0
44

55
require (
66
github.com/go-jose/go-jose/v3 v3.0.4
@@ -10,6 +10,6 @@ require (
1010
require (
1111
github.com/davecgh/go-spew v1.1.1 // indirect
1212
github.com/pmezard/go-difflib v1.0.0 // indirect
13-
golang.org/x/crypto v0.19.0 // indirect
13+
golang.org/x/crypto v0.43.0 // indirect
1414
gopkg.in/yaml.v3 v3.0.1 // indirect
1515
)

go.sum

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,9 @@ github.com/stretchr/testify v1.8.2/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o
1818
github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY=
1919
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
2020
golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc=
21-
golang.org/x/crypto v0.19.0 h1:ENy+Az/9Y1vSrlrvBSyna3PITt4tiZLf7sgCjZBX7Wo=
2221
golang.org/x/crypto v0.19.0/go.mod h1:Iy9bg/ha4yyC70EfRS8jz+B6ybOBKMaSxLj6P6oBDfU=
22+
golang.org/x/crypto v0.43.0 h1:dduJYIi3A3KOfdGOHX8AVZ/jGiyPa3IbBozJ5kNuE04=
23+
golang.org/x/crypto v0.43.0/go.mod h1:BFbav4mRNlXJL4wNeejLpWxB7wMbc79PdRGhWKncxR0=
2324
golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4=
2425
golang.org/x/mod v0.8.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs=
2526
golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=

0 commit comments

Comments
 (0)