Skip to content
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

EDDSA malleability #16

Open
rgeslain-ledger opened this issue May 19, 2020 · 1 comment
Open

EDDSA malleability #16

rgeslain-ledger opened this issue May 19, 2020 · 1 comment

Comments

@rgeslain-ledger
Copy link
Contributor

It seems that the library does not check the malleability for EDDSA (range of S).

The Wycheproof test case https://github.com/google/wycheproof/blob/master/testvectors/eddsa_test.json#L550-L557
signature is correctly checked, whereas it shouldn't:
| Public key : b'7d4d0e7f6153a69b6242b522abbee685fda4420f8834b108c3bdae369ef549fa'
| Secret key : b'add4bb8103785baf9ac534258e8aaf65f5f1adb5ef5f3df19bb80ab989c4d64b'
| Msg : b'54657374'
| Signature: b'7c38e026f29e14aabd059a0f2db8b0cd783040609a8be684db12f82a27774ab02ee12ce5875bf9dff26556464bae2ad239d4eef676573336a5c51eb6f946b34d'
| Result : should be invalid, but is correctly checked by the lib.

@cslashm
Copy link
Owner

cslashm commented May 25, 2020

Thanks for reporting.
I will check that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants