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

api/index/retrieve: allow searching on indices with sha1 hashes #499

Merged
merged 1 commit into from
Nov 17, 2021

Conversation

mikhailswift
Copy link
Contributor

@mikhailswift mikhailswift commented Nov 16, 2021

Closes #498

Summary

Adds the ability to search for indices with sha1 hashes. Currently
rekor custom types can store indices with formats other than
sha256:. Particularly the in-toto type can do this.

One particular use case of interest is indexing log entries by git
commit hash, which largely still use sha1.

Ticket Link

Fixes

Release Note

* Added ability to search indices with sha1 hashes

Adds the ability to search for indicies with sha1 hashes. Currently
rekor custom types can store indices with formats other than
sha256:<hash>.  Particularly the in-toto type can do this.

One particular use case of interest is indexing log entries by git
commit hash, which largely still use sha1.

Signed-off-by: Mikhail Swift <mswift@mswift.dev>
@mikhailswift mikhailswift changed the title api/index/retrieve: allow searching on indicies with sha1 hashes api/index/retrieve: allow searching on indices with sha1 hashes Nov 16, 2021
@colek42
Copy link

colek42 commented Nov 17, 2021

lgtm

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.

Allow searching indices with a sha1 hash
3 participants