Skip to content
Snippets Groups Projects
  1. Jan 18, 2022
  2. Dec 20, 2021
  3. Dec 11, 2021
  4. Nov 19, 2021
  5. Oct 03, 2021
  6. Aug 18, 2021
  7. Jul 28, 2021
  8. Jul 27, 2021
  9. 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
    • 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>
      5687a248
  10. Jul 12, 2021
  11. Jul 08, 2021
  12. Jul 01, 2021
  13. Jun 23, 2021
  14. Jun 16, 2021
  15. Jun 07, 2021
  16. May 29, 2021
  17. May 27, 2021
  18. May 24, 2021
  19. May 05, 2021
  20. May 01, 2021
  21. Apr 29, 2021
  22. Apr 28, 2021
  23. Apr 22, 2021
  24. Apr 20, 2021
  25. Apr 15, 2021
  26. 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>
      8b28f05b
  27. Mar 16, 2021
  28. Mar 14, 2021
  29. 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
  30. Feb 20, 2021
  31. Feb 17, 2021
    • Bob Callaway's avatar
      Enforce validation logic on values from config file and/or env vars (#158) · e226bf3f
      Bob Callaway authored
      
      By using viper.GetString(flag), viper will return the values of that
      argument from a precedence order (including CLI arguments). However, if
      a value was passed in through an environment variable or as a value in
      the config file, it would skip the validation step since that logic was
      defined against the FlagSet for command line arguments.
      
      This change causes validation to be done across all input methods.
      
      Fixes #157
      
      Signed-off-by: default avatarBob Callaway <bcallawa@redhat.com>
      e226bf3f
  32. Feb 01, 2021
  33. Jan 30, 2021
  34. Jan 28, 2021
Loading