[NCC-E008263-XLV] frost-core
: Minimum Participant Constraint Enforcement Improvements
#443
Milestone
frost-core
: Minimum Participant Constraint Enforcement Improvements
#443
generate_secret_polynomial
contains common input validation for min/max_signers, but these validations happen too late. In particular,split()
can panic since it passesmin_signers -1
.split()
One idea is to create a type e.g. "ValidConfig" which can only be constructed with a valid configuration and use that everywhere that is needed.
The text was updated successfully, but these errors were encountered: