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

Add delegations support #2

Conversation

raphaelgavache
Copy link
Member

Original PR theupdateframework#137

Will squash on merge

raphaelgavache and others added 20 commits July 12, 2021 23:27
…n-client

Iteration on "Support delegations in client"
* Clarify validation of signing role & metadata type

* Add/update comments

* Validation happens on both decode & encode

* Bubble up an error if MatchesPath is called on an invalid DelegatedRole

* Match spec for delegation traversal

* Comment in the iterator

* Add diamond test case

* Revert "Match spec for delegation traversal"

This reverts commit 15fee6b.

* Rename IsTopLevelRole back to ValidRole to avoid breaking change
* Add back lower case check

* Initialize with size and comment

* Simplify iterator initialization
…ec (#6)

(instead of true cycle detection with "edges seen").

This reverts commit cfbb024.
Co-authored-by: Ethan Lowman <[email protected]>
* Update name

* Rename file to target

* Nits

* Move verifier in iterator and rename fields
@raphaelgavache raphaelgavache merged commit 15dbcaa into DataDog:master Jul 19, 2021
@raphaelgavache raphaelgavache deleted the raphael/support_delegations_client_dd branch July 19, 2021 09:35
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.

3 participants