Skip to content
Snippets Groups Projects
  1. Jan 11, 2021
  2. 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
  3. Dec 17, 2020
  4. 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
      Unverified
      6ae68f10
  5. Dec 04, 2020
  6. Nov 25, 2020
  7. 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
  8. Nov 18, 2020
  9. Oct 27, 2020
  10. Sep 04, 2020
  11. Jun 17, 2020
Loading