-
- Downloads
Remove gzip processing flow completely from rekor (#221)
* 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:
Bob Callaway <bcallawa@redhat.com>
Showing
- pkg/api/index.go 1 addition, 1 deletionpkg/api/index.go
- pkg/types/rekord/v0.0.1/entry.go 3 additions, 3 deletionspkg/types/rekord/v0.0.1/entry.go
- pkg/types/rpm/v0.0.1/entry.go 2 additions, 2 deletionspkg/types/rpm/v0.0.1/entry.go
- pkg/util/fetch.go 2 additions, 19 deletionspkg/util/fetch.go
- tests/e2e-test.sh 3 additions, 3 deletionstests/e2e-test.sh
- tests/e2e_test.go 4 additions, 2 deletionstests/e2e_test.go
Please register or sign in to comment