-
Notifications
You must be signed in to change notification settings - Fork 39
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Keeping the embedded TUF root updated (like in #414) is not required but it's useful as clients then download less on the first run.
The update itself is a little annoying to do though: how do you ensure the PR content is correct? I came up with this solution in sigstore-python (sigstore/sigstore-python#1301):
- Makefile rule that
- runs the client just enough to securely update the cached root
- copies the cached root into the sources
- Workflow that
- executes the make rule on cron
- files an issue if the root embedded in source changed
This has two uses:
- it files an issue if embedded root does not match current root
- gives maintainers an easy way to create a PR (or verify it)
Feel free to steal the relevant parts from sigstore-python
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request