Has the ed25519 criteria changed? #1260
-
I might be missing a check wrt torsion elements somewhere, but doesn't the new verification criteria accept signatures with an R that contains a torsion component? Before 42b4a29 we had:
Therefore, we were checking that However, in after that commit (and a later one, 0f767c7) it changed to:
In this case, Is there any particular reason why this change is being applied? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Can you clarify why this is necessary?
|
Beta Was this translation helpful? Give feedback.
Yes, the intent was to be consistent with Zig's standard library, and allow signatures checked individually to follow the same rules as batch verification.
Libsodium doesn't support batch verification yet, but that may be added next.