-
- Downloads
api/index/retrieve: allow searching on indicies with sha1 hashes (#499)
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>
Showing
- cmd/rekor-cli/app/pflags.go 10 additions, 4 deletionscmd/rekor-cli/app/pflags.go
- cmd/rekor-cli/app/search.go 7 additions, 3 deletionscmd/rekor-cli/app/search.go
- openapi.yaml 1 addition, 1 deletionopenapi.yaml
- pkg/generated/models/search_index.go 2 additions, 2 deletionspkg/generated/models/search_index.go
- pkg/generated/restapi/embedded_spec.go 2 additions, 2 deletionspkg/generated/restapi/embedded_spec.go
- pkg/util/validate.go 22 additions, 0 deletionspkg/util/validate.go
Loading
Please register or sign in to comment