Metadata API: Missing key helper functions in Targets/Delegations #1469
Labels
backlog
Issues to address with priority for current development goals
good first issue
Bite-sized items for first time contributors
repository
Related to the repository implementation
Milestone
Uh oh!
There was an error while loading. Please reload this page.
Root class has functionality to add and remove keys for delegated metadata (
add_key()/remove_key()
) but the other delegator Targets does not. It should provide same/similar functionality.Some options:
Targets.add_key(self, role: str, key: Key)
andTargets.remove_key(self, role: str, keyid: str)
I think the former option makes sense so that the Targets API matches Root as well as possible (and Delegations remains mostly a Targets implementation detail).
The text was updated successfully, but these errors were encountered: