-
-
Notifications
You must be signed in to change notification settings - Fork 10
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
Add Wycheproof test vectors #5
Comments
Hi,
|
Very cool! I'd be happy to collaborate on merging this (and fixing the bugs it finds). Wondering if |
Thanks for the feedback! |
In case you're still interested in this @enrikb, I've started to add X25519 as well (to enable a native recipient for |
@enrikb this is really nice work! I took the liberty of creating a PR myself #11, with disposition to merge. I'm going to try and add the RFC 7758/8032 tests and the Wycheproof X25519 tests. |
@nickray, you're too fast for me, are you still on adrenaline_v2? ;-) |
I'm sorry :) Indeed excited hehe. |
Regarding malleability of signatures that Wycheproof Ed25519 tests complain about: https://docs.rs/ed25519-dalek/1.0.1/ed25519_dalek/struct.PublicKey.html#method.verify_strict. I'm not too hot about adding malleability checks by default, as it's not clear to me what security this actually provides (and in many situations, speed is a competing need, e.g. NFC timeout - though we should measure, not speculate, cf. #10), besides satisfying "strict testing" requirements of certain protocols. (Note this refers to verification, for signature generation, we should absolutely reduce, cf. #3). |
I'd like to do a new release. The problem is that the |
As far as I can see, everything is available in the salty repository. |
The thing is if you publish a library on crates.io, all its dependencies need to be published as well (no git or in-repo dependencies). I guess I could publish the two as |
Not sure why this doesn't fix it actually: rust-lang/cargo#7333 |
If there is no more decent workaround, you could make a release-branch having the wycheproof stuff disabled for the release - or the other way round, move it to a feature branch, if the release should be from |
Alright, did the release branch thing and published 0.1.0-alpha.2 as first release with X25519. |
Meanwhile, made some progress with the X25519 test integration. Will have to do some cleanup, but expect an update soon.
Ah, nearly forgot the good news: all tests from |
Thanks! Yeah we shouldn't panic (fallible |
https://github.com/google/wycheproof/blob/master/testvectors/eddsa_test.json
like RustCrypto/elliptic-curves#232
The text was updated successfully, but these errors were encountered: