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

I increase the default MaxRootRotations value for the updater config. #644

Closed
kommendorkapten opened this issue Jul 15, 2024 · 2 comments · Fixed by #645
Closed

I increase the default MaxRootRotations value for the updater config. #644

kommendorkapten opened this issue Jul 15, 2024 · 2 comments · Fixed by #645
Assignees

Comments

@kommendorkapten
Copy link
Member

The current default value is 32, which is quite small. For some scenarios where the repository is large, a refresh from the first root.json may fail.
Note that clients should cache the metadata, to avoid large number of rotations which is inefficient, and clients should embed a "fresh" version of the root to avoid unnecessary rotations, but in some scenarios it's unavoidable, such as when verifying the complete chain of root files.

@kommendorkapten kommendorkapten self-assigned this Jul 15, 2024
@kommendorkapten
Copy link
Member Author

cc @jku

@kommendorkapten
Copy link
Member Author

See theupdateframework/python-tuf#2672 for Python.

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 a pull request may close this issue.

1 participant