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

Create a did:tdw test suite #87

Open
swcurran opened this issue Aug 2, 2024 · 0 comments
Open

Create a did:tdw test suite #87

swcurran opened this issue Aug 2, 2024 · 0 comments

Comments

@swcurran
Copy link
Collaborator

swcurran commented Aug 2, 2024

It would be good to have a did:tdw test suite, either in this repo or in a separate repo. Proposal:

  • A folder of test cases
  • Each test case in its own folder
  • A readme describing the test case and, if any, special features
  • A folder (or JSON doc?) for each version (or perhaps naming?) with:
    • The DIDDoc with either the {SCID} placeholder for the first version, or the proper ID for the DIDDoc
    • The parameters
    • The keypairs (public and private) needed for authorization -- for all of updateKeys, nextKeyHashes and Witness Keys
    • The timestamp to put on the version
    • The did.jsonl at the conclusion of the processing.

A registrar implementation would iterate through the test cases, and demonstrate that it can produce the same did.jsonl file. A resolver would pick up the did.jsonl files and verify their accuracy.

These are not hard requirements -- just suggestions. The first implementer can adjust the structure as needed.

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