Skip to content
Snippets Groups Projects
  1. Apr 08, 2021
  2. Apr 02, 2021
    • Bob Callaway's avatar
      fail build if diff exists (#251) · 2f06f9fb
      Bob Callaway authored
      
      * fail build if diff exists
      
      Right now the build tries to detect mismatches between what is in the change versus any changes actually occurred from a clean rebuild (e.g. missed checking in any updates to generated code). However if those are present, the build logs print that out but do not cause the build to fail.
      
      Also bumps GOVERSION to match what is used in Dockerfile so we don't have go.mod or go.sum as a reason for above.
      
      Signed-off-by: default avatarBob Callaway <bob.callaway@gmail.com>
      2f06f9fb
  3. Apr 01, 2021
  4. Mar 31, 2021
  5. Mar 26, 2021
  6. Mar 22, 2021
  7. Mar 19, 2021
  8. Mar 16, 2021
  9. Mar 03, 2021
    • Bob Callaway's avatar
      no longer require SHA to upload artifacts to log · 4e6156b5
      Bob Callaway authored
      
      Since the verification of a signature will, by definition, include
      verifying the content has not been altered, it is unnecessary to require
      users of the CLI or REST API to specify the SHA256 hash of the content
      when creating a new entry into the log.
      
      Note that the server will still compute the hash and store it in the log
      for ease of comparison.
      
      Fixes #180
      
      Signed-off-by: default avatarBob Callaway <bcallawa@redhat.com>
      4e6156b5
  10. Feb 22, 2021
  11. Feb 20, 2021
  12. Feb 08, 2021
  13. Jan 28, 2021
  14. Jan 19, 2021
  15. Jan 18, 2021
  16. Jan 15, 2021
  17. Jan 14, 2021
  18. Jan 11, 2021
  19. Dec 19, 2020
    • Bob Callaway's avatar
      clean up and enhance error handling · 182adc3f
      Bob Callaway authored
      
      - adds trillian API object to context
      - improves request error logging pre and post validation
      - use consistent request context throughout all GRPC calls
      - improve validation of incoming UUID values
      - disable swagger UI endpoint
      - only print cacheable headers if response code is HTTP 2XX
      - use GetLeavesByRange instead of deprecated GetLeavesByIndex API
      
      Signed-off-by: default avatarBob Callaway <bcallawa@redhat.com>
      182adc3f
  20. Dec 17, 2020
  21. Dec 07, 2020
    • Bob Callaway's avatar
      Types unit test (#57) · 6ae68f10
      Bob Callaway authored
      * add types unit tests
      
      * explicitly ignore error from ValidateLeaf
      
      * improve PGP unit test coverage (#58)
      
      * update & improve pgp unit tests
      
      * add types unit tests
      
      * explicitly ignore error from ValidateLeaf
      
      * use files instead of embedded strings
      6ae68f10
  22. Dec 04, 2020
  23. Nov 25, 2020
  24. Nov 23, 2020
    • Bob Callaway's avatar
      Fix resource leak if HTTP fetch fails · a31f6395
      Bob Callaway authored
      If the HTTP fetch failed, the io.Pipe created to pass the response body to the
      goroutines that compute the SHA256 hash and verify the signature would be leaked.
      a31f6395
  25. Nov 18, 2020
  26. Oct 27, 2020
  27. Sep 04, 2020
  28. Jun 17, 2020
Loading