W3C home > Mailing lists > Public > public-credentials@w3.org > January 2022

Commissioning support in keytool-cli for did:key/secp keys?

From: Christopher Allen <ChristopherA@lifewithalacrity.com>
Date: Thu, 13 Jan 2022 12:50:04 -0800
Message-ID: <CACrqygAnay=Duoj4o9QqnDqcX=y4Jcarg4z7-1E9KWUek-rn1g@mail.gmail.com>
To: Credentials Community Group <public-credentials@w3.org>
Blockchain Commons has an open-source project keytool-cli  (
https://github.com/BlockchainCommons/keytool-cli) written in C/C++ that
given a random seed (for instance,
https://github.com/BlockchainCommons/seedtool-cli) and an HD path will
derive a variety of hd-keys, base58 addresses, etc. (full list of output
formats:
https://github.com/BlockchainCommons/keytool-cli/blob/master/MANUAL.md#formats
).

For instance:

```
keytool \
  --seed 1eb5338edac6fae54cbb172091ae6c1a \
  master-key \
  master-key-base58
```

We would like to flat-rate commission a PR to this project to offer as
output the public key formats used by did:key for secp-based keys, along
with tests, under our open software developer contract
https://github.com/BlockchainCommons/Open-Development/tree/master/open-software-developer-contract,
with the final project licensed BSD-2-Clause Plus Patent License.

If someone is interested in tackling this relatively simple and well-scoped
project, let me know.

-- Christopher Allen

P.S. Future work could include adding schnorr signature support for did:key
(a much harder project in C/C++). Currently keytool-cli can only sign
bitcoin PSBTs.
Received on Thursday, 13 January 2022 20:51:54 UTC

This archive was generated by hypermail 2.4.0 : Thursday, 13 January 2022 20:51:55 UTC