Closed wolfgang closed 3 years ago
I haven't tried this but this issue looks legit. Could you have a Pull Request for it?
Done
@wolfgang Should this be closed? I see the merge was a while ago. Is anyone waiting for some type of confirmation?
@aar3 sorry, yes. My work focus has shifted so I have not paid attention to this.
What was wrong?
I expected to verify a signature using a Ed25519 public key, but that threw an exception.
Code that produced the error
Full error output
Expected Result
Environment
How can it be fixed?
Change method Ed25519PublicKey.verify to:
i.e. don't hash the data parameter, as the nacl library expects both inputs to be bytes.
Thanks for reading!