-
Notifications
You must be signed in to change notification settings - Fork 99
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
Details on the use of method-specific DID parameters #36
Comments
The issue relates to Section 4.3: Generic DID Parameter Names, and Section 4.4: Method-Specific DID Parameter Names. Please start by reading the issue description at w3c-ccg/did-spec#200. Also the two comments listed there. I propose to start the discussion by focusing on these two questions:
The answers currently reflected in sections 4.3 and 4.4 are:
Are there other proposals? |
Related to this is #67 (comment) - making it syntactically evident which fields in a DID are about the DID and which are application data. |
I presume this issue is blocked on the matrix parameter discussion. |
I want to voice my opinion that while I think that these should be allowed, as an implementer, the use of these should be strongly discouraged unless absolutely necessary. This is to the point where for a method that opts to use many method-specific parameters, I'd likely not implement it in a resolver. In a universal resolver implementation, this leads to more complex code that needs to be written and I believe it could create feature silos (aka DID method A supports feature A but DID method B doesn't so they can't interoperate reliably without modifying assumptions between the DID methods). Inclusion of this should note this in non-normative language. |
This issue is now waiting on a PR from @peacekeeper and I on slight revisions to the ABNF to support the new approach to parameters, i.e., encoding DID parameters as query parameters. Once that's done, we can close on the question of what the prefix should be for method-specific DID parameters. On the 2020-05-12 DID WG call, @kdenhartog noted that, with the addition of the DID Spec Registry, it should be easier for method-specific DID parameters to be supported, so it may address his concerns expressed above. |
@csuwildcat ION and Element use Method specific initial-state parameters... we should provide an example for the working group when that becomes possible. See https://identity.foundation/sidetree/spec/#long-form-did-uris
|
For method specific DID parameters, I propose we go with the convention |
My current understanding of how we'd process these would be that a dereferencing function would handle this in most cases. Would this mean that the dereference function is the one that's "compliant" with a did method? |
Based on several recent conversations with implementers, and an in-depth discussion between the editors, we have come down in favor of not using any namespacing for DID parameters. This effectively means that there will only two categories of DID parameters:
To the extent this encourages registration of common parameter names in the DID Specification Registries, that is perceived as generally helpful to interoperability. If anyone has a strong objection to this resolution of the topic of method-specific DID parameters, please comment ASAP, otherwise Markus and I plan to submit a PR to "make it so". |
Awesome! Thank you to @talltree and @peacekeeper for driving this to a final resolution. When can we start the process of registering new DID parameters? |
@csuwildcat That is a question for @OR13 and @msporny, the editors on the DID Specification Registries doc. But I believe the answer is that you could submit a PR at any point. |
@csuwildcat I also think you can just create a PR that adds a new DID parameter to this section: https://w3c.github.io/did-spec-registries/#parameters. Similar to this one w3c/did-extensions#61 where I added the core DID parameters. You just add another one below those, with an example and a link to the normative definition. |
Thanks for driving this home @talltree and @peacekeeper I am satisfied with the proposed solution set out by Drummond above #36 (comment) From what I can tell this wouldn't lead us to any sort of actions to be taken in the specification and it's up to parameter authors to register them properly (or add them to the spec as Markus pointed out). Does this mean we can close this issue with no further action soon? |
I'm planning to work on a PR for this in the next few days. |
No comments since marked pending close, closing |
@peacekeeper moved from CCG (w3c-ccg/did-spec#200)
The text was updated successfully, but these errors were encountered: