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

Write tests for the normative statements under section 2.3 Controller Documents in the spec #20

Open
JSAssassin opened this issue Oct 31, 2023 · 0 comments

Comments

@JSAssassin
Copy link
Contributor

JSAssassin commented Oct 31, 2023

Currently we are not testing the data format of the controller documents (its properties such as "verificationMethod" and other verification relationship properties) Do we need to add tests for those? If so, what would be the priority on this?

See - https://www.w3.org/TR/vc-data-integrity/#controller-documents

Regarding the process for obtaining a controller document, are the following steps correct?

  1. Use a did resolver (or is there a universal resolver we can use?) to dereference the "verificationMethod" property of a proof and retrieve the verificationMethod document.
  2. Then, from the verificationMethod document, dereference the "controller" using a did resolver property to obtain the controller document.
@JSAssassin JSAssassin changed the title Write tests for the normative statements under section 2.3 Controller Documents in the spec Write tests for the normative statements under section 2.3 Controller Documents in the spec Oct 31, 2023
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

No branches or pull requests

1 participant