Skip to content
This repository has been archived by the owner on Oct 29, 2019. It is now read-only.

[DID ABNF] How can we support DID Resolution requirements like did:?ping and did:?methods? #171

Closed
mwherman2000 opened this issue Feb 20, 2019 · 10 comments
Labels
elsewhere Belongs on a different spec

Comments

@mwherman2000
Copy link

mwherman2000 commented Feb 20, 2019

  1. How can we support DID Resolution proposed requirements like:
  1. The current approach for defining the DID Resolution inputs and outputs in the did-spec spec and not in the did-resolution spec I believe is going to be problematic. See point 1 above as an example. Is it still best/proper to define the syntax for DID Resolution in a document that is separate/different from the DID Resolution spec?

  2. Point 2 in Is "DID Resolver" the correct name for the piece of software that performs DID resolution? w3c/did-resolution#29 (comment) is another example of the "wrong document" problem described in point 2 above.

@peacekeeper
Copy link
Member

@mwherman2000 As we already discussed in other issues, I agree that "pinging" (see w3c/did-resolution#27) and "listing supported methods" (see w3c/did-resolution#26) could be useful features for a DID Resolver, BUT:

  • You are again somehow mixing up DID syntax with the DID Resolution process or protocol. Those are two different things, as we already discussed in Should the definition of a DID Reference be moved to the DID Resolution spec? #167.
  • Your phrase "the syntax for DID Resolution" doesn't make sense to me. Or could you explain what you mean by that? DIDs or DID References or DID URLs are strings that follow a certain syntax, described by an ABNF. DID Resolution on the other hand is a process or protocol. There is no such thing as a "syntax for DID Resolution".
  • The title of this issue says "[DID ABNF]", but the two proposed features have nothing to do with an ABNF.
  • Even if we decide that these two features are useful, they may still not end up in either of the two specs, since we could decide that they are implementation specific features, rather than something that needs to be standardized. (I could see arguments for both)

@mwherman2000
Copy link
Author

We also need to consider what the HTTP bindings will be for the DID Resolution protocol: w3c/did-resolution#32

@rhiaro rhiaro added clarify There is consensus, but the spec needs clarifying elsewhere Belongs on a different spec and removed clarify There is consensus, but the spec needs clarifying labels Mar 1, 2019
@rhiaro
Copy link
Member

rhiaro commented Mar 3, 2019

Closing, because this belongs in the did-resolution spec/issues, as variously linked in the thread.

@rhiaro rhiaro closed this as completed Mar 3, 2019
@mwherman2000
Copy link
Author

No, this can't be closed because the ABNF specification for DIDs (including any DID Resolution implications) is part of the did-spec.

...or move all of the DID Resolution components of the ABNF specification to the DID Resolution specification.

Please re-open this and leave it open until this is resolved.

@peacekeeper @talltree

@mwherman2000
Copy link
Author

Additional reference: w3c/did-resolution#32

@dmitrizagidulin
Copy link

@mwherman2000 We have a lot of good discussion and implementation ahead of us, with regards to DID resolution and resolvers. However, the url specs for resolvers are completely out of scope for either repo. They’re just regular urls to helper services some people might run. The resolver apis will also differ from resolver to resolver.

@mwherman2000
Copy link
Author

@dmitrizagidulin How and where are these boundaries defined?

@mwherman2000
Copy link
Author

w3c/did-resolution#32 perhaps combines two separable issues: a) HTTP/URL binding and b) specific DID URL constructions. The latter is definitely within the scope of both specs.

It is more illuminating to look at them together.

@talltree
Copy link
Contributor

talltree commented Mar 4, 2019 via email

@mwherman2000
Copy link
Author

mwherman2000 commented Mar 4, 2019

  1. The DID spec can specialize (but not violate) the ABNF in RFC 3986.
  2. If the DID Resolution spec needs to define ABNF for a URL-based
    syntax for DID resolvers, it can specialize (but not violate) the ABNF in
    the DID spec.

Agreed. This was my expectation from the start and the reason why I posted these cross-over issues:

  • to help ensure the DID spec ABNF accommodates the requirements in the DID resolution spec.

...and, to reconfirm my earlier comments, at this stage when the concrete (aka spec text) is fluid but starting to set for both the DID spec and the DID resolution spec, we need to make sure the DID spec provides in the DID spec ABNF all of the syntactic capabilities required by the DID resolution spec. I believe we can only achieve this be reviewing the patterns in the proposed DID resolution use cases and validating the DID spec ABNF against these patterns. I'm sure we'll discuss this in Thursday's DID resolution call.

NOTE the new tabular format for the use cases in w3c/did-resolution#32

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
elsewhere Belongs on a different spec
Projects
None yet
Development

No branches or pull requests

5 participants