Skip to content
Snippets Groups Projects
  1. Jul 27, 2021
  2. 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
    • Bob Callaway's avatar
      Stop depending on external jenkins mirror (#376) · 5687a248
      Bob Callaway authored
      
      This causes a JAR to be fetched over a local HTTP server in the
      e2e test harness instead of the external Jenkins mirror. Also causes the
      JAR input to be randomized so we can re-use the createSignedJar method
      in multiple tests.
      
      Fixes: #375
      
      Signed-off-by: default avatarBob Callaway <bob.callaway@gmail.com>
      Unverified
      5687a248
  3. Jul 12, 2021
  4. Jul 09, 2021
  5. Jul 08, 2021
  6. Jul 01, 2021
  7. Jun 28, 2021
  8. Jun 23, 2021
  9. Jun 16, 2021
  10. Jun 07, 2021
  11. May 29, 2021
  12. May 27, 2021
  13. May 24, 2021
  14. May 05, 2021
  15. May 01, 2021
  16. Apr 29, 2021
  17. Apr 28, 2021
  18. Apr 22, 2021
  19. Apr 21, 2021
  20. Apr 20, 2021
  21. Apr 18, 2021
  22. Apr 15, 2021
  23. Mar 26, 2021
  24. 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
  25. Mar 16, 2021
  26. Mar 14, 2021
  27. 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>
      Unverified
      b0eae9b8
    • Bob Callaway's avatar
      fix race condition in e2e tests (#184) · b6e91ea4
      Bob Callaway authored
      
      In our CI environment there is an artifical delay in between starting
      the Rekor services via docker-compose and when the E2E tests are
      actually executed due to Go modules being downloaded. In a local
      development environment, the download may not be required so the tests
      can start before the docker-compose services are actually running.
      
      This introduces a healthcheck for services (where possible), and blocks
      the start of the e2e tests until the services are reporting as healthy.
      It also forces the use of an empty homedir and rekor config file to
      ensure no collision between the tests and the developer's environment.
      
      Fixes #183
      
      Signed-off-by: default avatarBob Callaway <bcallawa@redhat.com>
      Unverified
      b6e91ea4
  28. Feb 26, 2021
  29. Feb 25, 2021
  30. Feb 20, 2021
  31. Feb 17, 2021
  32. Feb 01, 2021
  33. Jan 30, 2021
  34. Jan 28, 2021
Loading