hyperledger / cacti

Hyperledger Cacti is a new approach to the blockchain interoperability problem
https://wiki.hyperledger.org/display/cactus
Apache License 2.0
339 stars 277 forks source link

feat(core-api): threshold signatures crypto interface #965

Open petermetz opened 3 years ago

petermetz commented 3 years ago

Description

Depends on https://github.com/hyperledger/cactus/issues/296

As a maintainer I want us to have a unified crypto interface for threshold signatures so that it can be re-used in the future instead of ad-hoc solutions sprawling out of control in the codebase over time.

We were sketching things up with Hart and also came to the conclusion that it would be great to have uRSA plugged into Cactus somehow (WASM most likely). This is something that's bee on the menu for quite some time, but today's brainstorming session also reached this conclusion (among others).

Threshold Signature Basics

Branch with skeleton of Typescript Interface (incomplete and incorrect - work in progress)

Acceptance Criteria

  1. A cryptographer approves the interface as it making sense
  2. Test coverage with at least 2 separate implementations of the interface
  3. 100% test coverage (security critical code must be covered through and through with unit tests)

cc: @takeutak @sfuji822 @hartm @jonathan-m-hamilton @AzaharaC @jordigiam @kikoncuo @petermetz @arnab-roy @jagpreetsinghsasan @TonyRowntree @travis-payne

github-actions[bot] commented 3 years ago

:hourglass_flowing_sand: Alright! Looks like we need to wait for some dependencies:

:bulb: Don't worry, I will continue watching the list above and keep this comment updated. To add or remove a dependency please update this issue/PR description.

Brought to you by Dependent Issues (:robot: ). Happy coding!