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

use keyless approach while signing and verifying GoReleaser checksums.txt file #2713

Closed
developer-guy opened this issue Nov 30, 2021 · 2 comments · Fixed by #2716
Closed
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@developer-guy
Copy link
Member

Is your feature request related to a problem? Please describe.
It is not related to a problem.

Describe the solution you'd like
A similar approach has been taken in cosign project1, thanks to @cpanato. Now, we can use this approach while signing and verifying the checksums.txt file of the GoReleaser.

Also thanks to @cpanato, he already prepared a repository2 to show people how they can keyless approach with GoReleaser.

Describe alternatives you've considered

  • We should remove both cosign.key and cosign.pub files.
  • We should enable cosign's experimental mode by providing the COSIGN_EXPERIMENTAL environment variable.
  • We should output the certificate while signing the blob, and upload this certificate to the releases.
  • We can use this certificate while verifying the checksums.txt.sig file.

Additional context
Add any other context or screenshots about the feature request here.

cc: @caarlos0 @dirien @Dentrax

Footnotes

  1. https://github.com/sigstore/cosign/pull/1111

  2. https://github.com/caarlos0-graveyard/gorel-keyless

@developer-guy developer-guy added the enhancement New feature or request label Nov 30, 2021
@developer-guy
Copy link
Member Author

similar projects that try to achieve the same thing:

@caarlos0 caarlos0 added this to the v1.2.0 milestone Dec 1, 2021
@caarlos0 caarlos0 self-assigned this Dec 1, 2021
@caarlos0
Copy link
Member

caarlos0 commented Dec 1, 2021

pushed what I had laying around on my stash here... cc/ @developer-guy

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants