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

Validate the number of commitments and signature shares #14

Merged
merged 2 commits into from
Oct 1, 2024

Conversation

pdyraga
Copy link
Member

@pdyraga pdyraga commented Jun 19, 2024

The number of signature shares should at least be equal to the group threshold when aggregating them. We now validate their number to produce a clear error message as soon as possible. Also, the number of commitments and signature shares should be the same so that the produced signature is valid.

The number of signature shares should at least be equal to the group threshold
when aggregating them. We now validate their number to produce a clear error
message as soon as possible. Also, the number of commitments and signature
shares should be the same so that the produced signature is valid.
@pdyraga pdyraga requested a review from eth-r June 19, 2024 15:23
Copy link
Member

@lukasz-zimnoch lukasz-zimnoch left a comment

Choose a reason for hiding this comment

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

One question, otherwise LGTM!

frost/coordinator.go Show resolved Hide resolved
In the previous commit, a validation whether the number is not below the
threshold was added. After adding the validation whether the number is
not higher than the group size, we do a full coverage of the
MIN_PARTICIPANTS <= NUM_PARTICIPANTS <= MAX_PARTICIPANTS condition
from the FROST paper.
@lukasz-zimnoch lukasz-zimnoch merged commit f54acb8 into main Oct 1, 2024
2 checks passed
@lukasz-zimnoch lukasz-zimnoch deleted the validate-shares branch October 1, 2024 12:51
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.

2 participants