-
Notifications
You must be signed in to change notification settings - Fork 7
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
Frost component doesn't work with jubjub::ExtendedPoint #196
Comments
😨 That's certainly a bug! A PR would be welcome, thanks |
Another problem too. It doesn't happen every time, but randomly after refreshing the shares, I test to make sure the underlying secret hasn't changed and that also fails. Is this something with this library or with the curve itself? |
I haven't looked into it but I guess it's related to the issue you pointed out. Did you try that with ExtendedPoint or SubgroupPoint? |
It doesn’t matter because it’s in the scalar field |
It should indeed fail with ExtendedPoint. FROST requires a prime order group, which is what SubgroupPoint provides; ExtendedPoint is the full group with cofactor. |
That's what I figured but the code here uses ExtendedPoint in the frost section when it should be SubgroupPoint. |
Got it, I'll look into it |
I'm looking into the first issue. I can't reproduce this. While using I ran 1024 iterations of the DKG & signing and it didn't fail once. Do you have code to reproduce the issue? |
When I run the Frost DKG for jubjub and try to sign it fails about 8 out of 10 times. When I switch it to use jubjub::SubgroupPoint, then it works every time. Is this supposed to be the case? If so, I can submit a PR to make the fix.
The text was updated successfully, but these errors were encountered: