- May 29, 2021
-
-
dlorenc authored
This uses a custom fork of in-toto-golang because not all the changes are merged in one place. Signed-off-by:
Dan Lorenc <dlorenc@google.com>
-
- May 05, 2021
-
-
Bob Callaway authored
* GetLogByIndexHandler returns 404 for missing index GRPC return codes have changed after switching the Trillian GRPC calls due to recent changes; therefore we need to adapt for InvalidArgument which should be returned as a 404 Not Found error to callers. Fixes #296 Signed-off-by:
Bob Callaway <bob.callaway@gmail.com>
-
- Apr 29, 2021
-
-
Bob Callaway authored
* Add sha256 prefix to index keys for artifact hashes This change adds the `sha256:` prefix to index values that are created to simplify searching the transparency log for artifacts. In case we shift to using a different hashing algorithm in the future, this will provide a way to specify it. Fixes #289 Signed-off-by:
Bob Callaway <bob.callaway@gmail.com>
-
- Apr 15, 2021
-
-
Carlos Tadeu Panato Junior authored
* update boilerplate header and apply go fmt Signed-off-by:
Carlos Panato <ctadeu@gmail.com> * lints: fix golangci-lint issues Signed-off-by:
Carlos Panato <ctadeu@gmail.com> * updated based on feedback Signed-off-by:
Carlos Panato <ctadeu@gmail.com>
-
- Mar 26, 2021
-
-
Dan Lorenc authored
This makes the binaries "go installable" by their canonical names. Signed-off-by:
Dan Lorenc <dlorenc@google.com>
-
- Mar 19, 2021
-
-
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:
Bob Callaway <bcallawa@redhat.com>
-
- Mar 16, 2021
-
-
Dan Lorenc authored
them to GCS. We don't always have a new one, and under load there might be "batches" of entries all integrated into the same STH. This means there is no guaranteed frequency of updates or even a guarantee that every index will exist. The values (and timestamps) should be monotonically increasing though. Signed-off-by:
Dan Lorenc <dlorenc@google.com>
-
- Mar 03, 2021
-
-
Bob Callaway authored
In our CI environment there is an artifical delay in between starting the Rekor services via docker-compose and when the E2E tests are actually executed due to Go modules being downloaded. In a local development environment, the download may not be required so the tests can start before the docker-compose services are actually running. This introduces a healthcheck for services (where possible), and blocks the start of the e2e tests until the services are reporting as healthy. It also forces the use of an empty homedir and rekor config file to ensure no collision between the tests and the developer's environment. Fixes #183 Signed-off-by:
Bob Callaway <bcallawa@redhat.com>
-
- Jan 05, 2021
-
-
Dan Lorenc authored
-
Dan Lorenc authored
-
- Jan 03, 2021
-
-
Dan Lorenc authored
This allows us to skip sticking it onto each request context and retrieving it. Signed-off-by:
Dan Lorenc <dlorenc@google.com>
-
- Dec 18, 2020
-
-
Dan Lorenc authored
This runs against a running setup, and does a single upload of some node data.
-