-
Notifications
You must be signed in to change notification settings - Fork 355
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
⚠️ BN.toString(16) can result in wrong output ([email protected]) #299
Comments
I'm almost certain this is the bug I ran into. Using When performing the same exact signature using I verified the "message" in all 3 cases is converted into the same exact Big Int so the "message" is not the source of any issues. Also, it happened for a specific key we have. When trying a different private key, all 3 signatures matched. |
Citing indutny/bn.js#295:
The issue has been fixed in [email protected]@v5.2.1.
elliptic
should update to this version.The text was updated successfully, but these errors were encountered: