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

Support generating offline Rekor bundles #194

Closed
di opened this issue Sep 6, 2022 · 1 comment · Fixed by #247
Closed

Support generating offline Rekor bundles #194

di opened this issue Sep 6, 2022 · 1 comment · Fixed by #247
Labels
enhancement New feature or request

Comments

@di
Copy link
Member

di commented Sep 6, 2022

Description

Similar to cosign's --bundle flag, we should support generating offline Rekor bundles as well:

E.g. from cosign:

--bundle string         write everything required to verify the blob to a FILE

This is likely a logical first step before #52.

@di di added the enhancement New feature or request label Sep 6, 2022
@asraa
Copy link
Contributor

asraa commented Sep 8, 2022

Just adding some context or comments or lessons learned from cosign:

There's a proposal for a more specified bundle: sigstore/cosign#2131. Depending on your timeline of course, you may just want to use a basic copy of the Rekor bundle, without relying on this issues resolution.

Note that the cosign current --bundle output has something of the format:

{
  "base64Signature": "...",
  "cert": "...",
  "rekorBundle": { ... }
}

When using the cosign CLI, it's hairy to use the base64Signature in favor of the signature potentially given in the CLI argument --signature. Likewise, definitely use diligence to make sure that rekorBundle actually applies to the artifact that it's intended to verify!

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