- Jan 25, 2022
-
-
Lily Sturmann authored
* Move range.go into sharding package to avoid import cycles Signed-off-by:
Lily Sturmann <lsturman@redhat.com> * Change name of FullID to EntryID Signed-off-by:
Lily Sturmann <lsturman@redhat.com> * Add unit tests for sharding package Also add a few helper functions and update names. Signed-off-by:
Lily Sturmann <lsturman@redhat.com> * Add logic to GET artifacts via old UUID or new EntryID Signed-off-by:
Lily Sturmann <lsturman@redhat.com> * Add e2e test for longer EntryID Signed-off-by:
Lily Sturmann <lsturman@redhat.com>
-
- Jan 06, 2022
-
-
Lily Sturmann authored
* Add sharding package Signed-off-by:
Lily Sturmann <lsturman@redhat.com> * Update validators to support future FullID A FullID is a UUID prepended by a TreeID. This will be used for log sharding Signed-off-by:
Lily Sturmann <lsturman@redhat.com>
-
- Nov 23, 2021
-
-
Harry Fallows authored
* Upgraded go-playground/validator module to v10 Signed-off-by:
Harry Fallows <harryfallows@protonmail.com> * Manually re-added missing go.sum entry for module providing package github.com/dvyukov/go-fuzz/go-fuzz-dep Signed-off-by:
Harry Fallows <harryfallows@protonmail.com>
-
- Nov 17, 2021
-
-
Mikhail Swift authored
Adds the ability to search for indicies with sha1 hashes. Currently rekor custom types can store indices with formats other than sha256:<hash>. Particularly the in-toto type can do this. One particular use case of interest is indexing log entries by git commit hash, which largely still use sha1. Signed-off-by:
Mikhail Swift <mswift@mswift.dev>
-
- Jul 29, 2021
-
-
asraa authored
* just commit timestampnote Signed-off-by:
Asra Ali <asraa@google.com> * add signed timestamp note Signed-off-by:
Asra Ali <asraa@google.com> * address validating sha comment Signed-off-by:
Asra Ali <asraa@google.com>
-
- Jul 28, 2021
-
-
Bob Callaway authored
Signed-off-by:
Bob Callaway <bob.callaway@gmail.com>
-
- Jul 27, 2021
-
-
Bob Callaway authored
Signed-off-by:
Bob Callaway <bob.callaway@gmail.com>
-
- Jul 14, 2021
-
-
Bob Callaway authored
* Refactor PKI factory and add type checking This allows for more DRY addition of new PKI types, and stricter type checking. This also allows for simpler enumeration of supported PKI formats which will be used in further updates to simplify the CLI codebase. Signed-off-by:
Bob Callaway <bob.callaway@gmail.com> * revamp CLI flags; support different versions for upload Signed-off-by:
Bob Callaway <bob.callaway@gmail.com> * Add Alpine Package type This adds support for the alpine package format used by Alpine Linux, which is the concatenation of three tgz files (signature, control data, and then the actual package files). Signed-off-by:
Bob Callaway <bob.callaway@gmail.com> * use shaFlag for --artifact-hash Signed-off-by:
Bob Callaway <bob.callaway@gmail.com> * change arg type to PKIFormat Signed-off-by:
Bob Callaway <bob.callaway@gmail.com> * defer type-specific validation logic to type code (instead of in CLI); also use CliLogger throughout CLI Signed-off-by:
Bob Callaway <bob.callaway@gmail.com> * refactor factory code Signed-off-by:
Bob Callaway <bob.callaway@gmail.com> * review comments Signed-off-by:
Bob Callaway <bob.callaway@gmail.com>
-
- Jul 09, 2021
-
-
Andrew Block authored
* Added Helm type Signed-off-by:
Andrew Block <andy.block@gmail.com> * Cleaned up helm type Signed-off-by:
Andrew Block <andy.block@gmail.com> * Correct Helm schema required fields Signed-off-by:
Andrew Block <andy.block@gmail.com> * Regenerated Helm schema Signed-off-by:
Andrew Block <andy.block@gmail.com>
-
- Jun 23, 2021
-
-
Bob Callaway authored
This adds support for the alpine package format used by Alpine Linux, which is the concatenation of three tgz files (signature, control data, and then the actual package files). Signed-off-by:
Bob Callaway <bob.callaway@gmail.com>
-
asraa authored
* upload all generated timestamps Signed-off-by:
Asra Ali <asraa@google.com> * address bazooka comments Signed-off-by:
Asra Ali <asraa@google.com> * simplify params Signed-off-by:
Asra Ali <asraa@google.com> * address changes Signed-off-by:
Asra Ali <asraa@google.com> * forgot to run swagger Signed-off-by:
Asra Ali <asraa@google.com>
-
- Jun 16, 2021
-
-
Appu authored
Signed-off-by:
Appu Goundan <appu@google.com>
-
- Jun 07, 2021
-
-
dlorenc authored
This adds an "Attestation" method to the entry interface. Entries can return an attestation that they would like to store. The attestations are currently stored in GCS, but it supports any blob store. The feature is turned off with a flag, and we can set a max size as well. Signed-off-by:
Dan Lorenc <dlorenc@google.com>
-
- 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>
-
- 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 22, 2021
-
-
dlorenc authored
This is required when uploading jars by URL. Signed-off-by:
Dan Lorenc <dlorenc@google.com>
-
- Apr 20, 2021
-
-
asraa authored
Signed-off-by:
Asra Ali <asraa@google.com>
-
- 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 03, 2021
-
-
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>
-
- Jan 30, 2021
-
-
Dan Lorenc authored
-
- Jan 28, 2021
-
-
Bob Callaway authored
-
- Jan 19, 2021
-
-
Bob Callaway authored
Signed-off-by:
Bob Callaway <bcallawa@redhat.com> Co-authored-by:
Dan Lorenc <dlorenc@google.com>
-
- Jan 14, 2021
-
-
Dan Lorenc authored
Still need to add some more e2e-style tests that go through the ArtifactFactory flow.
-
- Jan 13, 2021
-
-
Dan Lorenc authored
This supports pgp and minisign right now. We can add logic to try to detect these later.
-
- Jan 12, 2021
-
-
Bob Callaway authored
Signed-off-by:
Bob Callaway <bcallawa@redhat.com>
-
- Jan 08, 2021
-
-
Bob Callaway authored
also adds --log-index parameter to CLI verify command Signed-off-by:
Bob Callaway <bcallawa@redhat.com>
-
- Dec 17, 2020
-
-
Bob Callaway authored
-