digital-credentials icon indicating copy to clipboard operation
digital-credentials copied to clipboard

Registry inclusion criteria

Open marcoscaceres opened this issue 1 year ago • 12 comments

We need to come up with a registry governance and inclusion criteria.

For inclusion, at a minimum, there should be implementation support, and we talked about having some privacy checks too.

marcoscaceres avatar Jan 25 '24 01:01 marcoscaceres

For some inspiration: https://datatracker.ietf.org/doc/html/rfc8126#section-4.6

I would suggest assigning some experts, and writing advice for them directly into the spec for the registry.

The advice can be simple, or complicated. I would recommend not allowing "links to expired drafts, or drafts from SDOs that do not represent consensus", this would exclude CG reports, and I-Ds.

OR13 avatar Jan 25 '24 13:01 OR13

Thanks @OR13! Adding for reference: https://www.w3.org/2021/Process-20211102/#registries

Which defines the W3C requirements for a Registry.

We can copy/🍝 and adapt the text from the Permissions Registry, which should be similar enough.

marcoscaceres avatar Jan 27 '24 02:01 marcoscaceres

Just from call on Feb 8:

  • selective disclosure
  • encrypted response
  • Structure that is "Web IDL" compatible.

marcoscaceres avatar Feb 08 '24 00:02 marcoscaceres

Protocol needs to provide detail in the query such that the browser can understand what is a compatible credential and what are the specific data elements being requested, such that the UA can help the user to understand the request prior to selecting a wallet/credential.

npdoty avatar Feb 08 '24 00:02 npdoty

Protocol needs to enable passing an indication to the user to explain the context of the request (who is requesting it, why, with what privacy protections, etc.), and/or the elements in the webpage that provided that information.

npdoty avatar Feb 08 '24 00:02 npdoty

To expand on the last point from @marcoscaceres here which I believe was related to a point I raised. It would be a failure if say the response from the .get() API for a specific protocol expected additional out of band steps for the relying party to actually get the response, such as following a redirect or calling an API etc. I'm unsure how to articulate that as a crisp registry requirement at the moment though.

tplooker avatar Feb 08 '24 00:02 tplooker

Thinking more about this, I am not sure it makes sense to create a registry at all.

Instead it might be better to internalize a fixed set of supported protocols, and require a full document update in order to add further support.

If there is more than 1 protocol listed, there MUST be a single mandatory to implement.

OR13 avatar Feb 08 '24 20:02 OR13

Thinking more about this, I am not sure it makes sense to create a registry at all.

The other thing that I think is worth considering is that the more protocols we have, the fewer interoperable implementations we'll have, and fragment the ecosystem. So, more here isn't necessarily better.

samuelgoto avatar Feb 08 '24 20:02 samuelgoto

From #43:

support for selective disclosure could be mandated to be included in the registry for "protocol"

timcappalli avatar Jul 29 '24 17:07 timcappalli

Thinking more about this, I am not sure it makes sense to create a registry at all.

The other thing that I think is worth considering is that the more protocols we have, the fewer interoperable implementations we'll have, and fragment the ecosystem. So, more here isn't necessarily better.

+1

Sakurann avatar Aug 01 '24 01:08 Sakurann

First stab at some inclusion criteria: https://github.com/WICG/digital-credentials/pull/157

marcoscaceres avatar Aug 07 '24 04:08 marcoscaceres

@npdoty, @OR13, and @Sakurann, would really like your input on #157 as it would affect you/the groups you are involved in directly.

marcoscaceres avatar Aug 13 '24 07:08 marcoscaceres

I'd like to see the part(s) that talk about the "specification MUST be a stable URL that points to the authoritative source for the protocol, including validation rules" also include some criteria about the authoritative source at that URL being open and freely available.

There's been a lot of talk about developer ergonomics in the context of these protocol identifiers. One of the least ergonomic things a developer can run into is hitting a pay-walled document when just trying to do their job.

bc-pi avatar Jan 24 '25 22:01 bc-pi

Would a lack of open documentation for developer reference preclude inclusion of e.g. mdoc-related identifiers from the registry? I'm not saying I agree or disagree with that, just thinking through potential implications.

MasterKale avatar Jan 25 '25 18:01 MasterKale

Would a lack of open documentation for developer reference preclude inclusion of e.g. mdoc-related identifiers from the registry? I'm not saying I agree or disagree with that, just thinking through potential implications.

Only to the extent that ISO would choose to make such document(s) available at a cost.

bc-pi avatar Jan 27 '25 21:01 bc-pi

@MasterKale

Would a lack of open documentation for developer reference preclude inclusion of e.g. mdoc-related identifiers from the registry? I'm not saying I agree or disagree with that, just thinking through potential implications.

No. There's nothing preventing MDN (or anyone really) from writing documentation.

@bc-pi

Only to the extent that ISO would choose to make such document(s) available at a cost.

Right, or maybe for free? Or something the community documents on MDN? (I don't know if they would have any issue with that).

marcoscaceres avatar Apr 09 '25 19:04 marcoscaceres