Did-core: When is the DID URI getting constructed

Created on 3 May 2021  Â·  8Comments  Â·  Source: w3c/did-core

It is unclear at which point the DID URI is created. Is after persisting the DID document?

PR exists cr-comment

Most helpful comment

@Kalanamith wrote:

Yes It will be super helpful to add this clarification in the specification.

Ok, I will add a note to the specification explaining when a DID URI gets constructed and referring to the DID Method Create operation (as @peacekeeper mentioned).

All 8 comments

It depends on the DID Method. For DID Methods that are derived from a public-private keypair, you could argue that the DID URI is created the moment the keypair is generated. For DID Methods where the identifier has no relation to the keypair, it's probably when the DID is registered on the Verifiable Data Registry (e.g., database, distributed ledger, etc.).

So, the answer is "it depends on the DID Method".

Do you think it would be helpful to have this clarified in the specification?

HI @msporny Yes It will be super helpful to add this clarification in the specification.
It will enable the readers to

  • Understand the DIID creation process
  • Helps to developers to propose system designers operates on top of DID principles with verifiable credentials
    Thanks

@Kalanamith I always found it most helpful to assume that the DID comes into existence after the "create" DID operation has been executed. This "create" operation abstracts away all the method-specific details.

It is true that sometimes the DID is already known once keys are generated, and before the DID document has been "persistent" or "registered", but in my mind those concepts should be considered intermediary steps that don't always exist the same way across all DID methods, and they are all part of the overall "create" DID operation.

So the universal, abstract way of thinking about it: "create DID and DID document" -> now you know the DID.

@Kalanamith wrote:

Yes It will be super helpful to add this clarification in the specification.

Ok, I will add a note to the specification explaining when a DID URI gets constructed and referring to the DID Method Create operation (as @peacekeeper mentioned).

@msporny Have you added that note? Can this issue be closed?

The issue was discussed in a meeting on 2021-05-25

  • no resolutions were taken

View the transcript

3.6. When is the DID URI getting constructed

_See github issue #729._

Manu Sporny: this just requires me to write some text
… if someone else wants to take a look at that, please do

The issue was discussed in a meeting on 2021-06-08

  • no resolutions were taken

View the transcript

5.3. When is the DID URI getting constructed

_See github issue #729._

Manu Sporny: still waiting on me, easy one I just havne't done it

Brent Zundel: next 625

PR #765 has been raised to address this issue. This issue will be closed once that PR is merged.

Was this page helpful?
0 / 5 - 0 ratings