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 cosgin instead of gpg to sign scorecard releases #1126

Closed
naveensrinivasan opened this issue Oct 12, 2021 · 5 comments
Closed

Use cosgin instead of gpg to sign scorecard releases #1126

naveensrinivasan opened this issue Oct 12, 2021 · 5 comments
Labels
kind/enhancement New feature or request

Comments

@naveensrinivasan
Copy link
Member

Is your feature request related to a problem? Please describe.
The goreleaser right now uses the gpg key to sign scorecard releases.

Describe the solution you'd like
Instead, use cosign to sign scorecard GitHub releases (not signing the container)

Keyless signing

Change that to use cosign to sign the blob COSIGN_EXPERIMENTAL=1 cosign sign-blob <FILE> with the above option we don't have to hold the keys and we could use GitHub OIDC to keyless signing https://github.com/lukehinds/testoidc/blob/d36ee33f2b2662ea27034aacd63f2e8ee04b73c3/.github/workflows/keyless-sign.yml#L12

Part of this means moving away from goreleaser. goreleaser supports cosgin but it doesn't provide an option to keyless

Use goreleaser

The other option is to use goreleaser but instead, use cosign keys similar to gpg keys and generate them using something like cosign generate-key-pair github://owner/project and keep the password for cosign as GitHub secret

@naveensrinivasan naveensrinivasan added the kind/enhancement New feature or request label Oct 12, 2021
@naveensrinivasan
Copy link
Member Author

@dlorenc @developer-guy WDTY?

@developer-guy
Copy link
Contributor

thank you for mentioning me @naveensrinivasan, looks yummy 😋. I don't have much knowledge about Keyless Signing but I can help with the use goreleaser option.

@developer-guy
Copy link
Contributor

If you agree to continue with the GoReleaser option, you can assign this issue to me. I would love to do that. 🤩

@azeemshaikh38
Copy link
Contributor

Duplicate of #1201.

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

No branches or pull requests

3 participants