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

Cache TUF metadata and artifacts #80

Open
jku opened this issue Sep 15, 2023 · 0 comments
Open

Cache TUF metadata and artifacts #80

jku opened this issue Sep 15, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@jku
Copy link
Member

jku commented Sep 15, 2023

It would be useful to cache TUF metadata and the downloaded artifacts:

  • less downloading is better for everyone
  • cached metadata is slightly more secure

In practice this would mean mean using https://github.com/actions/cache with the sigstore application data dir and cache dir (or at least the tuf relevant subdirs) as the cache paths. It would make sense to verify that the cache is getting used with some debug logging in the self test (I'm assuming the default logging doesn't show this).

I'm filing this now so I don't forget: I'll likely take a stab at this later myself if no-one has implemented by then

@jku jku added the enhancement New feature or request label Sep 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant