Skip to content
Snippets Groups Projects
  1. Apr 28, 2021
  2. Apr 22, 2021
  3. Apr 21, 2021
  4. Apr 20, 2021
  5. Apr 18, 2021
  6. Apr 15, 2021
  7. Mar 26, 2021
  8. 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
  9. Mar 16, 2021
  10. Mar 14, 2021
  11. 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
    • 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>
      b6e91ea4
  12. Feb 26, 2021
  13. Feb 25, 2021
  14. Feb 20, 2021
  15. 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
  16. Feb 01, 2021
  17. Jan 30, 2021
  18. Jan 28, 2021
  19. Jan 23, 2021
  20. Jan 20, 2021
  21. Jan 19, 2021
  22. Jan 18, 2021
  23. Jan 14, 2021
  24. Jan 12, 2021
  25. Jan 06, 2021
  26. Jan 05, 2021
  27. Jan 03, 2021
  28. Dec 18, 2020
  29. Dec 17, 2020
  30. Nov 24, 2020
    • Luke Hinds's avatar
      Clean up test directory (#53) · 3c9f188c
      Luke Hinds authored
      Clear up the stuff we no longer use and add some basic files
      for test purposes (integration tests / local developement)
      3c9f188c
  31. Nov 17, 2020
    • Luke Hinds's avatar
      Implement upload command (#34) · 910ec40d
      Luke Hinds authored
      Implement upload command
      
      Accept flags artifact-url,public-key, signature and validate GPG formatting and verify file signature
      910ec40d
  32. Oct 08, 2020
Loading