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

fix: make LogEntry Body an enum #244

Merged
merged 1 commit into from
Mar 28, 2023
Merged

Conversation

danbev
Copy link
Contributor

@danbev danbev commented Mar 24, 2023

Closes: #243

Summary

This commit updates the LogEntry body field type to be an enum instead of a struct. This enum will contain a variant for the different types of rekords that can be stored in Rekor.

The motivation for this change is that currently only Hashedrekord::Spec are supported as that is the type spec field in the current Body struct. For further details please see the linked issue.

Release Note

TODO:

Documentation

NONE

This commit updates the LogEntry body field type to be an enum instead
of a struct. This enum will contain a variant for the different types of
rekords that can be stored in Rekor.

The motivation for this change is that currently only Hashedrekord::Spec
are supported as that is the type spec field in the current Body struct.
For further details please see the linked issue.

Closes: sigstore#243
Signed-off-by: Daniel Bevenius <daniel.bevenius@gmail.com>
@flavio flavio merged commit 69e8f33 into sigstore:main Mar 28, 2023
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.

Rekor LogEntry deserialization error
2 participants