-
Notifications
You must be signed in to change notification settings - Fork 74
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
too many sign verify failed in ed25519 example #174
Comments
Hi, I spend some time checking our code. The main problem arises in Round2 Line 90. I also add more test in EdDSA. I think that it is help to you! |
@cychuang0924 you can replay this by: 1, merge master; 2, vim rerun.sh, use 200 instead of 20; 3 ./rerun.sh |
This problem arises from the Schnorr proof of siG. The original paper does not need this zero knowledge proof, so we decide to remove it. If we keep this proof, then we need to change the interface of our Library. In fact, you do not worry about removing it. As say the above, the original paper does not need any Schnorr proofs. After removing it, then you do not get any errors. |
Thank you very much for handling and updating this issue. However, after I merged the new code and conducted a lot of tests, there is still a small probability that the signature verification will fail. You can replay this by: 1, merge master; 2, vim rerun.sh, use 200 instead of 20; 3 ./rerun.sh |
I run my test 1000 times using random shares. There does not exist any failures. Excuse me, could you copy the informations of shares and the public key? By the way, if you use the data coming from yaml of the signer then you will get fail results. |
Of course, my three signer inputs are attached. By the way, I used the same input to execute the signature for 200 times, and I will fail to verify the signature once; Instead of using a different share for each signature. Thank you for trying to solve this problem. |
Thanks for your help. I add your offering example in our test. |
I ran the test program provided by you and did not fail. But my testing process is different from yours. I use three independent processes to connect with each other using TCP, and then do dkg and sign for 200 times. You can try it on my code: Thanks! |
OK! I will invite @markya0616 to help you. But, this maybe take some time. |
Thanks! |
Is there any progressing? @markya0616 |
Excuse me, we release our new product in these days, so we have not enough time to check this problem. |
@markya0616 @cychuang0924 could you take a look at this: too many sign verify failed in ed25519 example.
git repo: https://github.com/alexSmallWorld/alice-ed25519/tree/ed25519Example
git branch: ed25519Example
in this branch I add ed25519 example and batch test script.
how to run batch test: 1, use go 17; 2, cd example && ./rerun.sh
you will see the test processing and result. ** false mean how many case verify sign failed. ** true mean how many case verify sign success.
like:
thanks a lot.
The text was updated successfully, but these errors were encountered: