Skip to content
This repository has been archived by the owner on Mar 25, 2019. It is now read-only.

Hex shown onHover on "Unknown binary data" when signing is incorrect #93

Closed
fabioberger opened this issue Aug 9, 2017 · 0 comments
Closed

Comments

@fabioberger
Copy link

fabioberger commented Aug 9, 2017

When signing this message with parity signer:

0x3bd03be584f9df8a79ed49d8502c63d5fcff148157544242ffdbcc2b64321b1e

I am shown the following hex when hovering over "unknown binary data" in the Parity Signer UI:

0x292fc53642b56f05f1655c0903f6316df200dcac006fa3005d616ee948e9755a

When I'd expect to be shown the result of:

keccak256("\x19Ethereum Signed Message:\n" + len(message) + message))

which is:

0x21c78f55e3f54ab5d872bfea03ad05d7bfb3d35dc1a537fd3ae731cdbb9bea21

If I disregard this discrepancy and sign the message anyway and verify the v, r, s values with the personalMessage I expected to be signing, I can verify that it is in-fact the message that was signed. The signature is valid for the expected value.

Why is this other hex being presented to the user? Where does it come from?

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

No branches or pull requests

1 participant