Skip to content
Snippets Groups Projects
  1. 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
  2. Feb 22, 2021
  3. Feb 20, 2021
  4. Feb 08, 2021
  5. Jan 28, 2021
  6. Jan 19, 2021
  7. Jan 18, 2021
  8. Jan 15, 2021
  9. Jan 14, 2021
  10. Jan 11, 2021
  11. 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
  12. Dec 17, 2020
  13. 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
  14. Dec 04, 2020
  15. Nov 25, 2020
  16. 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
  17. Nov 18, 2020
  18. Oct 27, 2020
  19. Sep 04, 2020
  20. Jun 17, 2020
Loading