W3C home > Mailing lists > Public > public-credentials@w3.org > June 2020

Re: did:key questions (was: DHS SVIP Blockchain/DLT/SSI Cohort - Multi-Product Phase 1 Interop Artifacts/ Scaffolding / Information)

From: Melvin Carvalho <melvincarvalho@gmail.com>
Date: Fri, 12 Jun 2020 17:06:33 +0200
Message-ID: <CAKaEYhL+r4UL8aEUyHrkVfZ85mKP5vAvSrkkhV7vXDAwywE5Zw@mail.gmail.com>
To: Manu Sporny <msporny@digitalbazaar.com>
Cc: W3C Credentials Community Group <public-credentials@w3.org>
On Fri, 12 Jun 2020 at 15:10, Manu Sporny <msporny@digitalbazaar.com> wrote:

> On 6/12/20 8:28 AM, Dan Bolser wrote:
> > Just reading this:
> > https://w3c-ccg.github.io/did-method-key/
> >
> > Which looks nice, but I don't understand how resolution from DID to DID
> > doc happens.
> >
> >     The creation of a DID Document is also performed by taking the
> >     public key value and expanding it into DID Document
>
> Hi Dan, I'm one of the Editors for that specification. I'm going to
> attempt to answer your questions below:
>
> > Ah... is the DID doc just a version of the key in a different format?
>
> Yes, more or less. The DID Document is deterministically generated from
> the DID. The goal of did:key is to be THE simplest and easiest to
> implement DID Method.
>
> > e.g. no other fields except those directly derived from the key are
> allowed?
>
> Yes.
>
> > Sorry if that's obvious (sorry if this is a dumb question).
>
> No dumb questions... and this is a very good question and gets to the
> heart of what did:key is about.
>

Hopefully this is neither a dumb question:

Could a did:key Document be embedded in a regular JSON-LD document or "Data
Island"

For example could I say "Alice has a did:key:multihash document"

What would be a way to link Alice and the did:key, if there is one?

In Turtle:

<#Alice> *???* <did:key:multihash> .

In JSON-LD

{
  "@id": "#Alice",
  "*???*":  [{ "@id" : "did:key:multihash" }]
>

What is the part labeled with 3 question marks?


>
> > In this sense it's essentially a 'mock' or 'placeholder' DID document?
>
> I wouldn't say it's a 'mock' or 'placeholder' DID document. It is a
> bonafide DID Document that can be used in production systems that don't
> require key rotation. For example, very useful in test environments and
> systems that use short lived DIDs (throw-away pairwise relationships,
> etc.).
>
> -- manu
>
> --
> Manu Sporny - https://www.linkedin.com/in/manusporny/
> Founder/CEO - Digital Bazaar, Inc.
> blog: Veres One Decentralized Identifier Blockchain Launches
> https://tinyurl.com/veres-one-launches
>
>
Received on Friday, 12 June 2020 15:07:03 UTC

This archive was generated by hypermail 2.4.0 : Friday, 12 June 2020 15:07:04 UTC