-
Notifications
You must be signed in to change notification settings - Fork 2
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
Run the aux gen protocol when resharing to a new signing committee #977
Conversation
#[derive(Debug)] | ||
pub enum DkgSubsession { | ||
pub enum Subsession { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I renamed this enum because it is no longer only used for DKG
crates/testing-utils/Cargo.toml
Outdated
@@ -20,7 +20,7 @@ tokio ={ version="1.39", features=["macros", "fs", "rt-multi-thread" | |||
axum ={ version="0.7.5" } | |||
entropy-shared ={ version="0.2.0", path="../shared" } | |||
entropy-kvdb ={ version="0.2.0", path="../kvdb", default-features=false } | |||
entropy-tss ={ version="0.2.0", path="../threshold-signature-server" } | |||
entropy-tss ={ version="0.2.0", path="../threshold-signature-server", features = ["test_helpers"] } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unrelated to this PR but i needed this for testing locally
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good stuff 👍
Closes #976
When running the reshare protocol, we also need to re-generate aux info and store the aux info together with the new keyshare.
When running the refresh protocol (which is just a reshare with the parties not changing), we need to store the old aux info together with the new keyshare - as both are stored under the same key in the key-value db.