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

add frost-client trusted-dealer #309

Merged
merged 3 commits into from
Oct 2, 2024

Conversation

conradoplg
Copy link
Contributor

@conradoplg conradoplg commented Sep 13, 2024

Based on #308

Closes #306

Just manual testing for now:

cargo run -p frost-client -- init -c alice.toml
cargo run -p frost-client -- init -c bob.toml
cargo run -p frost-client -- init -c eve.toml
cargo run -p frost-client -- trusted-dealer --names Alice,Bob,Eve -c alice.toml -c bob.toml -c eve.toml -C ed25519

This PR:

  • Refactors the trusted-dealer crate so its main logic can be imported
    • Feedback is welcome on the API (should we keep Config struct or directly add the params?)
  • Adds a trusted-dealer subcommand to frost-client which uses the trusted dealer logic, but write the key packages to config files.
    • Currently this is mainly useful for tests. For real world usage we might want to add support to frost-server, or/and to exporting the SecretShare as a blob and importing it with e.g. trusted-dealer-import. But we can do that later.

@mpguerra mpguerra linked an issue Sep 26, 2024 that may be closed by this pull request
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 looks good

@natalieesk natalieesk merged commit 140ffe0 into frost-client Oct 2, 2024
@natalieesk natalieesk deleted the frost-client-trusted-dealer branch October 2, 2024 12:48
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 frost-client support to trusted-dealer
2 participants