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 hashed rekord type when uploading to a Rekor instance #121

Open
LeSuisse opened this issue Dec 29, 2021 · 1 comment
Open

Use hashed rekord type when uploading to a Rekor instance #121

LeSuisse opened this issue Dec 29, 2021 · 1 comment
Assignees

Comments

@LeSuisse
Copy link
Owner

LeSuisse commented Dec 29, 2021

This will avoid issues when signing large payloads and, in most cases, it is likely to be faster since the expensive checksum computation will be done locally and it will avoid having to upload the whole data to the Rekor instance

See sigstore/rekor#481 and sigstore/rekor#501 for more information.

@LeSuisse LeSuisse self-assigned this Dec 29, 2021
@LeSuisse
Copy link
Owner Author

In fact this is not possible (yet?), the hashed rekord type can only validate x509 signature

https://github.com/sigstore/rekor/blob/40d9419f4b294277789480c89e407066f9b63734/pkg/types/hashedrekord/v0.0.1/entry.go#L147-L151

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

No branches or pull requests

1 participant