-
Notifications
You must be signed in to change notification settings - Fork 8
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
Error assert(remainder == [0; N]); #36
Comments
Have you tested this on the latest nightly version of noir? |
No. But I am sure it’s rsa lib issue and not noir issue |
@TomAFrench tested with Noir nightly-2024-12-07. Same error:
|
@kashbrti I remember this line causing issues earlier which you fixed (something in the barrett reduction I think). Can you take a look to see if there's still an issue here. |
I got info from @madztheo that I should regenerate modulus and redc params because they were changed in bignum 0.4.0. Let me try and get back to you if it fixed the error |
yeah, it was incorrect computation of modulus and redc params inside js |
Aim
Crashes in runtime when trying to verify a signature. Worked fine in Noir v0.34.0 and noir_rsa v0.3.1
Expected Behavior
Verifies the signature successfully
Bug
Fails with error
The
remainder
is:To Reproduce
Workaround
None
Workaround Description
No response
Additional Context
No response
Project Impact
Blocker
Blocker Context
Can't update zklogin to the latest version of Noir. Currently stuck at 0.34.0
Nargo Version
1.0.0-beta.0
NoirJS Version
No response
Proving Backend Tooling & Version
No response
Would you like to submit a PR for this Issue?
None
Support Needs
No response
The text was updated successfully, but these errors were encountered: