-
Notifications
You must be signed in to change notification settings - Fork 547
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add experimental TLOG model to cosign #44
Conversation
Signed-off-by: Priya Wadhwa <priyawadhwa@google.com>
Signed-off-by: Priya Wadhwa <priyawadhwa@google.com>
Signed-off-by: Priya Wadhwa <priyawadhwa@google.com>
Signed-off-by: Priya Wadhwa <priyawadhwa@google.com>
Signed-off-by: Priya Wadhwa <priyawadhwa@google.com>
Amazing! I'll take a more detailed look tomorrow :) |
Yah I'm not totally sure about it 😅 & I think it probably still needs an integration test! |
Yeah I was thinking about this - it should be straightforward to stand up a local rekor using the compose setup from over here: https://github.com/sigstore/rekor/blob/main/docker-compose.yml Seems like you'd need an actual that grabs the rekor repo and starts up the local rekor with compose. We have a script here: https://github.com/sigstore/rekor/blob/main/tests/e2e-test.sh and here: https://github.com/sigstore/rekor/blob/main/.github/workflows/main.yml |
…nv var to match rekor project Signed-off-by: Priya Wadhwa <priyawadhwa@google.com>
Signed-off-by: Priya Wadhwa <priyawadhwa@google.com>
Sets up a local rekor server via the provided docker-compose.yaml file in the rekor repo. I tested to make sure this test fails if the local server isn't running, which is the case. Signed-off-by: Priya Wadhwa <priyawadhwa@google.com>
Cool, the docker-compose file seems to have worked! |
So cool! I'm gonna merge and play with it :) |
Co-authored-by: red-hat-trusted-app-pipeline <123456+red-hat-trusted-app-pipeline[bot]@users.noreply.github.com>
We turn on sending logs to the tlog by appending
TLOG=1
tocosign sign
andcosign verify
.I also had to add a
--public-key
flag tocosign sign
to get this to work.In practice this looks like:
Copied most of the code for verify from rekor's verify.go
Starts to fix #34, still need to:
state.json
feature