Closed bkabrda closed 3 months ago
FWIW this is also related to https://github.com/sigstore/scaffolding/issues/1001 - it addresses the part the TUF server to ensure it generates trusted_root.json
(but also to keep the old-style targets for now).
@haydentherapper I think I addressed all points from your review, except the one about perhaps the one about some docs - I can address that if you can advise where to put the docs. Thanks!
Thanks, I left a comment about where we could put some docs!
@haydentherapper thanks for the pointer, done!
@haydentherapper rebased and addressed the last comment. Thank you for the great review!
Summary
This PR replaces #1191 and is the last PR to address #1182 to make the TUF server useful for prod deployment - it allows for generating the
trusted_root.json
file and serving it as one of the TUF targets. It does the same as #1191, but uses the new functionality from sigstore-go.Release Note
The TUF server was improved to generate a
trusted_root.json
target from the supplied files.Documentation
I don't believe that the TUF server is even documented anywhere, so I don't think documentation change is required, but please let me know if I'm wrong about that.