Skip to content
Snippets Groups Projects
  1. Jul 09, 2021
  2. Jul 08, 2021
  3. Jul 01, 2021
  4. Jun 28, 2021
  5. Jun 23, 2021
  6. Jun 16, 2021
  7. Jun 07, 2021
  8. May 29, 2021
  9. May 27, 2021
  10. May 24, 2021
  11. May 05, 2021
  12. May 01, 2021
  13. Apr 29, 2021
  14. Apr 28, 2021
  15. Apr 22, 2021
  16. Apr 21, 2021
  17. Apr 20, 2021
  18. Apr 18, 2021
  19. Apr 15, 2021
  20. Mar 26, 2021
  21. 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
  22. Mar 16, 2021
  23. Mar 14, 2021
  24. 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
  25. Feb 26, 2021
  26. Feb 25, 2021
  27. Feb 20, 2021
  28. 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
  29. Feb 01, 2021
  30. Jan 30, 2021
  31. Jan 28, 2021
  32. Jan 23, 2021
  33. Jan 20, 2021
Loading