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>
      Unverified
      5e005eb1
  2. Jul 14, 2021
  3. Jul 13, 2021
  4. Jul 12, 2021
  5. Jul 08, 2021
  6. Jun 24, 2021
  7. Jun 23, 2021
  8. Jun 16, 2021
  9. Jun 07, 2021
  10. May 27, 2021
  11. May 24, 2021
  12. May 06, 2021
  13. May 05, 2021
  14. Apr 29, 2021
  15. Apr 28, 2021
  16. Apr 20, 2021
  17. Apr 16, 2021
  18. Apr 15, 2021
  19. Apr 12, 2021
  20. 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>
      Unverified
      cce6cabf
  21. Mar 24, 2021
  22. Mar 19, 2021
    • Bob Callaway's avatar
      Remove gzip processing flow completely from rekor (#221) · 8b28f05b
      Bob Callaway authored
      
      * Remove gzip processing flow completely from rekor
      
      Issue #208 reported different handling of gzipped content via fetch vs
      direct upload to rekor server. The code should be consistent, regardless
      of whether content was compressed or not - by always attempting to
      verify the signature against the (unmodified) byte stream.
      
      This patch removes the gzip decoding completely from rekor and verifies
      the bytes supplied or referenced.
      
      Also fixes issue in E2E tests where sending SIGKILL to watch process
      caused message to be printed to stderr, which fails the test when
      running on MacOS.
      
      Fixes #208
      
      Signed-off-by: default avatarBob Callaway <bcallawa@redhat.com>
      Unverified
      8b28f05b
  23. Mar 14, 2021
  24. Mar 10, 2021
  25. Mar 03, 2021
  26. Feb 26, 2021
  27. Feb 25, 2021
  28. Feb 22, 2021
  29. Feb 13, 2021
  30. Feb 09, 2021
  31. Jan 28, 2021
  32. Jan 21, 2021
  33. Jan 20, 2021
  34. Jan 19, 2021
  35. Jan 12, 2021
  36. Jan 05, 2021
  37. Jan 04, 2021
Loading