-
-
Notifications
You must be signed in to change notification settings - Fork 230
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
Address recovery broke in 2.2.0 #56
Comments
OK, I can confirm that this works fine when I generate and recover a signature for the same data blob, minus verifyingContract. So it looks like MetaMask still has this issue when signing data with |
I ran into this while passing a string with @wbobeirne Great job on reproducing and getting to the bottom of the issue! Btw, in your case, |
Facing the same issue. When I try to recover a signature it fails with: |
I have this issue too. Why is a signature generated by web3 considered invalid, signed by Metamask no less? Guess I'll use a different library. |
Hey there, I'm using eth-sig-util to do some signature validation on my backend. I recently redeployed the same code I had been using in a new project and found it was no longer working. This was because of an upgrade to eth-sig-util. I've gone ahead and created an example test that passes in
2.1.2
, but fails in2.2.0
. I've narrowed it down to 0fbac01 as being the commit to break this. The signature and data blob here are from a real project using MetaMask v6.7.2 to do the signature.Is this because of
verifyingContract
being misinterpreted?The text was updated successfully, but these errors were encountered: