You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 28, 2024. It is now read-only.
In ethsnarks/eddsa.py, there seems to be a missing check on the signature verification step for the param s. This param should be validated, e.g. that it is in the range 0<s<l where l is the order of the curve. Otherwise, an attacker may forge signatures from a known plaintext-signature pair by simply crafting a different s value that is still equal to the original modulo the order of the curve, for example by simply crafting s' = s + l where l is the order of the curve.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
In ethsnarks/eddsa.py, there seems to be a missing check on the signature verification step for the param
s
. This param should be validated, e.g. that it is in the range 0<s<l where l is the order of the curve. Otherwise, an attacker may forge signatures from a known plaintext-signature pair by simply crafting a differents
value that is still equal to the original modulo the order of the curve, for example by simply craftings' = s + l
where l is the order of the curve.The text was updated successfully, but these errors were encountered: