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

Add Rekor Bundle message #262

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

lkatalin
Copy link

@lkatalin lkatalin commented Mar 19, 2024

Related to #261
Related to sigstore/rekor#1943

I'm considering whether the RekorBundle struct would make more sense as bytes (like the canonicalized body), with the tradeoff of readability, so I may update this. (Or possibly we could have both, but that may be too verbose.)

Edit: Updated based on the conversation in #261 to be separate from the TLE message.

Signed-off-by: Lily Sturmann <lsturman@redhat.com>
@lkatalin lkatalin marked this pull request as ready for review April 2, 2024 14:05
@lkatalin lkatalin changed the title Add canonicalized Rekor Bundle in TransparencyLogEntry struct Add Rekor Bundle message Apr 2, 2024

// The RekorBundle is the signed material used to produce the Signed Entry
// Timestamp signature. See notes on the InclusionPromise above.
message RekorBundle {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Have we confirmed that when marshalled as json as canonicalized, this works as expected? Just want to make sure there's no issues with field naming.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can run some tests soon. No need to wait on this PR for the new release.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@lkatalin I'll plan to include this in a 0.3.2 release with the other change for the checkpoint key ID that just went in.


// The RekorBundle is the signed material used to produce the Signed Entry
// Timestamp signature. See notes on the InclusionPromise above.
message RekorBundle {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

naming nit: I don't want to proliferate "bundle" even though it's in cosign, given we want "bundle" to refer to top level protobuf bundle now. Do you have another suggestion of the name? SignedEntryTimestampContents?

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.

None yet

3 participants