Skip to content
Snippets Groups Projects
  • Bob Callaway's avatar
    8b28f05b
    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>
    Remove gzip processing flow completely from rekor (#221)
    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>