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

missing comments/external documentation on usage preconditions? #5923

Open
bennetyee opened this issue Oct 29, 2024 · 0 comments
Open

missing comments/external documentation on usage preconditions? #5923

bennetyee opened this issue Oct 29, 2024 · 0 comments

Comments

@bennetyee
Copy link
Contributor

pub(crate) fn start_accumulating(&self, vm: VerificationMatrix<G>) -> Result<()> {

comments / separate documentation should exist for recommendations for how to use this / assumptions / interface requirements.

all shareholders must get the same verification matrix, since otherwise different shareholders will accept different zero-hole polynomials and the shareholders will diverge and be unable to reconstruct the master secret unless some additional checking is done prior to committing to the dimension switched values. this is not the responsibility of the secret sharing code, but the user of the library -- presumably there will have to be consensus on what the verification matrix is among all the shareholders, so it's natural to just require a hash of the verification matrix to be committed to the blockchain, but other approaches would be fine too.

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

No branches or pull requests

1 participant