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

frost-client, dkg: add support for DKG with server #423

Merged
merged 2 commits into from
Jan 15, 2025
Merged

Conversation

conradoplg
Copy link
Contributor

@conradoplg conradoplg commented Jan 6, 2025

Closes #218

  • Adds support for using a FROST server with the dkg tool
  • Use that to add support for using a FROST server with a new frost-client dkg command
  • Also fixes HTTPS support in some places. which I noticed while testing

To run it (example, change params as required):

  • Run init for each participant and import each other's public keys (probably easier to run a trusted-dealer run instead just to set things up)
  • cargo run -p frost-client -- dkg -d 'My cool FROST group' -s localhost:2744 -S 55e4f830521ff9966618d3eb07ea366433d50ef40f497bde530c307d7221f605,6192918dcdea453fb7010b146dbd2e67b1b1f6a6804d91122996f229e7376e4d,5601f6c77532a670244cf49e4f3b24b1e1777b012e8fb8ab01ed9a30b065852a -t 2 -C redpallas -c alice.toml
  • cargo run -p frost-client -- dkg -d 'My cool FROST group' -s localhost:2744 -t 2 -C redpallas -c bob.toml
  • cargo run -p frost-client -- dkg -d 'My cool FROST group' -s localhost:2744 -t 2 -C redpallas -c eve.toml

Copy link
Contributor

@natalieesk natalieesk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is great. Note that the integration test will be fixed in another PR.

@natalieesk natalieesk merged commit ef37c44 into main Jan 15, 2025
5 checks passed
@natalieesk natalieesk deleted the dkg-server branch January 15, 2025 18:00
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.

Add server support to DKG
2 participants