Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement computation of verification shares #6

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

takimata
Copy link

First of all, thanks a lot for your implementation!

I've built a networking layer for it so that the participants can run on different machines. This PR contains the adjustments which were needed for me to use this library.

Overview:

  • Implement the function to compute a participant's IndividualPublicKey after DKG.
    It uses the equation from the paper but is relatively slow.

  • Public fields instead of serde support
    I simply assumed you would prefer to keep the serialization derives out of the code until it is more stable.
    -> Instead of adding serde, I just made the fields public so that API consumers can do this on their own.

    An open question here is whether the API should require consumers to always transmit the participant's index or not. The index is just redundant info given the fact that you have to use an authenticated channel anyways (at least for some messages).

  • The default features expose ed25519-dalek but this was not declared as dependency, leading to a dependency error

This is the first time for me using Rust; please let me know what you think.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant