W3C home > Mailing lists > Public > public-credentials@w3.org > November 2019

Re: Proposed work item: did:key DID Method

From: Orie Steele <orie@transmute.industries>
Date: Sun, 24 Nov 2019 14:27:36 -0600
Message-ID: <CAN8C-_+Xvvjx8J52+FN87AAd8JSdVFROCvZPoGPPiwUCYCCyPw@mail.gmail.com>
To: Christopher Allen <ChristopherA@lifewithalacrity.com>
Cc: Manu Sporny <msporny@digitalbazaar.com>, Melvin Carvalho <melvincarvalho@gmail.com>, W3C Credentials Community Group <public-credentials@w3.org>


There is a CLI for creating test wallets, a web UI for using wallet keys in
the browser, an api for handling did resolution, and it's in the universal
resolver: https://uniresolver.io/#did:github:OR13

Before anyone raises this issue, yes, this is a test method, and yes, its
entirely possible to alter the did document if you have commit access to
the user / github organization repo.... Here is mine:

It's all javascripts / express / react, Open Source / Apache-2 and
maintained at the DIF, our hope was that since this community uses GitHub
so much, this might be a helpful tool for developing experimental features,
such a PGP support, which we have added support for sign/verify +
encrypt/decrypt in the cli and web demos.

The wallet format that it uses is the same format we use for the web demo
of element:


You would need to define a JSON-Schema for the Schnorr key, something like:


Then add code to the CLI to generate the keys and add them to the wallet:


Then you can export a subset of the keys, and import them into the web app
if you plan to demo their use in a browser:

ghdid exportWebWallet ~/Desktop/web.wallet.enc

Alternatively, you can implement a cli demo, similar to the PGP commands


Just to be clear, these wallet portability features are for testing
purposes, we're excited for WebKMS or some more standard portable encrypted
at rest JSON format for wallet files that hold many different key types, if
anyone can recommend one, we'd consider replacing our current wallet



On Sun, Nov 24, 2019 at 1:49 PM Christopher Allen <
ChristopherA@lifewithalacrity.com> wrote:

> On Sun, Nov 24, 2019 at 11:05 AM Orie Steele <orie@transmute.industries>
> wrote:
>> So in summary, did:key, did:v1 and did:github all support these proof
>> purposes today, but we really need to document them in order to encourage
>> others to add support.
> So is there an actual implementation of did:github somewhere? I had looked
> for it but didn’t find it.
> I’m particularly interested in adding secp256k1  Schnoor musig to it as is
> a great example of a place where aggregated multiple signatures and
> threshold signatures that also offer privacy properties would be quite
> useful.
> — Christopher Allen [via iPhone]

Chief Technical Officer

Received on Sunday, 24 November 2019 20:27:50 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:19:03 UTC