Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Attest build provenance #440

Merged
merged 1 commit into from
Jun 1, 2024
Merged

Attest build provenance #440

merged 1 commit into from
Jun 1, 2024

Conversation

hugovk
Copy link
Owner

@hugovk hugovk commented Jun 1, 2024

Attest using GitHub's Artifact Attestations:

For example:

gh attestation verify /tmp/downloads/pypistats-1.5.1.dev77-py3-none-any.whl -R hugovk/pypistats
Loaded digest sha256:c84120639508e13d701f69958dfdbbb6b5d338f83ed8ebae29c907086363b825 for file:///tmp/downloads/pypistats-1.5.1.dev77-py3-none-any.whl
Loaded 1 attestation from GitHub API
✓ Verification succeeded!

sha256:c84120639508e13d701f69958dfdbbb6b5d338f83ed8ebae29c907086363b825 was attested by:
REPO              PREDICATE_TYPE                  WORKFLOW
hugovk/pypistats  https://slsa.dev/provenance/v1  .github/workflows/deploy.yml@refs/heads/maingh attestation verify /tmp/downloads/pypistats-1.5.1.dev77.tar.gz --owner hugovk
Loaded digest sha256:791b595a6dd6aa8471f36b8c0bafe05c9ea2e84751d478aff120d526c611ed29 for file:///tmp/downloads/pypistats-1.5.1.dev77.tar.gz
Loaded 1 attestation from GitHub API
✓ Verification succeeded!

sha256:791b595a6dd6aa8471f36b8c0bafe05c9ea2e84751d478aff120d526c611ed29 was attested by:
REPO              PREDICATE_TYPE                  WORKFLOW
hugovk/pypistats  https://slsa.dev/provenance/v1  .github/workflows/deploy.yml@refs/heads/main

@hugovk hugovk added the changelog: Added For new features label Jun 1, 2024
@hugovk hugovk merged commit b726741 into main Jun 1, 2024
71 checks passed
@hugovk hugovk deleted the attestations branch June 1, 2024 09:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog: Added For new features
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant