w3c-ccg / did-spec

Please see README.md for latest version being developed by W3C DID WG.
https://w3c.github.io/did-core/
Other
124 stars 45 forks source link

Should DID syntax allow an empty "method-specific-id"? #198

Closed peacekeeper closed 4 years ago

peacekeeper commented 5 years ago

There is an open question whether a DID without a method-specific-id should be allowed by the ABNF grammar. If yes, then should there be a trailing colon (e.g. did:example:) or not (e.g. did:example)?

This would make it possible to have a DID and DID Document for a DID method itself.

See https://github.com/w3c-ccg/did-spec/pull/189#discussion_r280993911 and https://github.com/w3c-ccg/did-spec/pull/189#pullrequestreview-231512312 and https://github.com/w3c-ccg/did-spec/pull/187#discussion_r278347044.

mwherman2000 commented 4 years ago

I'm glad the ABNF was left the way is: allowing for an empty method-specific-id ...to enable DID Data (metadata) to be returned about a DID Method (at the method level). For example...

image

jandrieu commented 4 years ago

Closing because we've moved it to the DID WG did-spec repo.