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

Define the exact contents and structure of DID Resolution Metadata #14

Open
pfeairheller opened this issue Jun 9, 2023 · 2 comments
Open

Comments

@pfeairheller
Copy link
Member

A defining feature of this DID method is the inclusion of end verifiable KERI artifacts for the current key state and service endpoints. This data will be returned in the DID Resolution Metadata and can be used any any consumer to verify the contents of the DID Document themselves (thus end verifiable).

We need to describe how the CESR artifacts that accompany all KERI messages (key events, rpys, etc) will be encapsulated in the JSON structured DID Resolution Metadata. In addition, for each mapping of a KERI feature to a DID Doc feature, the artifacts from that KERI feature must be included in the definition of the resolution metadata.

@peacekeeper
Copy link

peacekeeper commented Jun 15, 2023

Note that there is (1) DID Document Metadata and (2) DID Resolution Metadata.

The difference is that (1) is metadata about the DID and the DID document, whereas (2) is metadata about the resolution process that just happened.

My feeling is that with regard to KERI, things like key events and key state should go into (1), and e.g. which OOBIs or which watchers were used during a specific resolution process should go into (2).

@SmithSamuelM
Copy link

Suggestion:

We add a route/resource endpoint in the cloud agent mailbox API for a given AID that any did resolver can query which will add any stuff the controller wants to add to the did doc. So the minimum required are the service endpoints of the witnesses as we do currently but then if a given controller populates the endpoint then other stuff will get pulled from the database attached to the endpoint and put in the did doc.

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

3 participants