-
Notifications
You must be signed in to change notification settings - Fork 275
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
How to perform modifications on bins handled by succinct hash bin delegations? #2052
Comments
Currently, I think that:
What do the others think? |
Good question. I think that anything that is included in the But something that only affects one bin (like adding a target) can be handled directly by that bin, just like a normal role adding a target. |
Sounds right to me, and I would even say that, in terms of metadata update chains, there is nothing special about hash bin delegation when compared to any other delegation. This means whenever you change the keys or thresholds in delegating metadata (root or targets), you likely want to resign the delegated metadata, if you control the signing keys, which should always be true for hash bin delegation. And you are right, I left a similar comment a while ago in #958 (comment) |
Documenting the experiments on target adding and removal in repository-editor: https://github.com/vmware-labs/repository-editor-for-tuf/blob/main/tufrepo/librepo/repo.py#L131: both need a delegation search to be ergonomic (user should not need to know the exact bin role name to be able to add or remove a target) but interestingly the search can not be the same one in both cases Expiry and version changes need to be automated anyway so the succinct delegation case isn't special. Key changes should not have complications -- although the "succinct private key" might be useful to take into account when looking at key management: it's a single key that signs potentially tens of thousands of roles. repository-editor currently brute forces this with a |
Description of issue or feature request:
Currently, I am working to support succinct hash bin delegation as described in TAP 15 in Repository Editor for TUF.
Repository Editor for Tuf
is a CLI tool that tests the usability of the public API calls provided bypython-tuf
while also providing a good hands-on visualization approach to learn aboutpython-tuf
and theTUF
specification as a whole.While working on it I came up with the following question:
how do we want to approach changes related to delegated bins represented by succinct_roles dictionary inside a targets role?
For example, what should we do when a user wants to do the following in a bin metadata file:
I want to discuss it with everyone who is interested but will especially love to hear the opinions of the maintainers.
The text was updated successfully, but these errors were encountered: