diff --git a/.github/workflows/compute_slsa_source.yaml b/.github/workflows/compute_slsa_source.yaml index c7c7f5ca..f872b900 100644 --- a/.github/workflows/compute_slsa_source.yaml +++ b/.github/workflows/compute_slsa_source.yaml @@ -14,14 +14,14 @@ jobs: id-token: write # meeded to mint yokens for signing # v0.2.0 or later: v0.1.0's sourcetool v0.6.2 fails on tag pushes # ("evaluating the tag provenance metadata: nil statement"). - uses: slsa-framework/actions/.github/workflows/compute_slsa_source.yml@4b2114c4378d0f2bfb0ae99dbb6958bfc44d3a98 # v0.2.1 + # v0.2.2 or later: it runs sourcetool v0.7.4, the first release to set + # SLSA_SOURCE_SCS_VSA when issuing a commit's VSA; before that no commit + # rose above SLSA Source Level 1 (slsa-framework/source-tool#479). The + # pinned commit fixes the sourcetool version too. + uses: slsa-framework/actions/.github/workflows/compute_slsa_source.yml@319b4deaa17afa912337a6f797b78fbe611eaf0a # v0.2.3 # Pull requests land as merge commits: a rebase merge pushes several # commits at once, only the tip gets provenance, and the next commit's # provenance chain breaks, which caps main below SLSA Source Level 3. with: allow-merge-commits: true - # v0.7.4 or later: earlier releases never set SLSA_SOURCE_SCS_VSA when - # issuing a commit's VSA, so no commit rose above SLSA Source Level 1 - # (slsa-framework/source-tool#479). - version: v0.7.4 diff --git a/.github/workflows/main-image.yml b/.github/workflows/main-image.yml index 7e5ea9a4..ce277b8f 100644 --- a/.github/workflows/main-image.yml +++ b/.github/workflows/main-image.yml @@ -65,7 +65,7 @@ jobs: subject-digest: ${{ steps.build.outputs.digest }} push-to-registry: true # No moving v4 tag: pinned to the release. - - uses: sigstore/cosign-installer@v4.1.3 + - uses: sigstore/cosign-installer@v4.1.4 # Keyless: the certificate names this workflow and refs/heads/main. - name: sign the image env: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index cc7fddf6..d9cc5bc0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -123,7 +123,7 @@ jobs: subject-digest: ${{ steps.build.outputs.digest }} push-to-registry: true # No moving v4 tag: pinned to the release. - - uses: sigstore/cosign-installer@v4.1.3 + - uses: sigstore/cosign-installer@v4.1.4 if: github.ref_type == 'tag' # Keyless: the certificate names this workflow and the tag. - name: sign the image diff --git a/Cargo.lock b/Cargo.lock index 41683025..5ffc5353 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -60,9 +60,9 @@ dependencies = [ [[package]] name = "anyhow" -version = "1.0.104" +version = "1.0.105" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "330a5ed07fa54e4702c9d6c4174f74427fc0ef6e214bbd677ae50a5099946470" +checksum = "2cb931c189b85683d69a5cfad41d4d418671e1ac413dd209f3f2fc31e3cfd902" [[package]] name = "base64" @@ -78,7 +78,7 @@ checksum = "3ded4057c258ba199e2d26386d3af3780957ecaee6c4ef4041c6b4b8b97c0b06" [[package]] name = "bodnuti" -version = "0.5.0" +version = "0.6.0-dev" dependencies = [ "anyhow", "clap", @@ -114,9 +114,9 @@ checksum = "4e7648175b45a9a48536d676f68d918270699102aa8dab5496df06904c914600" [[package]] name = "clap" -version = "4.6.9" +version = "4.6.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "844c5c0b65be192cb68d570cca1b21a6444431d24e39c084dc0336177015337c" +checksum = "50066ca966813ca8957ee15361752f19424a8ff620dbe9c8993d9f99d99b04b3" dependencies = [ "clap_builder", "clap_derive", @@ -124,9 +124,9 @@ dependencies = [ [[package]] name = "clap_builder" -version = "4.6.7" +version = "4.6.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ec0797fb7aeb1406c84efac526901f7ec3ead2124f946b494e72879d4b54704d" +checksum = "a0ed97c96ef4efb3cc84e09fa388df4463e7cc3224ec38d7b1d9e45749333590" dependencies = [ "anstream", "anstyle", @@ -527,9 +527,9 @@ dependencies = [ [[package]] name = "toml" -version = "1.2.2+spec-1.1.0" +version = "1.2.3+spec-1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5426cb1b964690d913f6c5c1a1ae0b42f428ec506bb4d452876d7a209c9bca3b" +checksum = "26b1f26e9485c1fa43ee89fe76e9f3fb9e2e52bb227f8594b4d687496b83d073" dependencies = [ "indexmap", "serde_core", @@ -551,9 +551,9 @@ dependencies = [ [[package]] name = "toml_parser" -version = "1.1.6+spec-1.1.0" +version = "1.1.7+spec-1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e6769c452d71ba30696c6b37770c439a9cc9110f47f7d5cdbeda79840ef5ea31" +checksum = "0bb28d6e049a9766c3bd91a8326e6179f5b132dec87906bb97018ef7a2f3431a" dependencies = [ "winnow", ] diff --git a/Cargo.toml b/Cargo.toml index 1fd1a752..8e033d29 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "bodnuti" -version = "0.5.0" +version = "0.6.0-dev" edition = "2024" rust-version = "1.89" publish = false diff --git a/docs/STATUS.md b/docs/STATUS.md index 9914a3f1..3453b947 100644 --- a/docs/STATUS.md +++ b/docs/STATUS.md @@ -533,8 +533,8 @@ reasons found that day: With sourcetool v0.7.4, main verifies at SLSA Source Level 3 from the #29 merge commit (`667c450`) on, in the workflow and with sourcetool run -locally. The workflow is on slsa-framework/actions v0.2.1, set to run -sourcetool v0.7.4, and Dependabot follows the actions' releases. +locally. The workflow is pinned to slsa-framework/actions v0.2.3, which +runs sourcetool v0.7.4, and Dependabot follows the actions' releases. The `v0.2.0` tag has no tag provenance: the workflow's pinned release ran sourcetool v0.6.2, which fails on tags. The `v0.3.0` and `v0.4.0` tags @@ -583,8 +583,6 @@ window held about eight sashiko reviews. - Watch for the cases only unit-tested so far: a BitBake series rescued by its staging branches, a late member reopening an unthreaded series, and a CodeQL alert on a line a checked series wrote. -- Drop the SLSA Source workflow's `version` once slsa-framework/actions - defaults to sourcetool v0.7.4 or later. - Watch the new metadata checks (long lines, LIC_FILES_CHKSUM without `License-Update:`, CVE_CHECK_IGNORE) on the live reports for false alarms. diff --git a/fuzz/Cargo.lock b/fuzz/Cargo.lock index e1a0af7e..baaa54c8 100644 --- a/fuzz/Cargo.lock +++ b/fuzz/Cargo.lock @@ -84,7 +84,7 @@ checksum = "3ded4057c258ba199e2d26386d3af3780957ecaee6c4ef4041c6b4b8b97c0b06" [[package]] name = "bodnuti" -version = "0.5.0" +version = "0.6.0-dev" dependencies = [ "anyhow", "clap",