taurushq-io / multi-party-sig

Implementation of protocols for threshold signatures
Apache License 2.0
311 stars 120 forks source link

zksch: Better API to handle NIZK and ZK #34

Closed adr1anh closed 3 years ago

adr1anh commented 3 years ago

In the CMP keygen we need to perform the Schnorr proof of knowledge interactively, but for FROST this can be done in a non-interactively. This resulted in a weak API where parameters were confusing.

Instead, we now define Randomness, Commitment, Response and Proof types.

adr1anh commented 3 years ago

I'm still torn on whether Randomness.Prove(...) is the right name for the API or if Randomness.Response(...) is better.