Skip to content

ci: Generate hashes for SLSA - #153

Merged
Pavel Zwerschke (pavelzw) merged 7 commits into
Quantco:mainfrom
xhochy:provenance-squashed
May 9, 2025
Merged

Pavel Zwerschke (pavelzw) merged 7 commits into
Quantco:mainfrom
xhochy:provenance-squashed

Conversation

@xhochy

Copy link
Copy Markdown
Member

Motivation

This adds build provenance based on the official manual of slsa.dev so that people can verify that the archives are produced by us.

You can test it on my fork using:

wget https://github.com/xhochy/pixi-pack/releases/download/v0.6.12/multiple.intoto.jsonl
wget https://github.com/xhochy/pixi-pack/releases/download/v0.6.12/pixi-pack-aarch64-apple-darwin
pixi exec slsa-verifier verify-artifact pixi-pack-aarch64-apple-darwin --provenance-path multiple.intoto.jsonl --source-uri github.com/xhochy/pixi-pack --source-branch main

As a follow-up, I would also try to integrate https://github.com/actions/attest-build-provenance into this repository. Long-term, it probably makes sense to use only one of them.

Changes

Integrated the slsa-framework/slsa-github-generator workflow into the release workflow to create and upload the attestations.


If updating documentation:

@xhochy Uwe L. Korn (xhochy) changed the title Generate hashes for SLSA ci: Generate hashes for SLSA May 5, 2025
Comment thread .github/workflows/build.yml Resolved
Comment thread .github/workflows/build.yml Resolved
Comment thread .github/workflows/build.yml Resolved

@pavelzw Pavel Zwerschke (pavelzw) left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comment thread README.md Resolved
Comment thread .github/workflows/build.yml Resolved

@delsner Daniel Elsner (delsner) left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

Comment thread .github/workflows/build.yml Resolved
Comment thread README.md Resolved
Comment thread README.md Resolved
Comment thread .github/workflows/build.yml Resolved
@xhochy
Uwe L. Korn (xhochy) force-pushed the provenance-squashed branch 2 times, most recently from 4aff5e3 to 51f0255 Compare May 6, 2025 15:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants