polysig
polysig copied to clipboard
Improve CGGMP KeyInitAck handling
Performing DKG when t < n involves two phases.
- Key init
t - Key resharing
n
In order for participants that are not part of the key init phase to start the key resharing phase in sync we send a KeyInitAck to all other participants once a participant finishes the key init phase.
There is a possible edge case for key init participants that they might receive an ACK before they have finished processing all the messages for the driver, in which case they would likely error with a deserialization error in the Bridge handling code.
We need to make ACK dispatching and receiving more robust.