Skip to content
Snippets Groups Projects
Unverified Commit cce6cabf authored by Bob Callaway's avatar Bob Callaway Committed by GitHub
Browse files

Update rekor REST API to match Trillian semantics (#250)


This patch removes the /api/v1/log/entries/{uuid}/proof endpoint. If you
have the UUID (aka the leaf Merkle hash), you likely want proof that the
content represented by that hash is included in the log. There's no need
for a separate /proof endpoint to deliver the same content.

This commit also ensures that the getLogEntryByIndex and
getLogEntryByUUID endpoints return an inclusion proof as part of their
response content. The search endpoint also now returns the inclusion
proof of all entries returned from the query.

With this patch, Rekor no longer uses the deprecated `GetLeavesByHash`
Trillian API.

Fixes #229

Signed-off-by: default avatarBob Callaway <bob.callaway@gmail.com>
parent 90739a92
No related branches found
No related tags found
No related merge requests found
Showing
with 345 additions and 713 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment