Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
158 commits
Select commit Hold shift + click to select a range
f8e6db5
Verify subject with bundle only when checking claims (#4320)
haydentherapper Aug 4, 2025
806fcd3
chore(deps): bump github.com/sigstore/rekor from 1.3.10 to 1.4.0 (#4325)
dependabot[bot] Aug 5, 2025
674c9c1
chore(deps): bump github.com/secure-systems-lab/go-securesystemslib (…
dependabot[bot] Aug 5, 2025
f385b03
chore(deps): bump the actions group with 3 updates (#4329)
dependabot[bot] Aug 5, 2025
bfd1044
chore(deps): bump github.com/awslabs/amazon-ecr-credential-helper/ecr…
dependabot[bot] Aug 5, 2025
cd8bc0b
Bump deps for cuelang and others (#4332)
haydentherapper Aug 7, 2025
7319eb4
chore(deps): bump google.golang.org/api from 0.243.0 to 0.244.0 (#4326)
dependabot[bot] Aug 7, 2025
f011b93
Add support for SigningConfig for sign-blob/attest-blob, support Reko…
haydentherapper Aug 7, 2025
0ac382a
Have cosign sign support bundle format (#4316)
steiza Aug 7, 2025
fbea0dd
bump golangci-lint to v2.3.x (#4333)
cpanato Aug 8, 2025
1059a80
update builder to use go1.24.6 (#4334)
cpanato Aug 8, 2025
18040e1
chore(deps): bump actions/checkout from 4.2.2 to 5.0.0 (#4338)
dependabot[bot] Aug 12, 2025
4702fb8
chore(deps): bump the actions group with 3 updates (#4345)
dependabot[bot] Aug 12, 2025
275f268
chore(deps): bump github.com/sigstore/sigstore-go (#4340)
dependabot[bot] Aug 12, 2025
c11b6b7
chore(deps): bump the gomod group with 4 updates (#4343)
dependabot[bot] Aug 12, 2025
b77ae44
chore(deps): bump golang.org/x/crypto from 0.40.0 to 0.41.0 (#4339)
dependabot[bot] Aug 12, 2025
3e8eb0d
chore(deps): bump github.com/go-jose/go-jose/v4 from 4.0.5 to 4.1.2 (…
dependabot[bot] Aug 12, 2025
a2a8ca3
Fixes to cosign sign / verify for the new bundle format (#4346)
steiza Aug 13, 2025
36acb30
Don't require timestamps when verifying with a key (#4337)
haydentherapper Aug 14, 2025
3a2e076
Don't load content from TUF if trusted root path is specified (#4347)
steiza Aug 18, 2025
47b5ffe
chore(deps): bump google.golang.org/api from 0.246.0 to 0.247.0 (#4353)
dependabot[bot] Aug 19, 2025
e185b40
chore(deps): bump gitlab.com/gitlab-org/api/client-go (#4352)
dependabot[bot] Aug 19, 2025
ddca0f1
Relax go directive to 1.24.x (#4351)
haydentherapper Aug 19, 2025
b118243
chore(deps): bump chainguard-dev/actions in the actions group (#4349)
dependabot[bot] Aug 19, 2025
5bca529
chore(deps): bump the gomod group with 4 updates (#4350)
dependabot[bot] Aug 19, 2025
76faaff
chore(deps): bump github.com/go-viper/mapstructure/v2 (#4355)
dependabot[bot] Aug 21, 2025
8999f9e
chore(deps): bump github.com/buildkite/agent/v3 from 3.98.2 to 3.103.…
dependabot[bot] Aug 26, 2025
6dd6f52
chore(deps): bump google.golang.org/protobuf in the gomod group (#4364)
dependabot[bot] Aug 26, 2025
ef083d4
chore(deps): bump github.com/spiffe/go-spiffe/v2 from 2.5.0 to 2.6.0 …
dependabot[bot] Aug 26, 2025
663b97c
chore(deps): bump the actions group with 2 updates (#4361)
dependabot[bot] Aug 26, 2025
ec66f46
chore(deps): bump github.com/stretchr/testify from 1.10.0 to 1.11.0 (…
dependabot[bot] Aug 26, 2025
29f9349
chore(deps): bump gitlab.com/gitlab-org/api/client-go (#4360)
dependabot[bot] Aug 26, 2025
5ad3dfe
chore(deps): bump google.golang.org/api from 0.247.0 to 0.248.0 (#4359)
dependabot[bot] Aug 26, 2025
fbb7ca1
update builder image to use go1.25 (#4366)
cpanato Aug 27, 2025
b6ce93d
Update conformance test binary for signing config (#4367)
haydentherapper Aug 27, 2025
fd5fcfb
Break import cycle with e2e build tag (#4370)
haydentherapper Aug 28, 2025
68caffd
refactor: extract function to write referrer attestations (#4357)
arewm Aug 29, 2025
dafb08b
chore(deps): bump k8s.io/client-go from 0.33.4 to 0.34.0 (#4383)
dependabot[bot] Sep 2, 2025
a40b907
chore(deps): bump the gomod group with 6 updates (#4382)
dependabot[bot] Sep 2, 2025
62f0cb1
chore(deps): bump google-github-actions/auth from 2.1.12 to 3.0.0 (#4…
dependabot[bot] Sep 2, 2025
be9d024
chore(deps): bump github.com/spf13/cobra from 1.9.1 to 1.10.1 (#4380)
dependabot[bot] Sep 2, 2025
402cc2a
introduce dockerfile to pin the go version to decouple go version fro…
cpanato Sep 2, 2025
66fd8de
chore(deps): bump github.com/open-policy-agent/opa from 1.7.1 to 1.8.…
dependabot[bot] Sep 2, 2025
b36644f
Remove SHA256 assumption in sign-blob/verify-blob (#4050)
ret2libc Sep 2, 2025
40c308c
chore(deps): bump gitlab.com/gitlab-org/api/client-go in the gomod gr…
dependabot[bot] Sep 3, 2025
59b9930
Support self-managed keys when signing with sigstore-go (#4368)
haydentherapper Sep 3, 2025
eed2a11
chore(deps): bump chainguard-dev/actions in the actions group (#4376)
dependabot[bot] Sep 4, 2025
a2cbeda
Add support for SigningConfig in sign/attest (#4371)
haydentherapper Sep 4, 2025
62a960c
chore(deps): bump golang from 1.25.0 to 1.25.1 in the all group (#4398)
dependabot[bot] Sep 8, 2025
fd1bf74
chore(deps): bump actions/setup-go from 5.5.0 to 6.0.0 (#4397)
dependabot[bot] Sep 8, 2025
0d478dc
chore(deps): bump golang.org/x/sync from 0.16.0 to 0.17.0 (#4395)
dependabot[bot] Sep 8, 2025
67d8d30
chore(deps): bump github.com/buildkite/agent/v3 from 3.103.1 to 3.104…
dependabot[bot] Sep 8, 2025
f527319
chore(deps): bump actions/github-script from 7.0.1 to 8.0.0 (#4392)
dependabot[bot] Sep 8, 2025
8e3dc33
chore(deps): bump the actions group with 4 updates (#4396)
dependabot[bot] Sep 8, 2025
a57176a
chore(deps): bump golang.org/x/term from 0.34.0 to 0.35.0 (#4388)
dependabot[bot] Sep 8, 2025
8c7c09d
chore(deps): bump gitlab.com/gitlab-org/api/client-go (#4394)
dependabot[bot] Sep 8, 2025
1a1ee13
chore(deps): bump golang.org/x/oauth2 from 0.30.0 to 0.31.0 (#4393)
dependabot[bot] Sep 8, 2025
153df46
chore(deps): bump golang.org/x/crypto from 0.41.0 to 0.42.0 (#4391)
dependabot[bot] Sep 9, 2025
11163ae
Bump sigstore-go, support alternative hash algorithms with keys (#4386)
haydentherapper Sep 11, 2025
2581dfd
chore(deps): bump the gomod group across 1 directory with 8 updates (…
dependabot[bot] Sep 11, 2025
b1acaeb
Add a terminal spinner while signing with sigstore-go (#4402)
haydentherapper Sep 12, 2025
37fbfc7
Require exclusively a SigningConfig or service URLs when signing (#4403)
haydentherapper Sep 12, 2025
6431af1
Add CHANGELOG for v2.6.0 (#4404)
haydentherapper Sep 12, 2025
b952363
Default to using the new protobuf format (#4318)
steiza Sep 16, 2025
fb2fb6b
chore(deps): bump github.com/buildkite/agent/v3 from 3.104.0 to 3.105…
dependabot[bot] Sep 16, 2025
5add865
chore(deps): bump gitlab.com/gitlab-org/api/client-go (#4410)
dependabot[bot] Sep 16, 2025
78538ae
chore(deps): bump the actions group with 2 updates (#4407)
dependabot[bot] Sep 16, 2025
0a1de88
chore(deps): bump github.com/spf13/viper from 1.20.1 to 1.21.0 (#4408)
dependabot[bot] Sep 16, 2025
45bda40
Bump sigstore-go for more precise user agents (#4413)
haydentherapper Sep 17, 2025
da0a2f6
bump go builder to use 1.25.1 and cosign (#4417)
cpanato Sep 18, 2025
40f9e35
chore(deps): bump chainguard-dev/actions in the actions group (#4421)
dependabot[bot] Sep 23, 2025
aa33f40
chore(deps): bump github.com/buildkite/agent/v3 from 3.105.0 to 3.107…
dependabot[bot] Sep 23, 2025
0d33bbc
chore(deps): bump github.com/theupdateframework/go-tuf/v2 (#4418)
dependabot[bot] Sep 23, 2025
f750687
chore(deps): bump gitlab.com/gitlab-org/api/client-go (#4419)
dependabot[bot] Sep 23, 2025
8d756cf
Partially populate the output of cosign verify when working with new …
steiza Sep 25, 2025
dfc71f9
Bump sigstore-go to v1.1.3 (#4423)
haydentherapper Sep 26, 2025
870b27d
Move sigstore-conformance back to tagged release (#4425)
haydentherapper Sep 26, 2025
8e3a787
Bump module version to v3 for Cosign v3.0 (#4427)
haydentherapper Sep 26, 2025
638cee6
chore(deps): bump github.com/go-openapi/runtime from 0.28.0 to 0.29.0…
dependabot[bot] Sep 30, 2025
0b25535
chore(deps): bump gitlab.com/gitlab-org/api/client-go (#4436)
dependabot[bot] Sep 30, 2025
148caf6
chore(deps): bump github.com/go-openapi/swag from 0.24.1 to 0.25.1 (#…
dependabot[bot] Sep 30, 2025
7fb2415
chore(deps): bump the actions group with 3 updates (#4434)
dependabot[bot] Sep 30, 2025
2c0f578
chore(deps): bump github.com/open-policy-agent/opa from 1.8.0 to 1.9.…
dependabot[bot] Sep 30, 2025
a5c4e8e
chore(deps): bump the gomod group with 2 updates (#4429)
dependabot[bot] Sep 30, 2025
2ec2734
chore(deps): bump google.golang.org/api from 0.249.0 to 0.250.0 (#4432)
dependabot[bot] Sep 30, 2025
544d76a
Create changelog for v2.6.1 (#4439)
haydentherapper Oct 2, 2025
479a0c1
Fetch service URLs from the TUF PGI signing config by default (#4428)
haydentherapper Oct 7, 2025
9b4b74c
Create changelog for v3.0.0 (#4440)
haydentherapper Oct 7, 2025
af19423
update goreleaser config for v3.0.0 release (#4446)
bobcallaway Oct 7, 2025
18f981e
update CL for v3.0.1 release (#4447)
bobcallaway Oct 7, 2025
9fee551
Update rekor-tiles version path
cmurphy Oct 9, 2025
9b10de4
chore(deps): bump github.com/go-jose/go-jose/v4 (#4451)
dependabot[bot] Oct 10, 2025
8444969
choose different signature filename for KMS-signed release signatures…
bobcallaway Oct 10, 2025
2c7631b
chore(deps): bump github.com/buildkite/agent/v3 from 3.107.2 to 3.108.0
dependabot[bot] Oct 6, 2025
711b28b
chore(deps): bump the actions group with 3 updates
dependabot[bot] Oct 6, 2025
a47a4a3
chore(deps): bump gitlab.com/gitlab-org/api/client-go
dependabot[bot] Oct 9, 2025
a96437a
chore(deps): bump google.golang.org/api from 0.250.0 to 0.251.0
dependabot[bot] Oct 9, 2025
dccda70
Update changelog for v3.0.2 (#4455)
haydentherapper Oct 10, 2025
925c965
Cache signing config when calling initialize (#4456)
haydentherapper Oct 13, 2025
b529ddf
Deduplicate code in sign/attest* and verify* commands (#4449)
cmurphy Oct 13, 2025
aab0126
Deprecate offline flag (#4457)
haydentherapper Oct 13, 2025
6d95e9b
chore(deps): bump the actions group with 2 updates (#4460)
dependabot[bot] Oct 15, 2025
ae3eecb
Remove --out flag from `cosign initialize` (#4462)
apyrgio Oct 16, 2025
03ab186
update go to 1.25.3 (#4471)
cpanato Oct 17, 2025
5ae3d57
Use overridden repository for new bundle format (#4473)
cmurphy Oct 18, 2025
33b3939
Fix segfault when no attestations are found (#4472)
steiza Oct 21, 2025
6826722
upgrade OSS-Fuzz build tooling (#4487)
AdamKorcz Oct 21, 2025
a0bf3d9
chore(deps): bump cuelang.org/go in the gomod group (#4479)
dependabot[bot] Oct 22, 2025
f72baa9
chore(deps): bump golang.org/x/crypto from 0.42.0 to 0.43.0 (#4486)
dependabot[bot] Oct 22, 2025
0c28652
chore(deps): bump github.com/sigstore/rekor-tiles/v2 (#4485)
dependabot[bot] Oct 22, 2025
32070b7
chore(deps): bump chainguard-dev/actions in the actions group (#4480)
dependabot[bot] Oct 22, 2025
3c9b15c
chore(deps): bump gitlab.com/gitlab-org/api/client-go (#4484)
dependabot[bot] Oct 22, 2025
f9a9a0b
Support multiple container identities
emilyzheng Sep 2, 2025
1861d59
Remove stale embed import (#4492)
joonas Oct 24, 2025
3c5b34b
Add protobuf bundle support for tree subcommand (#4491)
steiza Oct 24, 2025
9ab3a73
chore(deps): bump github.com/buildkite/agent/v3 from 3.108.0 to 3.109…
dependabot[bot] Oct 24, 2025
d470294
Pass insecure registry flags through to referrers
cmurphy Oct 22, 2025
4a2caf9
Add --bundle and fix --upload for new bundle
cmurphy Oct 25, 2025
0b4362b
Refactor signcommon bundle helpers
cmurphy Oct 27, 2025
8e7e057
Add --signing-algorithm flag (#3497)
ret2libc Nov 3, 2025
0f1bf83
Add support to download and attach for protobuf bundles (#4477)
steiza Nov 4, 2025
ee3d9fe
Fix signing/verifying annotations for new bundle
cmurphy Oct 31, 2025
e3fa92d
update offline verification directions (#4526)
some-natalie Nov 12, 2025
6eecec7
fix: Use signal context for `sign` cli package.
frezbo Nov 9, 2025
b51a7c2
Deprecate tlog-upload flag (#4458)
haydentherapper Nov 14, 2025
e073b48
chore(deps): bump github.com/theupdateframework/go-tuf/v2 (#4522)
dependabot[bot] Nov 14, 2025
7d5ea87
chore(deps): bump github.com/buildkite/agent/v3 from 3.110.0 to 3.111…
dependabot[bot] Nov 14, 2025
5cc633f
chore(deps): bump the actions group across 1 directory with 2 updates…
dependabot[bot] Nov 14, 2025
b80e7e1
chore(deps): bump actions/upload-artifact from 4.6.2 to 5.0.0 (#4502)
dependabot[bot] Nov 14, 2025
07540c7
chore(deps): bump github.com/open-policy-agent/opa from 1.9.0 to 1.10…
dependabot[bot] Nov 14, 2025
2365597
chore(deps): bump cuelang.org/go from 0.14.2 to 0.15.0 (#4524)
dependabot[bot] Nov 14, 2025
a27d400
chore(deps): bump golang.org/x/oauth2 from 0.32.0 to 0.33.0 (#4518)
dependabot[bot] Nov 14, 2025
e46683a
chore(deps): bump golang from 1.25.3 to 1.25.4 in the all group (#4515)
dependabot[bot] Nov 14, 2025
6b85a72
chore(deps): bump gitlab.com/gitlab-org/api/client-go (#4520)
dependabot[bot] Nov 14, 2025
5bf81a1
chore(deps): bump sigstore/cosign-installer from 3.10.0 to 4.0.0 (#4478)
dependabot[bot] Nov 14, 2025
f28a596
chore(deps): bump the gomod group across 1 directory with 7 updates (…
dependabot[bot] Nov 15, 2025
2d110ab
update go builder and cosign (#4529)
cpanato Nov 17, 2025
a53f578
chore(deps): bump golang.org/x/crypto from 0.43.0 to 0.45.0 (#4536)
dependabot[bot] Nov 20, 2025
8eba87c
chore(deps): bump golang.org/x/crypto in /test/fakeoidc (#4535)
dependabot[bot] Nov 20, 2025
18fb957
chore(deps): bump github.com/sigstore/fulcio from 1.7.1 to 1.8.1 (#4519)
dependabot[bot] Nov 20, 2025
0cf496e
Fix OCI verification with local cert - old bundle
cmurphy Nov 7, 2025
7981e23
Fix cert attachment for new bundle with signing config
cmurphy Nov 20, 2025
4e3042c
Protobuf bundle support for subcommands `save` and `load` (#4538)
steiza Nov 25, 2025
38bf9e6
Bump sigstore library dependencies (#4532)
haydentherapper Dec 2, 2025
1e49088
Updating sign-blob to also support signing with a certificate (#4547)
steiza Dec 3, 2025
51d542c
update slack invite link (#4560)
frewilhelm Dec 4, 2025
b2102aa
Add staging flag to initialize with staging TUF metadata
aaronlew02 Dec 4, 2025
dc8ad5e
Protobuf bundle support for subcommand `clean` (#4539)
steiza Dec 5, 2025
b5978d8
update builder to use go1.25.5 (#4566)
cpanato Dec 8, 2025
8fa909e
chore(deps): bump golang from 1.25.4 to 1.25.5 in the all group (#4568)
dependabot[bot] Dec 8, 2025
5a60384
chore(deps): bump the gomod group across 1 directory with 5 updates (…
dependabot[bot] Dec 8, 2025
96cae2f
chore(deps): bump the actions group with 4 updates (#4544)
dependabot[bot] Dec 8, 2025
ddf38b6
chore(deps): bump actions/checkout from 5.0.0 to 6.0.0 (#4546)
dependabot[bot] Dec 8, 2025
78a32d8
chore(deps): bump github.com/awslabs/amazon-ecr-credential-helper/ecr…
dependabot[bot] Dec 8, 2025
7df8208
chore(deps): bump github.com/buildkite/agent/v3 from 3.111.0 to 3.113…
dependabot[bot] Dec 8, 2025
a91f3da
chore(deps): bump golangci/golangci-lint-action from 8.0.0 to 9.1.0 (…
dependabot[bot] Dec 8, 2025
901b44d
4554: Closes 4554 - Add warning when --output* is used (#4556)
sherine-k Dec 8, 2025
3f32cea
Add changelog for v3.0.3 (#4572)
haydentherapper Dec 10, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,13 @@ updates:
update-types:
- "minor"
- "patch"

- package-ecosystem: "docker"
directory: "/"
schedule:
interval: "weekly"
groups:
all:
update-types:
- "minor"
- "patch"
16 changes: 10 additions & 6 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,22 +44,26 @@ jobs:
packages: write

steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
with:
persist-credentials: false

- uses: sigstore/cosign-installer@d58896d6a1865668819e1d91763c7751a165e159 # v3.9.2
- uses: sigstore/cosign-installer@faadad0cce49287aee09b3a48701e75088a2c6ad # v4.0.0

- uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
- name: Extract version of Go to use
run: echo "GOVERSION=$(awk -F'[:@]' '/FROM golang/{print $2; exit}' Dockerfile)" >> $GITHUB_ENV

- uses: actions/setup-go@4dc6199c7b1a012772edbd06daecab0f50c9053c # v6.1.0
with:
go-version-file: 'go.mod'
go-version: '${{ env.GOVERSION }}'
check-latest: true
cache: false

# will use the latest release available for ko
- uses: ko-build/setup-ko@d006021bd0c28d1ce33a07e7943d48b079944c8d # v0.9

- name: Set up Cloud SDK
uses: google-github-actions/auth@140bb5113ffb6b65a7e9b937a81fa96cf5064462 # v2.1.11
uses: google-github-actions/auth@7c6bc770dae815cd3e89ee6cdf493a5fab2cc093 # v3.0.0
with:
workload_identity_provider: 'projects/498091336538/locations/global/workloadIdentityPools/githubactions/providers/sigstore-cosign'
service_account: 'github-actions@projectsigstore.iam.gserviceaccount.com'
Expand All @@ -68,7 +72,7 @@ jobs:
run: gcloud auth configure-docker --quiet

- name: Login to GitHub Container Registry
uses: docker/login-action@74a5d142397b4f367a81961eba4e8cd7edddf772 # v3.4.0
uses: docker/login-action@5e57cd118135c172c3672efd75eb46360885c0ef # v3.6.0
with:
registry: ghcr.io
username: ${{ github.actor }}
Expand Down
13 changes: 8 additions & 5 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,12 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
with:
persist-credentials: false

- name: Utilize Go Module Cache
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
with:
path: |
~/go/pkg/mod
Expand All @@ -65,11 +65,14 @@ jobs:
restore-keys: |
${{ runner.os }}-go-

- name: Set correct version of Golang to use during CodeQL run
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
- name: Extract version of Go to use
run: echo "GOVERSION=$(awk -F'[:@]' '/FROM golang/{print $2; exit}' Dockerfile)" >> $GITHUB_ENV

- uses: actions/setup-go@4dc6199c7b1a012772edbd06daecab0f50c9053c # v6.1.0
with:
go-version-file: 'go.mod'
go-version: '${{ env.GOVERSION }}'
check-latest: true
cache: false

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
Expand Down
13 changes: 9 additions & 4 deletions .github/workflows/conformance-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,18 @@ jobs:
conformance:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
with:
persist-credentials: false
- uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0

- name: Extract version of Go to use
run: echo "GOVERSION=$(awk -F'[:@]' '/FROM golang/{print $2; exit}' Dockerfile)" >> $GITHUB_ENV

- uses: actions/setup-go@4dc6199c7b1a012772edbd06daecab0f50c9053c # v6.1.0
with:
go-version-file: 'go.mod'
go-version: '${{ env.GOVERSION }}'
check-latest: true
cache: false

- run: make cosign conformance

Expand All @@ -43,7 +48,7 @@ jobs:

- name: Create Issue on Failure
if: failure()
uses: actions/github-script@v7
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
Expand Down
13 changes: 9 additions & 4 deletions .github/workflows/conformance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,16 +29,21 @@ jobs:
conformance:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
with:
persist-credentials: false
- uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0

- name: Extract version of Go to use
run: echo "GOVERSION=$(awk -F'[:@]' '/FROM golang/{print $2; exit}' Dockerfile)" >> $GITHUB_ENV

- uses: actions/setup-go@4dc6199c7b1a012772edbd06daecab0f50c9053c # v6.1.0
with:
go-version-file: 'go.mod'
go-version: '${{ env.GOVERSION }}'
check-latest: true
cache: false

- run: make cosign conformance

- uses: sigstore/sigstore-conformance@fd90e6b0f3046f2276a6659481de6df495dea3b9 # v0.0.18
- uses: sigstore/sigstore-conformance@b7856cfca56fe3f957d4cefdc2c359cc36a84e14 # v0.0.24
with:
entrypoint: ${{ github.workspace }}/conformance
4 changes: 2 additions & 2 deletions .github/workflows/donotsubmit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ jobs:

steps:
- name: Check out code
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 #v2.4.0
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 #v2.4.0
with:
persist-credentials: false

- name: Do Not Submit
uses: chainguard-dev/actions/donotsubmit@708219d4822f33611ac1a2653815cc10e1ab54a6 # v1.4.7
uses: chainguard-dev/actions/donotsubmit@3e8a2a226fad9e1ecbf2d359b8a7697554a4ac6d # v1.5.10
67 changes: 52 additions & 15 deletions .github/workflows/e2e-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,18 @@ jobs:
runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
with:
persist-credentials: false
- uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0

- name: Extract version of Go to use
run: echo "GOVERSION=$(awk -F'[:@]' '/FROM golang/{print $2; exit}' Dockerfile)" >> $GITHUB_ENV

- uses: actions/setup-go@4dc6199c7b1a012772edbd06daecab0f50c9053c # v6.1.0
with:
go-version-file: 'go.mod'
go-version: '${{ env.GOVERSION }}'
check-latest: true
cache: false

- name: Run cross platform e2e tests
run: go test -tags=e2e,cross -v ./test/...
Expand All @@ -54,13 +59,18 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
with:
persist-credentials: false
- uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0

- name: Extract version of Go to use
run: echo "GOVERSION=$(awk -F'[:@]' '/FROM golang/{print $2; exit}' Dockerfile)" >> $GITHUB_ENV

- uses: actions/setup-go@4dc6199c7b1a012772edbd06daecab0f50c9053c # v6.1.0
with:
go-version-file: 'go.mod'
go-version: '${{ env.GOVERSION }}'
check-latest: true
cache: false

- name: Run pkcs11 end-to-end tests
shell: bash
Expand Down Expand Up @@ -89,17 +99,21 @@ jobs:
SCAFFOLDING_RELEASE_VERSION: "v0.7.24"
steps:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
with:
persist-credentials: false

- name: setup vault
uses: cpanato/vault-installer@e7c1d664fa15219e89e43739e39a9df11ba00849 # v1.2.0
uses: cpanato/vault-installer@f7e2ad9737b49f351f233eba2df1bdfede939a21 # v1.3.0

- uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
- name: Extract version of Go to use
run: echo "GOVERSION=$(awk -F'[:@]' '/FROM golang/{print $2; exit}' Dockerfile)" >> $GITHUB_ENV

- uses: actions/setup-go@4dc6199c7b1a012772edbd06daecab0f50c9053c # v6.1.0
with:
go-version-file: 'go.mod'
go-version: '${{ env.GOVERSION }}'
check-latest: true
cache: false

- uses: imjasonh/setup-crane@31b88efe9de28ae0ffa220711af4b60be9435f6e # v0.4

Expand All @@ -121,16 +135,21 @@ jobs:
SCAFFOLDING_RELEASE_VERSION: "v0.7.24"

steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
with:
persist-credentials: false
- uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0

- name: Extract version of Go to use
run: echo "GOVERSION=$(awk -F'[:@]' '/FROM golang/{print $2; exit}' Dockerfile)" >> $GITHUB_ENV

- uses: actions/setup-go@4dc6199c7b1a012772edbd06daecab0f50c9053c # v6.1.0
with:
go-version-file: 'go.mod'
go-version: '${{ env.GOVERSION }}'
check-latest: true
cache: false

- name: Setup mirror
uses: chainguard-dev/actions/setup-mirror@main
uses: chainguard-dev/actions/setup-mirror@3e8a2a226fad9e1ecbf2d359b8a7697554a4ac6d # v1.5.10
with:
mirror: mirror.gcr.io

Expand Down Expand Up @@ -167,6 +186,7 @@ jobs:
run: go test -tags=e2e,registry -v ./test/...
env:
COSIGN_TEST_REPO: insecure-registry.notlocal:5001
TUF_ROOT_JSON: ${{ github.workspace }}/root.json

- name: Setup local insecure OCI 1.1 registry
run: |
Expand Down Expand Up @@ -217,7 +237,24 @@ jobs:
env:
OCI11: yes
COSIGN_TEST_REPO: insecure-oci-registry.notlocal:5002
TUF_ROOT_JSON: ${{ github.workspace }}/root.json

- name: Set up local HTTP registry
run: |
docker run -d --restart=always \
--name $HTTP_REGISTRY_NAME \
-p $HTTP_REGISTRY_PORT:5000 registry:2.8.1
sudo echo "127.0.0.1 $HTTP_REGISTRY_NAME" | sudo tee -a /etc/hosts
env:
HTTP_REGISTRY_NAME: http-registry.notlocal
HTTP_REGISTRY_PORT: 5003

- name: Run HTTP registry tests
run: go test -tags=e2e,registry -v ./test/...
env:
COSIGN_TEST_REPO: http-registry.notlocal:5003
TUF_ROOT_JSON: ${{ github.workspace }}/root.json

- name: Collect diagnostics
if: ${{ failure() }}
uses: chainguard-dev/actions/kind-diag@708219d4822f33611ac1a2653815cc10e1ab54a6 # v1.4.7
uses: chainguard-dev/actions/kind-diag@3e8a2a226fad9e1ecbf2d359b8a7697554a4ac6d # v1.5.10
33 changes: 12 additions & 21 deletions .github/workflows/e2e-with-binary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,35 +48,26 @@ jobs:
COSIGN_YES: "true"

steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
with:
persist-credentials: false
- uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0

- name: Extract version of Go to use
shell: bash # To use awk on Windows
run: echo "GOVERSION=$(awk -F'[:@]' '/FROM golang/{print $2; exit}' Dockerfile)" >> $GITHUB_ENV

- uses: actions/setup-go@4dc6199c7b1a012772edbd06daecab0f50c9053c # v6.1.0
with:
go-version-file: 'go.mod'
go-version: '${{ env.GOVERSION }}'
check-latest: true
cache: false

- name: build cosign and check sign-blob and verify-blob
shell: bash
run: |
set -e
make cosign
./cosign sign-blob --output-certificate certificate.pem --output-signature README.md.sig README.md

if [ -s certificate.pem ]
then
echo "all good for key.pem"
else
echo "file does not exist, or is empty"
exit 1
fi

if [ -s README.md.sig ]
then
exit 0
else
echo "file does not exist, or is empty"
exit 1
fi
./cosign sign-blob --bundle sigstore.json --yes README.md

# Verify with sign-blob
./cosign verify-blob README.md --certificate certificate.pem --signature README.md.sig
./cosign verify-blob --bundle sigstore.json --certificate-identity-regexp ".*" --certificate-oidc-issuer-regexp ".*" README.md
12 changes: 8 additions & 4 deletions .github/workflows/github-oidc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,14 +48,18 @@ jobs:
KO_PREFIX: ghcr.io/${{ github.repository }}

steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
with:
persist-credentials: false
- uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0

- name: Extract version of Go to use
run: echo "GOVERSION=$(awk -F'[:@]' '/FROM golang/{print $2; exit}' Dockerfile)" >> $GITHUB_ENV

- uses: actions/setup-go@4dc6199c7b1a012772edbd06daecab0f50c9053c # v6.1.0
with:
go-version-file: 'go.mod'
go-version: '${{ env.GOVERSION }}'
check-latest: true
cache: true
cache: false

# Install tools.
- uses: ko-build/setup-ko@d006021bd0c28d1ce33a07e7943d48b079944c8d # v0.9
Expand Down
Loading