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

Replace manual Cosign with GitHub Attestations #8

Merged
merged 1 commit into from
Oct 14, 2024

Conversation

samhclark
Copy link
Owner

@samhclark samhclark commented Oct 13, 2024

This works pretty good, except that I can't use cosign to verify the containers anymore. There's a bit of a dance where you need to manually download the manifest for the tag, then get the actual "artifact" by its digest (and save that json bundle), and then do a pretty long cosign verify-blob-attestation ... command.

See: actions/attest-build-provenance#162 (comment)

Still, this provenance info is nice, gh attestation verify oci://ghcr.io/samhclark/custom-silverblue:40 --repo samhclark/custom-silverblue works. And I'm not doing verified ostree registry things yet anyway. Got a month or so until I'm gonna rebase onto Fedora 41, so I'll have time to figure out the best way to get a verified registry.

Maybe that's adding back Cosign, and doing two signing steps. Maybe with a key instead of keyless. Maybe there's some other way. But the provenance info seems worth keeping.

@samhclark samhclark merged commit ce137ab into main Oct 14, 2024
2 checks passed
@samhclark samhclark deleted the use-gha-attestations branch October 14, 2024 03: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.

1 participant