Skip to content
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 documentation on generating trusted_root.json #1174

Merged
merged 1 commit into from
Jul 15, 2024

Conversation

cmurphy
Copy link
Contributor

@cmurphy cmurphy commented Jul 12, 2024

The TUF mirror in this scaffolding stack does not serve a trusted_root.json, which is needed by sigstore-go to verify artifacts signed using a private sigstore deployment. Add documentation so that users can create this themselves using available community tooling. This may eventually be turned into part of the GitHub action so that clients can use the action for integration testing.

I couldn't find an official way of generating this file that felt safe to include as part of the createsecret service, but I still wanted to write this down so others don't fall down the same rabbit hole wondering why a client needs this apparently missing file. I used this to generate the trusted material for this PR because I needed to test the changes with a custom OIDC provider.

Summary

Release Note

Documentation

The TUF mirror in this scaffolding stack does not serve a
trusted_root.json, which is needed by sigstore-go to verify artifacts
signed using a private sigstore deployment. Add documentation so that
users can create this themselves using available community tooling. This
may eventually be turned into part of the GitHub action so that clients
can use the action for integration testing.

Signed-off-by: Colleen Murphy <colleenmurphy@google.com>
Copy link
Member

@kommendorkapten kommendorkapten left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

Copy link
Member

@jku jku left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've never modified trusted_root.json myself but this seems reasonable

Copy link
Contributor

@haydentherapper haydentherapper left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@haydentherapper haydentherapper merged commit df4e03e into sigstore:main Jul 15, 2024
21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants