Since we have web3.eth.sign, I'm thinking that it would only make sense to also have ecrecover.
This would need to be added to the node as RPC API. Makes probably sense, though we want to move away from singing inside the node.
I plan to add signing and account generation functionality to web3 directly, so we could add this then
But ecrecover can be done without access to the accounts, so we wouldn't need access to the node?
Hi! What is the status of this?
It seems that web3.eth.sign is broken since this https://github.com/ethereum/go-ethereum/pull/2940 got merged into geth, almost a month ago.
Would a PR implementing 'personal_sign' and 'personal_ecRecover' be welcomed?
We have that now: http://web3js.readthedocs.io/en/1.0/web3-eth-accounts.html#recover
Most helpful comment
But ecrecover can be done without access to the accounts, so we wouldn't need access to the node?