Skip to content

Commit 536b643

Browse files
author
Daisuke Maki
committed
Merge branch 'develop/v2' into v2
2 parents 8d1d783 + 4f04913 commit 536b643

26 files changed

+133
-121
lines changed

.github/dependabot.yml

+18-9
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,37 @@
1-
# To get started with Dependabot version updates, you'll need to specify which
2-
# package ecosystems to update and where the package manifests are located.
3-
# Please see the documentation for all configuration options:
4-
# https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
5-
61
version: 2
72
updates:
8-
- package-ecosystem: "gomod" # See documentation for possible values
9-
directory: "/" # Location of package manifests
3+
- package-ecosystem: "gomod"
4+
directory: "/"
5+
schedule:
6+
interval: "daily"
7+
target-branch: "develop/v3"
8+
labels:
9+
- "go"
10+
- "dependencies"
11+
- "dependabot"
12+
- package-ecosystem: "gomod"
13+
directory: "/"
1014
schedule:
1115
interval: "daily"
1216
target-branch: "develop/v2"
1317
labels:
1418
- "go"
1519
- "dependencies"
1620
- "dependabot"
17-
- package-ecosystem: "gomod" # See documentation for possible values
18-
directory: "/" # Location of package manifests
21+
- package-ecosystem: "gomod"
22+
directory: "/"
1923
schedule:
2024
interval: "daily"
2125
target-branch: "develop/v1"
2226
labels:
2327
- "go"
2428
- "dependencies"
2529
- "dependabot"
30+
- package-ecosystem: "github-actions"
31+
directory: "/"
32+
schedule:
33+
interval: "daily"
34+
target-branch: "develop/v3"
2635
- package-ecosystem: "github-actions"
2736
directory: "/"
2837
schedule:

.github/workflows/assign-issue.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ jobs:
88
runs-on: ubuntu-latest
99
steps:
1010
- name: 'Auto-assign issue'
11-
uses: pozil/auto-assign-issue@v2
11+
uses: pozil/auto-assign-issue@c5bca5027e680b9e8411b826d16947afd8c76b32 # v2.0.0
1212
with:
1313
assignees: lestrrat

.github/workflows/assign-pr.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ jobs:
77
add-reviews:
88
runs-on: ubuntu-latest
99
steps:
10-
- uses: kentaro-m/auto-assign-action@v2.0.0
10+
- uses: kentaro-m/auto-assign-action@f4648c0a9fdb753479e9e75fc251f507ce17bb7e # v2.0.0
1111
with:
1212
configuration-path: .github/auto-assign-pr.yml

.github/workflows/autodoc.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
if: github.event.pull_request.merged == true
1414
steps:
1515
- name: Checkout repository
16-
uses: actions/checkout@v4
16+
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
1717
- name: Process markdown files
1818
run: |
1919
find . -name '*.md' | xargs perl tools/autodoc.pl

.github/workflows/ci.yml

+4-19
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@ jobs:
1111
strategy:
1212
matrix:
1313
go_tags: [ 'stdlib', 'goccy', 'es256k', 'secp256k1-pem', 'asmbase64', 'alltags']
14-
go: [ '1.22', '1.21', '1.20' ]
14+
go: [ '1.23', '1.22', '1.21' ]
1515
name: "Test [ Go ${{ matrix.go }} / Tags ${{ matrix.go_tags }} ]"
1616
steps:
1717
- name: Checkout repository
18-
uses: actions/checkout@v4
18+
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
1919
- name: Cache Go modules
20-
uses: actions/cache@v4
20+
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
2121
with:
2222
path: |
2323
~/go/pkg/mod
@@ -27,20 +27,10 @@ jobs:
2727
restore-keys: |
2828
${{ runner.os }}-go-
2929
- name: Install Go stable version
30-
if: matrix.go != 'tip'
31-
uses: actions/setup-go@v5
30+
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
3231
with:
3332
go-version: ${{ matrix.go }}
3433
check-latest: true
35-
- name: Install Go tip
36-
if: matrix.go == 'tip'
37-
run: |
38-
git clone --depth=1 https://go.googlesource.com/go $HOME/gotip
39-
cd $HOME/gotip/src
40-
./make.bash
41-
echo "::set-env name=GOROOT::$HOME/gotip"
42-
echo "::add-path::$HOME/gotip/bin"
43-
echo "::add-path::$(go env GOPATH)/bin"
4434
- name: Install stringer
4535
run: go install golang.org/x/tools/cmd/stringer@latest
4636
- name: Install tparse
@@ -52,11 +42,6 @@ jobs:
5242
run: make tidy
5343
- name: Test with coverage
5444
run: make cover-${{ matrix.go_tags }}
55-
- name: Upload code coverage to codecov
56-
if: matrix.go == '1.19'
57-
uses: codecov/codecov-action@v4
58-
with:
59-
file: ./coverage.out
6045
- uses: bazelbuild/setup-bazelisk@v3
6146
- run: bazel run //:gazelle-update-repos
6247
- name: Check difference between generation code and commit code

.github/workflows/codeql.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040

4141
steps:
4242
- name: Checkout repository
43-
uses: actions/checkout@v4
43+
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
4444

4545
# Initializes the CodeQL tools for scanning.
4646
- name: Initialize CodeQL

.github/workflows/dependabot.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
runs-on: ubuntu-latest
1010

1111
steps:
12-
- uses: actions/checkout@v4
12+
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
1313
- name: Install tparse
1414
run: go install github.com/mfridman/tparse@v0.12.2
1515
- run: |
@@ -25,7 +25,7 @@ jobs:
2525
git config --local user.email '41898282+github-actions[bot]@users.noreply.github.com'
2626
git add .
2727
git commit -m "Run tidy / bazel+gazelle"
28-
git push
28+
git push origin HEAD:"$GITHUB_HEAD_REF"
2929
gh pr review --approve "$PR_URL"
3030
gh pr merge --auto --merge "$PR_URL"
3131
env:

.github/workflows/lint.yml

+4-7
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,11 @@ jobs:
55
name: lint
66
runs-on: ubuntu-latest
77
steps:
8-
- uses: actions/checkout@v4
9-
- uses: actions/setup-go@v5
8+
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
9+
- uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
1010
with:
11-
go-version: "1.20"
12-
check-latest: true
13-
- uses: golangci/golangci-lint-action@v6
14-
with:
15-
version: v1.59
11+
go-version-file: "go.mod"
12+
- uses: golangci/golangci-lint-action@971e284b6050e8a5849b72094c50ab08da042db8 # v6.1.1
1613
- name: Run go vet
1714
run: |
1815
go vet ./...

.github/workflows/smoke.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,16 @@ jobs:
1414
strategy:
1515
matrix:
1616
go_tags: [ 'stdlib', 'goccy', 'es256k', 'alltags' ]
17-
go: [ '1.22', '1.21', '1.20' ]
17+
go: [ '1.23', '1.22', '1.21' ]
1818
name: "Smoke [ Go ${{ matrix.go }} / Tags ${{ matrix.go_tags }} ]"
1919
steps:
2020
- name: Checkout repository
21-
uses: actions/checkout@v4
21+
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
2222
- name: Check documentation generator
2323
run: |
2424
find . -name '*.md' | xargs env AUTODOC_DRYRUN=1 perl tools/autodoc.pl
2525
- name: Cache Go modules
26-
uses: actions/cache@v4
26+
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.20
2727
with:
2828
path: |
2929
~/go/pkg/mod
@@ -33,7 +33,7 @@ jobs:
3333
restore-keys: |
3434
${{ runner.os }}-go-
3535
- name: Install Go stable version
36-
uses: actions/setup-go@v5
36+
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
3737
with:
3838
go-version: ${{ matrix.go }}
3939
check-latest: true
@@ -50,6 +50,6 @@ jobs:
5050
run: make tidy
5151
- name: Run smoke tests
5252
run: make smoke-${{ matrix.go_tags }}
53-
- uses: bazelbuild/setup-bazelisk@v3
53+
- uses: bazelbuild/setup-bazelisk@b39c379c82683a5f25d34f0d062761f62693e0b2 # v3.0.0
5454
- run: bazel build //...
5555

.github/workflows/stale.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
stale:
88
runs-on: ubuntu-latest
99
steps:
10-
- uses: actions/stale@v9
10+
- uses: actions/stale@28ca1036281a5e5922ead5184a1bbf96e5fc984e # v9.0.0
1111
with:
1212
stale-issue-message: 'This issue is stale because it has been open 14 days with no activity. Remove stale label or comment or this will be closed in 7 days.'
1313
stale-pr-message: 'This PR is stale because it has been open 14 days with no activity. Remove stale label or comment or this will be closed in 14 days.'

.golangci.yml

+3
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,9 @@ issues:
6060
text: "don't use an underscore in package name"
6161
linters:
6262
- revive
63+
- linters:
64+
- staticcheck
65+
text: 'SA1019'
6366
- path: /*.go
6467
linters:
6568
- contextcheck

Changes

+8
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,14 @@ Changes
44
v2 has many incompatibilities with v1. To see the full list of differences between
55
v1 and v2, please read the Changes-v2.md file (https://github.com/lestrrat-go/jwx/blob/develop/v2/Changes-v2.md)
66

7+
v2.1.2 25 Oct 2024
8+
* [jwt] `jwt.ParseRequest` now uses %w to embed errors returned from
9+
`jwt.ParseHeader`, `jwt.ParseCookie`, and `jwt.ParseForm`, allowing
10+
users to correctly call `errors.Is(err, jwt.ErrTokenExpired)` and the
11+
like. Previously the error returned from `jwt.ParseRequest` showed
12+
in human readable format what the problem was, but it was not programmatically
13+
possible to determine the error type using `errors.Is` (#1175)
14+
715
v2.1.1 Jul 28 2024
816
* Update minimum required go version to go 1.20
917
* Update tests to work on 32-bit systems.

cmd/jwx/README.md

+3-5
Original file line numberDiff line numberDiff line change
@@ -165,17 +165,15 @@ Given a PEM encoded ASN.1 DER format key in a file `ec.pem`:
165165

166166
```
167167
-----BEGIN PUBLIC KEY-----
168-
MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDMYfnvWtC8Id5bPKae5yXSxQTt
169-
+Zpul6AnnZWfI2TtIarvjHBFUtXRo96y7hoL4VWOPKGCsRqMFDkrbeUjRrx8iL91
170-
4/srnyf6sh9c8Zk04xEOpK1ypvBz+Ks4uZObtjnnitf0NBGdjMKxveTq+VE7BWUI
171-
yQjtQ8mbDOsiLLvh7wIDAQAB
168+
MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAESVqB4JcUD6lsfvqMr+OKUNUphdNn
169+
64Eay60978ZlL76V/S7SkyPiUYDNmLHm7gKbkIxAiAw2mTDLXrfC0phUog==
172170
-----END PUBLIC KEY-----
173171
```
174172

175173
You can get the JSON representation by:
176174

177175
```shell
178-
% jwx jwk parse --input-format pem ec.pem
176+
% jwx jwk format --input-format pem --output-format json ec.pem
179177
{
180178
"crv": "P-256",
181179
"d": "0g5vAEKzugrXaRbgKG0Tj2qJ5lMP4Bezds1_sTybkfk",

deps.bzl

+8-8
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,8 @@ def go_dependencies():
115115
name = "org_golang_x_crypto",
116116
build_file_proto_mode = "disable_global",
117117
importpath = "golang.org/x/crypto",
118-
sum = "h1:ypSNr+bnYL2YhwoMt2zPxHFmbAN1KZs/njMG3hxUp30=",
119-
version = "v0.25.0",
118+
sum = "h1:GBDwsMXVQi34v5CCYUm2jkJvu4cbtru2U4TN2PSyQnw=",
119+
version = "v0.28.0",
120120
)
121121

122122
go_repository(
@@ -131,21 +131,21 @@ def go_dependencies():
131131
name = "org_golang_x_sys",
132132
build_file_proto_mode = "disable_global",
133133
importpath = "golang.org/x/sys",
134-
sum = "h1:RI27ohtqKCnwULzJLqkv897zojh5/DwS/ENaMzUOaWI=",
135-
version = "v0.22.0",
134+
sum = "h1:KHjCJyddX0LoSTb3J+vWpupP9p0oznkqVk/IfjymZbo=",
135+
version = "v0.26.0",
136136
)
137137
go_repository(
138138
name = "org_golang_x_term",
139139
build_file_proto_mode = "disable_global",
140140
importpath = "golang.org/x/term",
141-
sum = "h1:BbsgPEJULsl2fV/AT3v15Mjva5yXKQDyKf+TbDz7QJk=",
142-
version = "v0.22.0",
141+
sum = "h1:WtHI/ltw4NvSUig5KARz9h521QvRC8RmF/cuYqifU24=",
142+
version = "v0.25.0",
143143
)
144144

145145
go_repository(
146146
name = "org_golang_x_text",
147147
build_file_proto_mode = "disable_global",
148148
importpath = "golang.org/x/text",
149-
sum = "h1:a94ExnEXNtEwYLGJSIUxnWoxoRz/ZcCsV63ROupILh4=",
150-
version = "v0.16.0",
149+
sum = "h1:kTxAhCbGbxhK0IwgSKiMO5awPoDQ0RpfiVYBfK860YM=",
150+
version = "v0.19.0",
151151
)

examples/go.sum

+7-6
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ golang.org/x/crypto v0.13.0/go.mod h1:y6Z2r+Rw4iayiXXAIxJIDAJ1zMW4yaTpebo8fPOliY
4242
golang.org/x/crypto v0.17.0/go.mod h1:gCAAfMLgwOJRpTjQ2zCCt2OcSfYMTeZVSRtQlPC7Nq4=
4343
golang.org/x/crypto v0.19.0/go.mod h1:Iy9bg/ha4yyC70EfRS8jz+B6ybOBKMaSxLj6P6oBDfU=
4444
golang.org/x/crypto v0.23.0/go.mod h1:CKFgDieR+mRhux2Lsu27y0fO304Db0wZe70UKqHu0v8=
45-
golang.org/x/crypto v0.25.0 h1:ypSNr+bnYL2YhwoMt2zPxHFmbAN1KZs/njMG3hxUp30=
46-
golang.org/x/crypto v0.25.0/go.mod h1:T+wALwcMOSE0kXgUAnPAHqTLW+XHgcELELW8VaDgm/M=
45+
golang.org/x/crypto v0.28.0 h1:GBDwsMXVQi34v5CCYUm2jkJvu4cbtru2U4TN2PSyQnw=
46+
golang.org/x/crypto v0.28.0/go.mod h1:rmgy+3RHxRZMyY0jjAJShp2zgEdOqj2AO7U0pYmeQ7U=
4747
golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4=
4848
golang.org/x/mod v0.8.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs=
4949
golang.org/x/mod v0.12.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs=
@@ -63,6 +63,7 @@ golang.org/x/sync v0.1.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
6363
golang.org/x/sync v0.3.0/go.mod h1:FU7BRWz2tNW+3quACPkgCx/L+uEAv1htQ0V83Z9Rj+Y=
6464
golang.org/x/sync v0.6.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk=
6565
golang.org/x/sync v0.7.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk=
66+
golang.org/x/sync v0.8.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk=
6667
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
6768
golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
6869
golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
@@ -75,8 +76,8 @@ golang.org/x/sys v0.12.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
7576
golang.org/x/sys v0.15.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
7677
golang.org/x/sys v0.17.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
7778
golang.org/x/sys v0.20.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
78-
golang.org/x/sys v0.22.0 h1:RI27ohtqKCnwULzJLqkv897zojh5/DwS/ENaMzUOaWI=
79-
golang.org/x/sys v0.22.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
79+
golang.org/x/sys v0.26.0 h1:KHjCJyddX0LoSTb3J+vWpupP9p0oznkqVk/IfjymZbo=
80+
golang.org/x/sys v0.26.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
8081
golang.org/x/telemetry v0.0.0-20240228155512-f48c80bd79b2/go.mod h1:TeRTkGYfJXctD9OcfyVLyj2J3IxLnKwHJR8f4D8a3YE=
8182
golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
8283
golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8=
@@ -86,7 +87,7 @@ golang.org/x/term v0.12.0/go.mod h1:owVbMEjm3cBLCHdkQu9b1opXd4ETQWc3BhuQGKgXgvU=
8687
golang.org/x/term v0.15.0/go.mod h1:BDl952bC7+uMoWR75FIrCDx79TPU9oHkTZ9yRbYOrX0=
8788
golang.org/x/term v0.17.0/go.mod h1:lLRBjIVuehSbZlaOtGMbcMncT+aqLLLmKrsjNrUguwk=
8889
golang.org/x/term v0.20.0/go.mod h1:8UkIAJTvZgivsXaD6/pH6U9ecQzZ45awqEOzuCvwpFY=
89-
golang.org/x/term v0.22.0/go.mod h1:F3qCibpT5AMpCRfhfT53vVJwhLtIVHhB9XDjfFvnMI4=
90+
golang.org/x/term v0.25.0/go.mod h1:RPyXicDX+6vLxogjjRxjgD2TKtmAO6NZBsBRfrOLu7M=
9091
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
9192
golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
9293
golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ=
@@ -95,7 +96,7 @@ golang.org/x/text v0.9.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8=
9596
golang.org/x/text v0.13.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE=
9697
golang.org/x/text v0.14.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU=
9798
golang.org/x/text v0.15.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU=
98-
golang.org/x/text v0.16.0/go.mod h1:GhwF1Be+LQoKShO3cGOHzqOgRrGaYc9AvblQOmPVHnI=
99+
golang.org/x/text v0.19.0/go.mod h1:BuEKDfySbSR4drPmRPG/7iBdf8hvFMuRexcpahXilzY=
99100
golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
100101
golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
101102
golang.org/x/tools v0.1.12/go.mod h1:hNGJHUnrk76NpqgfD5Aqm5Crs+Hm0VOH/i9J2+nxYbc=

go.mod

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@ require (
1111
github.com/lestrrat-go/option v1.0.1
1212
github.com/segmentio/asm v1.2.0
1313
github.com/stretchr/testify v1.9.0
14-
golang.org/x/crypto v0.25.0
14+
golang.org/x/crypto v0.28.0
1515
)
1616

1717
require (
1818
github.com/davecgh/go-spew v1.1.1 // indirect
1919
github.com/lestrrat-go/httpcc v1.0.1 // indirect
2020
github.com/pmezard/go-difflib v1.0.0 // indirect
21-
golang.org/x/sys v0.22.0 // indirect
21+
golang.org/x/sys v0.26.0 // indirect
2222
gopkg.in/yaml.v3 v3.0.1 // indirect
2323
)

go.sum

+4-4
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/
2424
github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
2525
github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsTg=
2626
github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
27-
golang.org/x/crypto v0.25.0 h1:ypSNr+bnYL2YhwoMt2zPxHFmbAN1KZs/njMG3hxUp30=
28-
golang.org/x/crypto v0.25.0/go.mod h1:T+wALwcMOSE0kXgUAnPAHqTLW+XHgcELELW8VaDgm/M=
29-
golang.org/x/sys v0.22.0 h1:RI27ohtqKCnwULzJLqkv897zojh5/DwS/ENaMzUOaWI=
30-
golang.org/x/sys v0.22.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
27+
golang.org/x/crypto v0.28.0 h1:GBDwsMXVQi34v5CCYUm2jkJvu4cbtru2U4TN2PSyQnw=
28+
golang.org/x/crypto v0.28.0/go.mod h1:rmgy+3RHxRZMyY0jjAJShp2zgEdOqj2AO7U0pYmeQ7U=
29+
golang.org/x/sys v0.26.0 h1:KHjCJyddX0LoSTb3J+vWpupP9p0oznkqVk/IfjymZbo=
30+
golang.org/x/sys v0.26.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
3131
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM=
3232
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
3333
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=

0 commit comments

Comments
 (0)