Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
8 changes: 7 additions & 1 deletion .github/workflows/verify-recipes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,13 @@ jobs:
- name: Install cosign
uses: sigstore/cosign-installer@6f9f17788090df1f26f669e9d70d6ae9567deba6 # v4.1.2
with:
cosign-release: 'v2.4.1'
# cosign >= 2.6 is required to DISCOVER the SLSA provenance
# attestation that actions/attest-build-provenance stores via the
# OCI 1.1 referrers API (Recipe 3). cosign 2.4.x verifies the image
# signature fine but returns "no matching attestations" for the
# referrer-stored attestation. gh attestation verify (any version)
# also finds it; this recipe uses cosign, so pin a version that can.
cosign-release: 'v2.6.3'

# Same pinned scanner the osv gate / rescan use (version + SHA256).
- name: Install osv-scanner (v2.4.0, checksum-verified)
Expand Down
7 changes: 7 additions & 0 deletions docs/verification.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,13 @@ osv-scanner scan source -L evidentia-sbom.cdx.json
The container's `cosign verify` output above includes the SLSA Provenance v1
attestation inline. To extract it:

> **Requires cosign ≥ 2.6.** The provenance attestation is stored via the
> OCI 1.1 referrers API (pushed by `actions/attest-build-provenance`); cosign
> 2.4.x can verify the image signature but returns `no matching attestations`
> for the referrer-stored attestation. If you are pinned to an older cosign,
> use the tool-native `gh attestation verify oci://ghcr.io/polycentric-labs/evidentia:v0.11.0 -R Polycentric-Labs/evidentia`
> instead (any `gh` version finds it).

**Bash / Linux / macOS**

```bash
Expand Down
7 changes: 7 additions & 0 deletions docs/wiki/6-project/verification.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,13 @@ osv-scanner scan source -L evidentia-sbom.cdx.json
The container's `cosign verify` output above includes the SLSA Provenance v1
attestation inline. To extract it:

> **Requires cosign ≥ 2.6.** The provenance attestation is stored via the
> OCI 1.1 referrers API (pushed by `actions/attest-build-provenance`); cosign
> 2.4.x can verify the image signature but returns `no matching attestations`
> for the referrer-stored attestation. If you are pinned to an older cosign,
> use the tool-native `gh attestation verify oci://ghcr.io/polycentric-labs/evidentia:v0.11.0 -R Polycentric-Labs/evidentia`
> instead (any `gh` version finds it).

**Bash / Linux / macOS**

```bash
Expand Down
Loading