BlockchainCommons / BlockchainCommons/Community

Project: Update DIDs for secp256k1 as per BIP39

Ouverte
#128 2 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
good first issue intern project
Langage dominant
Aucune donnée de langage
Étoiles
68
Forks
7
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

This would be a good group project for interns interested in internal standards and self-sovereign identity, and with different skills (writing specs, testing, coding javascript, coding C or rust, writing documentation, etc.)

Few of the emerging W3C DID (Decentralized Identifier) methods are using secp256k1 (the curve that bitcoin uses). In addition, none of that I know are actively implementing Schnorr signatures for k1, and even those in spec-only form are not making some of the choices that BIP40 made, or leverage Schnorr in sufficiently security reviewed libsecp256k1 library. Finally, no one in implementing DIDs currently are leveraging the multisig opportunities Schnorr, including musig2, FROST, adapter signatures, blinded signatures, etc.

In particular:

* Write up use cases for what secp256k1 can offer leveraging k1 multisig to DIDs and Verifiable Credentials.
* Suggest changes and test vectors for existing `did:key` [method](https://w3c-ccg.github.io/did-method-key/) to support k1 and Schnorr.
* Write reference code in javascript and other languages to transorm BIP340 keys into [multibase](https://datatracker.ietf.org/doc/html/draft-multiformats-multibase) & back, and register those with next update to the IETF internet-draft.
* Update DIF (Decentralized Identity Foundation) JSON-LD [SchnorrSecp256k1Signature2019](https://identity.foundation/SchnorrSecp256k1Signature2019/)https://github.com/decentralized-identity/SchnorrSecp256k1Signature2019) spec for BIP340 differences, and update test vectors.
* Update reference javascript library for JSON-LD SchnorrSecp256k1Signature2019 and investigate other implementations.
* Investigate JWT support of k1 Schnorr rather than ECDSA. Possibly submit IETF internet-draft or PR to JWT group to add k1 Schnorr.
* Work toward a CBOR-LD version of SchnorrSecp256k1Signature2019
* Create example DID objects and Verifiable Credentials leveraging SchnorrSecp256k1Signature2019
* Investigate Ristretto255 versions of the above.
* Present these at W3C CCG (Credentials Community Group) and DIF.

Related to this is beginning to be able to `did:btcr` 2.0 someday, see:

* List of [BTCR v0 resources](https://github.com/w3c-ccg/didm-btcr/blob/gh-pages/resources.md)
* Podcast: [The Granddaddy of DIDs: BTCR](https://the-rubric.castos.com/episodes/the-granddaddy-of-dids-didbtcr)

Potential mentors include: @kimdhamilton @csuwildcat @jandrieu @rxgrant

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

Commencez par restreindre le projet à l’un des axes de travail listés, puis lisez les ressources liées sur did:key, multibase, SchnorrSecp256k1Signature2019 et BTCR v0 resources.md. L’issue mentionne du code JavaScript de référence, des vecteurs de test, des spécifications et des exemples, mais n’identifie aucun fichier ni test du dépôt. Définissez un seul livrable et ses critères d’acceptation avant de commencer.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
c, javascript, rust
Domaine
blockchain, cryptography, security
Type d'issue
Fonctionnalité
Difficulté
5/5
Temps estimé
Plus d'une semaine
Activité
À l'abandon
Clarté
À clarifier
Accessibilité débutants
15/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.