Re: Proposed work item: did:key DID Method

On 11/24/19 5:54 AM, Melvin Carvalho wrote:
> Not to be pedantic, but is there an actual working example of this 
> method?


with a minimal test:

Orie (Transmute) has also put together an implementation here:

with a demo here:

> The above JSON gives syntax errors (even after removing the "..." 
> parts)

Yes, I was just providing a rough sketch of how we could achieve what
Orie was asking for... it wasn't meant to be a fully baked working
example since it speculates on where the DID WG might land on whether or
not to allow two parallel key expressions for the same key (base58 and
JWK, for example).

> But controller doesnt seem to be explained anywhere in that 
> document.

Yes, the document is out of date... things are moving quickly in the DID
WG and we're trying to see where things settle before putting something
permanently into the Linked Data Security vocabulary/context. We've
found in the past that when we add stuff that's experimental, and note
that it's experimental, that developers end up relying on it and then we
can't remove the experimental stuff... ever. So, the published
vocabularies and JSON-LD Contexts are usually the *last* thing to get
updated... typically during CR. In the meantime, we publish static
copies of the documents via stuff like:

which is published here:

That package can be npm installed and then used with the JSON-LD
document loader mechanism to automatically load the latest security
context, example here:

Hope that helps... don't expect all of this stuff to be production ready
yet... we're putting these items into the group early in the process so
that we can work out the kinks together. We've used it internally, we're
pretty sure it works for our use cases, we still need to see if others
in this group can find issues with the proposal and see if they have
other use cases they want the spec to cover. Expect the spec and design
to change over the next couple of months. :)

-- manu

Manu Sporny (skype: msporny, twitter: manusporny)
Founder/CEO - Digital Bazaar, Inc.
blog: Veres One Decentralized Identifier Blockchain Launches

Received on Sunday, 24 November 2019 15:57:46 UTC