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

Sign nextest's binary releases #369

Open
sunshowers opened this issue Jul 18, 2022 · 6 comments
Open

Sign nextest's binary releases #369

sunshowers opened this issue Jul 18, 2022 · 6 comments

Comments

@sunshowers
Copy link
Member

It would be really nice to have a way for us to sign nextest's binary releases to ensure they're authentic.

@taiki-e
Copy link
Contributor

taiki-e commented Jan 14, 2023

FYI, I'm working on supporting signing in upload-rust-binary-action, and here is a draft implementation of signing with PGP: taiki-e/upload-rust-binary-action#40 (comment)

@sunshowers
Copy link
Member Author

Thanks, this is awesome! Any plans to support Sigstore?

@taiki-e
Copy link
Contributor

taiki-e commented Aug 6, 2023

Sorry for the late reply, Sigstore has been included in the list since taiki-e/upload-rust-binary-action#40 was first opened.

Do you have any concrete requests as to what format you want to sign, or what files you want to sign?

@sunshowers
Copy link
Member Author

Thanks @taiki-e -- ideally the release task would run cosign sign-blob using an identity from GitHub Actions: https://docs.sigstore.dev/cosign/signing_with_blobs. Then, the cosign.bundle (appropriately named) would be uploaded along with the artifact. To verify the signature, users or automated tooling could download the cosign bundle and verify it that way.

It would also be great to work with @NobodyXu and the binstall folks to align on a strategy where binstall checks signatures.

@sunshowers
Copy link
Member Author

(I think another option is to use OCI to store artifacts in addition to GitHub Releases: https://docs.sigstore.dev/cosign/signing_with_blobs/#blobs-in-oci-registries)

@sunshowers
Copy link
Member Author

I wrote a comment on cargo-bins/cargo-binstall#1 discussing this.

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

No branches or pull requests

2 participants