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 12, 2021
  4. Jul 08, 2021
  5. Jun 23, 2021
  6. Jun 16, 2021
  7. Jun 07, 2021
  8. May 06, 2021
  9. May 05, 2021
  10. Apr 29, 2021
  11. Apr 28, 2021
  12. Apr 15, 2021
  13. Apr 12, 2021
  14. 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
  15. Mar 24, 2021
  16. Mar 14, 2021
  17. Mar 03, 2021
    • Bob Callaway's avatar
      Remove API key from path to new log entry (#185) · b0eae9b8
      Bob Callaway authored
      
      Since the API key can be specified as an environment variable and could
      be thought of as an authentication credential, it should not be included
      in the path to the created entry in the log.
      
      Previously we simply appended the new entry's UUID to the full URL,
      which was incorrect if an API key was specified as a query parameter.
      
      Fixes #182
      
      Signed-off-by: default avatarBob Callaway <bcallawa@redhat.com>
      b0eae9b8
  18. Feb 26, 2021
  19. Feb 25, 2021
  20. Feb 22, 2021
  21. Feb 09, 2021
  22. Jan 28, 2021
  23. Jan 21, 2021
  24. Jan 19, 2021
  25. Jan 05, 2021
  26. Jan 04, 2021
  27. Jan 03, 2021
  28. Dec 24, 2020
  29. Dec 19, 2020
    • Bob Callaway's avatar
      clean up and enhance error handling · 182adc3f
      Bob Callaway authored
      
      - adds trillian API object to context
      - improves request error logging pre and post validation
      - use consistent request context throughout all GRPC calls
      - improve validation of incoming UUID values
      - disable swagger UI endpoint
      - only print cacheable headers if response code is HTTP 2XX
      - use GetLeavesByRange instead of deprecated GetLeavesByIndex API
      
      Signed-off-by: default avatarBob Callaway <bcallawa@redhat.com>
      182adc3f
  30. Dec 17, 2020
  31. Dec 04, 2020
Loading