- Apr 15, 2021
-
-
Bob Callaway authored
* Add new type for JAR archives This adds support for a new pluggable type that can extract signatures from signed JAR files. Per the JAR spec, a special manifest file is created with the digest hashes of all included content in the JAR file. It is this special manifest file that is then signed, and included in a file within the archive in PKCS7 format. The PKCS7 file also includes the X509 certificate that can be used to verify the signed manifest file inside of the JAR. Signed-off-by:
Bob Callaway <bob.callaway@gmail.com>
-
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>
-
Dan Lorenc authored
Signed-off-by:
Dan Lorenc <dlorenc@google.com>
-
- Mar 14, 2021
-
-
dlorenc authored
This will allow us to use types.NewEntry() to unmarshal returned values in clients. Signed-off-by:
Dan Lorenc <dlorenc@google.com>
-
- Mar 03, 2021
-
-
Bob Callaway authored
Since the API key can be specified as an environment variable and could be thought of as an authentication credential, it should not be included in the path to the created entry in the log. Previously we simply appended the new entry's UUID to the full URL, which was incorrect if an API key was specified as a query parameter. Fixes #182 Signed-off-by:
Bob Callaway <bcallawa@redhat.com>
-
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>
-
- Feb 26, 2021
-
-
Luke Hinds authored
-
- Feb 25, 2021
-
-
Luke Hinds authored
All instances of projectrekor are now renamed to SigStore This includes: * Import paths * Tests * Readme's Signed-off-by:
Luke Hinds <lhinds@redhat.com>
-
- Feb 20, 2021
-
-
Dan Lorenc authored
-
- Feb 17, 2021
-
-
Bob Callaway authored
By using viper.GetString(flag), viper will return the values of that argument from a precedence order (including CLI arguments). However, if a value was passed in through an environment variable or as a value in the config file, it would skip the validation step since that logic was defined against the FlagSet for command line arguments. This change causes validation to be done across all input methods. Fixes #157 Signed-off-by:
Bob Callaway <bcallawa@redhat.com>
-
- Feb 01, 2021
-
-
Dan Lorenc authored
-
- Jan 30, 2021
-
-
Dan Lorenc authored
-
- Jan 28, 2021
-
-
Bob Callaway authored
-
Dan Lorenc authored
I noticed this when running some tests locally.
-
Bob Callaway authored
-
- Jan 23, 2021
-
-
Dan Lorenc authored
Also check it in the test.
-
- Jan 20, 2021
-
-
https://api.rekor.devDan Lorenc authored
-
Dan Lorenc authored
-
- Jan 19, 2021
-
-
Dan Lorenc authored
Next up is a JSON output mode to make testing/scripting easier.
-
Bob Callaway authored
Signed-off-by:
Bob Callaway <bcallawa@redhat.com> Co-authored-by:
Dan Lorenc <dlorenc@google.com>
-
- Jan 18, 2021
-
-
Dan Lorenc authored
These require the minisign binary to be installed.
-
- Jan 14, 2021
-
-
Dan Lorenc authored
- Run through the get flow, make sure the output is well structured - Call loginfo, make sure there are no errors.
-
- Jan 12, 2021
-
-
Dan Lorenc authored
-
- Jan 06, 2021
-
-
Dan Lorenc authored
This way we don't have to worry about existing entries in the logs.
-
- 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.
-
- Dec 17, 2020
-
-
Bob Callaway authored
-
- Nov 24, 2020
-
-
Luke Hinds authored
Clear up the stuff we no longer use and add some basic files for test purposes (integration tests / local developement)
-
- Nov 17, 2020
-
-
Luke Hinds authored
Implement upload command Accept flags artifact-url,public-key, signature and validate GPG formatting and verify file signature
-
- Oct 08, 2020
-
-
dlorenc authored
-
- Jun 17, 2020
-
-
Luke Hinds authored
-