Skip to content

Commit 42bc673

Browse files
Merge remote-tracking branch 'original/main'
Signed-off-by: Matteo Kamm <[email protected]>
2 parents db491f3 + 3d158ce commit 42bc673

File tree

301 files changed

+18263
-6629
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

301 files changed

+18263
-6629
lines changed

Diff for: .github/workflows/dco.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
- name: Checkout
1313
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
1414
- name: Set up Python 3.x
15-
uses: actions/setup-python@39cd14951b08e74b54015e9e001cdefcf80e669f # v5.1.1
15+
uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0
1616
with:
1717
python-version: '3.x'
1818
- name: Check DCO

Diff for: .github/workflows/nightly_build.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- name: Checkout
2222
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
2323
- name: Install cosign
24-
uses: sigstore/cosign-installer@59acb6260d9c0ba8f4a2f9d9b48431a222b68e20 # v3.5.0
24+
uses: sigstore/cosign-installer@4959ce089c160fddf62f7b42464195ba1a56d382 # v3.6.0
2525
with:
2626
cosign-release: v2.2.3
2727
- name: Install regctl

Diff for: .github/workflows/pr_build.yaml

+8-8
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ jobs:
146146
- name: Build artifacts
147147
run: ./.github/workflows/scripts/build_artifacts.sh ${{ runner.os }}
148148
- name: Archive artifacts
149-
uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # v4
149+
uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874 # v4
150150
with:
151151
name: binaries-linux
152152
path: ./artifacts/
@@ -186,7 +186,7 @@ jobs:
186186
- name: Export images
187187
run: tar -czvf images.tar.gz *-image.tar
188188
- name: Archive images
189-
uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # v4
189+
uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874 # v4
190190
with:
191191
name: images
192192
path: images.tar.gz
@@ -215,7 +215,7 @@ jobs:
215215
docker save spire-server-windows:latest-local spire-agent-windows:latest-local oidc-discovery-provider-windows:latest-local -o images-windows.tar
216216
gzip images-windows.tar
217217
- name: Archive images
218-
uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # v4
218+
uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874 # v4
219219
with:
220220
name: images-windows
221221
path: images-windows.tar.gz
@@ -396,7 +396,7 @@ jobs:
396396
path: .build
397397
key: ${{ runner.os }}-tools-${{ hashFiles('.go-version','Makefile') }}
398398
- name: Install msys2
399-
uses: msys2/setup-msys2@5df0ca6cbf14efcd08f8d5bd5e049a3cc8e07fd2 # v2.24.0
399+
uses: msys2/setup-msys2@ddf331adaebd714795f1042345e6ca57bd66cea8 # v2.24.1
400400
with:
401401
msystem: MINGW64
402402
update: true
@@ -479,7 +479,7 @@ jobs:
479479
path: .build
480480
key: ${{ runner.os }}-tools-${{ hashFiles('.go-version','Makefile') }}
481481
- name: Install msys2
482-
uses: msys2/setup-msys2@5df0ca6cbf14efcd08f8d5bd5e049a3cc8e07fd2 # v2.24.0
482+
uses: msys2/setup-msys2@ddf331adaebd714795f1042345e6ca57bd66cea8 # v2.24.1
483483
with:
484484
msystem: MINGW64
485485
update: true
@@ -523,7 +523,7 @@ jobs:
523523
path: ~/go/pkg/mod
524524
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
525525
- name: Install msys2
526-
uses: msys2/setup-msys2@5df0ca6cbf14efcd08f8d5bd5e049a3cc8e07fd2 # v2.24.0
526+
uses: msys2/setup-msys2@ddf331adaebd714795f1042345e6ca57bd66cea8 # v2.24.1
527527
with:
528528
msystem: MINGW64
529529
update: true
@@ -568,7 +568,7 @@ jobs:
568568
path: .build
569569
key: ${{ runner.os }}-tools-${{ hashFiles('.go-version','Makefile') }}
570570
- name: Install msys2
571-
uses: msys2/setup-msys2@5df0ca6cbf14efcd08f8d5bd5e049a3cc8e07fd2 # v2.24.0
571+
uses: msys2/setup-msys2@ddf331adaebd714795f1042345e6ca57bd66cea8 # v2.24.1
572572
with:
573573
msystem: MINGW64
574574
update: true
@@ -584,7 +584,7 @@ jobs:
584584
- name: Build artifacts
585585
run: ./.github/workflows/scripts/build_artifacts.sh ${{ runner.os }}
586586
- name: Archive artifacts
587-
uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # v4
587+
uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874 # v4
588588
with:
589589
name: binaries-windows
590590
path: ./artifacts/

Diff for: .github/workflows/release_build.yaml

+9-9
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ jobs:
137137
- name: Build artifacts
138138
run: ./.github/workflows/scripts/build_artifacts.sh ${{ runner.os }}
139139
- name: Archive artifacts
140-
uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # v4
140+
uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874 # v4
141141
with:
142142
name: binaries-linux
143143
path: ./artifacts/
@@ -172,7 +172,7 @@ jobs:
172172
- name: Export images
173173
run: tar -czvf images.tar.gz *-image.tar
174174
- name: Archive images
175-
uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # v4
175+
uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874 # v4
176176
with:
177177
name: images
178178
path: images.tar.gz
@@ -200,7 +200,7 @@ jobs:
200200
docker save spire-server-windows:latest-local spire-agent-windows:latest-local oidc-discovery-provider-windows:latest-local -o images-windows.tar
201201
gzip images-windows.tar
202202
- name: Archive images
203-
uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # v4
203+
uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874 # v4
204204
with:
205205
name: images-windows
206206
path: images-windows.tar.gz
@@ -380,7 +380,7 @@ jobs:
380380
path: .build
381381
key: ${{ runner.os }}-tools-${{ hashFiles('.go-version','Makefile') }}
382382
- name: Install msys2
383-
uses: msys2/setup-msys2@5df0ca6cbf14efcd08f8d5bd5e049a3cc8e07fd2 # v2.24.0
383+
uses: msys2/setup-msys2@ddf331adaebd714795f1042345e6ca57bd66cea8 # v2.24.1
384384
with:
385385
msystem: MINGW64
386386
update: true
@@ -449,7 +449,7 @@ jobs:
449449
path: .build
450450
key: ${{ runner.os }}-tools-${{ hashFiles('.go-version','Makefile') }}
451451
- name: Install msys2
452-
uses: msys2/setup-msys2@5df0ca6cbf14efcd08f8d5bd5e049a3cc8e07fd2 # v2.24.0
452+
uses: msys2/setup-msys2@ddf331adaebd714795f1042345e6ca57bd66cea8 # v2.24.1
453453
with:
454454
msystem: MINGW64
455455
update: true
@@ -486,7 +486,7 @@ jobs:
486486
path: ~/go/pkg/mod
487487
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
488488
- name: Install msys2
489-
uses: msys2/setup-msys2@5df0ca6cbf14efcd08f8d5bd5e049a3cc8e07fd2 # v2.24.0
489+
uses: msys2/setup-msys2@ddf331adaebd714795f1042345e6ca57bd66cea8 # v2.24.1
490490
with:
491491
msystem: MINGW64
492492
update: true
@@ -524,7 +524,7 @@ jobs:
524524
path: .build
525525
key: ${{ runner.os }}-tools-${{ hashFiles('.go-version','Makefile') }}
526526
- name: Install msys2
527-
uses: msys2/setup-msys2@5df0ca6cbf14efcd08f8d5bd5e049a3cc8e07fd2 # v2.24.0
527+
uses: msys2/setup-msys2@ddf331adaebd714795f1042345e6ca57bd66cea8 # v2.24.1
528528
with:
529529
msystem: MINGW64
530530
update: true
@@ -540,7 +540,7 @@ jobs:
540540
path: ./bin/
541541
key: ${{ runner.os }}-executables-${{ hashFiles('**/*.exe') }}
542542
- name: Archive artifacts
543-
uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # v4
543+
uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874 # v4
544544
with:
545545
name: binaries-windows
546546
path: ./artifacts/
@@ -589,7 +589,7 @@ jobs:
589589
- name: Checkout
590590
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
591591
- name: Install cosign
592-
uses: sigstore/cosign-installer@59acb6260d9c0ba8f4a2f9d9b48431a222b68e20 # v3.5.0
592+
uses: sigstore/cosign-installer@4959ce089c160fddf62f7b42464195ba1a56d382 # v3.6.0
593593
with:
594594
cosign-release: v2.2.3
595595
- name: Install regctl

Diff for: .go-version

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.22.3
1+
1.23.0

Diff for: .golangci.yml

+6-3
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ run:
22
# timeout for analysis, e.g. 30s, 5m, default is 1m
33
timeout: 12m
44

5-
skip-dirs:
5+
issues:
6+
exclude-dirs:
67
- testdata$
78
- test/mock
8-
9-
skip-files:
9+
exclude-files:
1010
- ".*\\.pb\\.go"
1111

1212
linters:
@@ -29,3 +29,6 @@ linters-settings:
2929
revive:
3030
# minimal confidence for issues, default is 0.8
3131
confidence: 0.0
32+
rules:
33+
- name: unused-parameter
34+
disabled: true

Diff for: .spire-tool-versions

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
golangci_lint v1.55.0
1+
golangci_lint v1.60.1
22
markdown_lint v0.37.0
33
protoc 24.4

Diff for: CHANGELOG.md

+32
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,37 @@
11
# Changelog
22

3+
## [1.10.4] - 2024-09-12
4+
5+
### Fixed
6+
7+
- Add missing commits to spire-plugin-sdk and spire-api-sdk releases (spiffe/spire-api-sdk#66, spiffe/spire-plugin-sdk#39)
8+
9+
## [1.10.3] - 2024-09-03
10+
11+
### Fixed
12+
13+
- Regression in agent health check, requiring the agent to have an SVID on disk to be healthy (#5459)
14+
15+
## [1.10.2] - 2024-09-03
16+
17+
### Added
18+
19+
- `http_challenge` NodeAttestor plugin (#4909)
20+
- Experimental support for validating container image signatures through Sigstore selectors in the docker Workload Attestor (#5272)
21+
- Metrics for monitoring the event-based cache (#5411)
22+
23+
### Changed
24+
25+
- Delegated Identity API to allow subscription by process ID (#5272)
26+
- Agent Debug endpoint to count SVIDs by type (#5352)
27+
- Agent health check to report an unhealthy status until the Agent SVID is attested (#5298)
28+
- Small documentation improvements (#5393)
29+
30+
### Fixed
31+
32+
- `aws_iid` NodeAttestor to properly handle multiple network interfaces (#5300)
33+
- Server configuration to correctly propagate the `sql_transaction_timeout` setting in the experimental events-based cache (#5345)
34+
335
## [1.10.1] - 2024-08-01
436

537
### Added

Diff for: Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Build stage
44
ARG goversion
55
# Use alpine3.18 until go-sqlite works in 3.19
6-
FROM --platform=${BUILDPLATFORM} golang:${goversion}-alpine3.18 as base
6+
FROM --platform=${BUILDPLATFORM} golang:${goversion}-alpine3.20 as base
77
WORKDIR /spire
88
RUN apk --no-cache --update add file bash clang lld pkgconfig git make
99
COPY go.* ./
@@ -15,7 +15,7 @@ COPY . .
1515
# when bumping to a new version analyze the new version for security issues
1616
# then use crane to lookup the digest of that version so we are immutable
1717
# crane digest tonistiigi/xx:1.3.0
18-
FROM --platform=$BUILDPLATFORM tonistiigi/xx@sha256:904fe94f236d36d65aeb5a2462f88f2c537b8360475f6342e7599194f291fb7e AS xx
18+
FROM --platform=$BUILDPLATFORM tonistiigi/xx:1.5.0@sha256:0c6a569797744e45955f39d4f7538ac344bfb7ebf0a54006a0a4297b153ccf0f AS xx
1919

2020
FROM --platform=${BUILDPLATFORM} base as builder
2121
ARG TAG

Diff for: RELEASING.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Release and Branch Management
22

3-
The SPIRE project maintains active support for both the current and the previous major versions. All active development occurs in the `main` branch. Version branches are used for minor releases of the previous major version when necessary.
3+
The SPIRE project maintains active support for both the current and the previous minor versions. All active development occurs in the `main` branch. Version branches are used for patch releases of the previous minor version when necessary.
44

55
## Version Branches
66

0 commit comments

Comments
 (0)