Skip to content
Snippets Groups Projects
  1. Jul 17, 2021
    • Bob Callaway's avatar
      Improve error messages for invalid content (#377) · 5e005eb1
      Bob Callaway authored
      
      Previously we returned an HTTP 500 "error canonicalizing entry" error if
      Rekor was unable to parse or verify the proposed content of a new log
      entry. This adds a new error type ValidationError that allows
      implementers of the Canonicalize method to delineate between internal,
      transient errors and errors that clients can rectify.
      
      With this patch, errors parsing or validating (provided or referenced)
      artifacts will return an HTTP 400 message to the client with a message
      about the issue.
      
      Fixes: #362
      
      Signed-off-by: default avatarBob Callaway <bob.callaway@gmail.com>
      5e005eb1
  2. Jul 14, 2021
  3. Jul 13, 2021
  4. Jul 12, 2021
  5. Jul 09, 2021
  6. Jul 08, 2021
  7. Jul 01, 2021
  8. Jun 28, 2021
  9. Jun 24, 2021
  10. Jun 23, 2021
  11. Jun 16, 2021
  12. Jun 15, 2021
  13. Jun 07, 2021
  14. Jun 02, 2021
  15. May 29, 2021
  16. May 27, 2021
  17. May 24, 2021
  18. May 14, 2021
  19. May 06, 2021
  20. May 05, 2021
  21. May 01, 2021
  22. Apr 29, 2021
  23. Apr 28, 2021
  24. Apr 21, 2021
  25. Apr 20, 2021
  26. Apr 18, 2021
  27. Apr 16, 2021
  28. Apr 15, 2021
  29. Apr 13, 2021
  30. Apr 12, 2021
  31. Apr 10, 2021
    • Bob Callaway's avatar
      Update rekor REST API to match Trillian semantics (#250) · cce6cabf
      Bob Callaway authored
      
      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>
      cce6cabf
  32. Apr 04, 2021
Loading