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

provide user-friendly verifyDelegate wrapper #164

Merged
merged 1 commit into from
Sep 22, 2022

Conversation

patflynn
Copy link
Collaborator

WIP for #60

This wrapper provides a more user-friendly way to verify the delegate with the root role. We still need the more clunky version as targets can specify their own delegates and that model won't work against this nicer API.

There's an opportunity to use the Role.Name enum to type the TufMeta, which I'll add to the list.

Signed-off-by: Patrick Flynn patrick@chainguard.dev

Signed-off-by: Patrick Flynn <patrick@chainguard.dev>
@patflynn patflynn merged commit 86b5a33 into main Sep 22, 2022
@patflynn patflynn deleted the more-usable-verify-delegate branch September 22, 2022 11:17
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 this pull request may close these issues.

2 participants