decentralized-identity / .well-known

Specs and documentation for all DID-related /.well-known resources
https://identity.foundation/.well-known
Apache License 2.0
56 stars 15 forks source link

Expand DID Configuration to handle more DID-related config items #37

Open csuwildcat opened 4 years ago

csuwildcat commented 4 years ago

As we look at how to make Credential Manifests discoverable, we have an opportunity to reuse the DID Configuration resource as the place to do that, as well as the things related to it. This might include a list of CMs (or references to them), details about issuance protocols (OIDC endpoints, DIDComms connection details, etc.). I think reusing this for more config stuff makes sense, given it is appropriately named/situated.

OR13 commented 4 years ago

The current resource structure:

{
  "@context": "https://identity.foundation/.well-known/contexts/did-configuration-v0.0.jsonld",
  "entries": [ VC_DATA_MODELs ]
}

Proposed structure:

{
  "@context": "https://identity.foundation/.well-known/contexts/did-configuration-v0.0.jsonld",
  "linked_dids": [ VC_DATA_MODELs ],
  "supported_protocols": [ PROTOCOLs],
  "credential_manifests": [ CREDENTIAL_MANIFESTS]
}
OR13 commented 4 years ago

potential issue is that the supported protocols implicitly apply to all linked dids...

OR13 commented 4 years ago

Link to related hackmd...https://hackmd.io/QCJ3WDcLSXWp8t3hAQ387A

csuwildcat commented 4 years ago

potential issue is that the supported protocols implicitly apply to all linked dids...

Good point - I wonder if there would need to be something in the issuance flow that specifies which DID the user wants to have a given cred issued from?

OR13 commented 4 years ago

We can resolve this issue by adding a member of the supported_protocols objects called linked_dids... which tells you which linked did support which protocols... in the future... this kind of thing should be discoverable from the DID... not some well known centralized resource...

OR13 commented 4 years ago

protocol data model...

name: string
documentation: URI
version: string

additional properties false, really don't want people to overload that object.

csuwildcat commented 4 years ago

Resolved:

OR13 commented 4 years ago

well known did configuration now blocked by:

https://github.com/decentralized-identity/presentation-exchange/issues/94

OR13 commented 3 years ago

I would only be in favor of adding URLs at this time, this issue is going to stick aroudn until we decide which URLs to add or we close this issue :)