Open udhos opened 4 years ago
It really goes to show that the ECIES spec is miserable because it doesn't give us test vectors to validate our implementations against. I would've liked to use Ethereum's ECIES implementation in my project, but the code had too many suspicious elements (contradicting code, hard-to-read code, works for P256 but crashes for P384 even though the code should support it) I could not use or modify it because I can't trust it without testing it against test vectors.
Hi Daniel!
One thing you might enjoy to know, I hope. :smile: I am testing ECIES encrypt/decrypt among some Go implementations. So far, it seems each implementation only interoperates with itself. See below. "havir" is your go-ecies.
If you want, you can find the full test code here: https://github.com/udhos/ecies-go-test/blob/master/main_test.go
Is it expected that distinct ECIES implementations should not talk to each other?
What do you think?
Thanks, Everton