-
Notifications
You must be signed in to change notification settings - Fork 4
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
Dichotomy between verification equations for EdDSA #19
Comments
The current draft doesn't specify which one should be used (which I guess you probably know, but just to be explicit) - is your opinion that we should pick one or the other? I'm not sure if implementations will be able to pick very easily, they might be stuck with whatever their crypto library does. But it might be worth looking into what those commonly do, if every library does one of them, perhaps we can standardize on that. |
Due to the above mentioned issue, I explicitly support this being locked down. Otherwise, browsers may disagree on signature validity. I personally vote for the cheaper, non-cofactor clearing equation. Implementations, as a matter of policy, shouldn't generate torsioned keys in practice. The prior comment mentions reviewing what libraries do. Almost all libraries for Ed25519 have differing behavior and can be forced into incompatibility with each other. https://hdevalence.ca/blog/2020-10-04-its-25519am Unfortunately, in practice, the best you'd get is a set of rules closest to most libraries making it easiest to fork said libraries/add additional rules to achieve spec-compliance. |
OpenSSL and BoringSSL both implement the non-cofactor clearing check. |
The Section 5.1.7 of RFC-8032 specifies:
which equation will be used?
🚀 :
[h][S]B = [h]R + [h][k]A'
❤️ :
[S]B = R + [k]A'
The text was updated successfully, but these errors were encountered: