EDIT: Problem Solved; working example of login below
I use the sha3 of a message I want to sign with eth.sign
m = web3.sha3("Please work.")
I then run
And it returns me:
Theoretically, I would be able to derive the validity of the signature from this.
r = 0x1c28d6720234343026c24718728cf0c251b0d09c87c32a6e380396a336006529
s = 0x0d0e7ec99a48e547e36645cecc11fd8d09742955c3d16c32eb75d9b24dd158d7
v = 54?! ( I was under the impression this would be a 0 or 1. For ecrecover I tried 27 and 28 )
Now I plug these into ecrecover(m, v, r, s) and I get...
What in the world is going on? I'm trying to implement a login for my application using web3 and this is a major roadblock. I'm hoping you geniuses can correct me where I'm wrong.