bcgov / trustdidweb

Trust DID Web (did:tdw)
https://bcgov.github.io/trustdidweb/
Apache License 2.0
12 stars 6 forks source link

How do we support the “whois” Verifiable Presentation functionality? #9

Closed swcurran closed 2 months ago

swcurran commented 4 months ago

For other web-based DID methods, we proposed that the DID URL <did>/whois would resolve to a VP containing VCs for which the DID is the credentialSubject.id, and the VP proof is from the DID.

How do we do that for this DID method?

Obviously, one option is to do exactly what is proposed above.

Another possibility is “linked-vp”. Need to add a reference for that.

brianorwhatever commented 3 months ago

This is what a a LinkedVerifiablePresentation would look like that can accomplish this goal. It has a serviceEndpoint in it that is a direct URL to get the VP. The #whois could simply be a convention recommended by this method

swcurran commented 2 months ago

This is defined with the draft specification sufficiently -- https://bcgov.github.io/trustdidweb/#did-url-resolution

Closing.