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

Maybe a bug in function compute_modulus in Class DistributedPaillier #4

Open
Jinstorm opened this issue Nov 4, 2024 · 3 comments
Open

Comments

@Jinstorm
Copy link

Jinstorm commented Nov 4, 2024

At https://github.com/TNO-MPC/protocols.distributed_keygen/blob/main/src/tno/mpc/protocols/distributed_keygen/distributed_keygen.py#L1231, in Class DistributedPaillier class function compute_modulus .
image
Should it be shares.p = Shares.P(p_additive[i], prime_candidate_p[i].get_shares()) instead? To replace prime_candidate_q[i].get_share()

@Quitlox
Copy link
Contributor

Quitlox commented Nov 4, 2024

Well spotted, this is indeed a mistake. It's already been resolved in a new version that is currently in the works :)

@ThomasTNO
Copy link
Member

Well spotted, this is indeed a mistake. It's already been resolved in a new version that is currently in the works :)

@Quitlox, you sure about that? https://github.com/TNO-MPC/protocols.distributed_keygen/blob/main/src/tno/mpc/protocols/distributed_keygen/distributed_keygen.py#L1344C1-L1345C84

Still seems broken in latest.

@Quitlox
Copy link
Contributor

Quitlox commented Dec 10, 2024

Well spotted, this is indeed a mistake. It's already been resolved in a new version that is currently in the works :)

@Quitlox, you sure about that? https://github.com/TNO-MPC/protocols.distributed_keygen/blob/main/src/tno/mpc/protocols/distributed_keygen/distributed_keygen.py#L1344C1-L1345C84

Still seems broken in latest.

Not that version unfortunately, it's still in the works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants