- 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>
-
- Apr 12, 2021
-
-
Dan Lorenc authored
This is changing as part of the general trillian signature changes. The trust model is still client -> database, our server trusts our database so we can pass signed messages on directly to users without double verification. Signed-off-by:
Dan Lorenc <dlorenc@google.com>
-
- Apr 10, 2021
-
-
Bob Callaway authored
This patch removes the /api/v1/log/entries/{uuid}/proof endpoint. If you have the UUID (aka the leaf Merkle hash), you likely want proof that the content represented by that hash is included in the log. There's no need for a separate /proof endpoint to deliver the same content. This commit also ensures that the getLogEntryByIndex and getLogEntryByUUID endpoints return an inclusion proof as part of their response content. The search endpoint also now returns the inclusion proof of all entries returned from the query. With this patch, Rekor no longer uses the deprecated `GetLeavesByHash` Trillian API. Fixes #229 Signed-off-by:
Bob Callaway <bob.callaway@gmail.com>
-
- Apr 05, 2021
-
-
Dan Lorenc authored
Signed-off-by:
Dan Lorenc <dlorenc@google.com>
-
- Apr 02, 2021
-
-
Ahmet Alp Balkan authored
Signed-off-by:
Ahmet Alp Balkan <ahmetb@google.com>
-
- Apr 01, 2021
-
-
Bob Callaway authored
Signed-off-by:
Bob Callaway <bcallawa@redhat.com>
-
- Mar 31, 2021
-
-
Ahmet Alp Balkan authored
-last-size is defaulting to 1, but fixing it to 0 so we can properly error out if it's unspecified. Signed-off-by:
Ahmet Alp Balkan <ahmetb@google.com>
-
Ahmet Alp Balkan authored
Otherwise prints []byte contents which are not quite usable. Signed-off-by:
Ahmet Alp Balkan <ahmetb@google.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 24, 2021
-
-
Bob Callaway authored
Adds a Location response header when a 409 Conflict error is returned from the server when a duplicate entry is sent for insertion into the log. Also changes message printed by CLI to improve usability. Fixes #222 Signed-off-by:
Bob Callaway <bcallawa@redhat.com>
-
- Mar 18, 2021
-
-
axel simon authored
Signed-off-by:
axelsimon <github@axelsimon.net>
-
- 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
-
-
Dan Lorenc authored
Signed-off-by:
Dan Lorenc <dlorenc@google.com>
-
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 11, 2021
-
-
Dan Lorenc authored
Also clean up a few small panics along the way. Signed-off-by:
Dan Lorenc <dlorenc@google.com>
-
- Mar 10, 2021
-
-
Bob Callaway authored
Signed-off-by:
Bob Callaway <bcallawa@redhat.com>
-
Bob Callaway authored
The loginfo API returns both the current size, root hash, as well as the signed tree head that callers can verify if they wish. The CLI does a check to verify the signature on the tree head returned, but was reporting the unsigned size and hash. This change ensures that the values match and prints the values from the signed tree head. Fixes #200 Signed-off-by:
Bob Callaway <bcallawa@redhat.com>
-
- Mar 05, 2021
-
-
dlorenc authored
This lets you retrieve entries by UUID or index, and see the other value. Signed-off-by:
Dan Lorenc <dlorenc@google.com>
-
- Mar 03, 2021
-
-
Jehan Shah authored
Changed directory permissions for .rekor directory Co-authored-by:
Jehan <jehan.shah8@gmail.com> Co-authored-by:
dlorenc <lorenc.d@gmail.com>
-
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:
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 22, 2021
-
-
dependabot[bot] authored
* Bump github.com/google/trillian from 1.3.10 to 1.3.13 Bumps [github.com/google/trillian](https://github.com/google/trillian) from 1.3.10 to 1.3.13. - [Release notes](https://github.com/google/trillian/releases) - [Changelog](https://github.com/google/trillian/blob/master/CHANGELOG.md) - [Commits](https://github.com/google/trillian/compare/v1.3.10...v1.3.13 ) Signed-off-by:
dependabot[bot] <support@github.com> * update to new package structure Signed-off-by:
Bob Callaway <bcallawa@redhat.com> * register hasher Signed-off-by:
Bob Callaway <bcallawa@redhat.com> * revert to original naming Signed-off-by:
Bob Callaway <bcallawa@redhat.com> Co-authored-by:
dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by:
Bob Callaway <bcallawa@redhat.com> Co-authored-by:
Bob Callaway <bobcallaway@users.noreply.github.com>
-
Bob Callaway authored
Signed-off-by:
Bob Callaway <bcallawa@redhat.com>
-
- 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 08, 2021
-
-
Dan Lorenc authored
This just exposes the default go metrics for now. We can use middleware to expose more custom metrics for our API.
-
- Feb 01, 2021
-
-
Bob Callaway authored
* persist URL along with state for comparison * change to map so we can store state from multiple Rekor instances concurrently Signed-off-by:
Bob Callaway <bcallawa@redhat.com>
-
- Jan 30, 2021
-
-
Dan Lorenc authored
-
- Jan 28, 2021
-
-
Bob Callaway authored
-
Bob Callaway authored
-
- Jan 27, 2021
-
-
Dan Lorenc authored
We also need to use this somehow in the log_proof command...
-
Dan Lorenc authored
This is only toggled on for the server right now.
-
- Jan 23, 2021
-
-
Dan Lorenc authored
Also check it in the test.
-
- Jan 21, 2021
-
-
Bob Callaway authored
Signed-off-by:
Bob Callaway <bcallawa@redhat.com>
-
Dan Lorenc authored
-
- 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>
-