ethereum / mist

[DEPRECATED] Mist. Browse and use Ðapps on the Ethereum network.
http://ethereum.org
GNU General Public License v3.0
7.44k stars 2.12k forks source link

Creation and Verification of cryptographic signatures #130

Open pipermerriam opened 8 years ago

pipermerriam commented 8 years ago

Can the wallet or browser create and/or verify cryptographic signatures? It would be nice to be able to provide people with a user friendly tool that could be used to do this with their ethereum keys.

linagee commented 8 years ago

Expose eth.sign somehow through the wallet or browser.

https://github.com/ethereum/go-ethereum/wiki/JavaScript-Console#ethsign

(As far as validation, no idea if that's something geth natively supports?)

etherdelta commented 8 years ago

It looks to me like web3.eth.sign "works," but only if the account is unlocked. The Mist browser doesn't attempt to unlock the account (it would need to be done manually through the Geth console). Is there a plan to prompt the user for a password to unlock the account for things like web3.eth.sign and web3.eth.sendRawTransaction? EtherDelta needs this feature to fully support the Mist browser.

Thanks guys!

JonnyLatte commented 7 years ago

Any updates on when web3.eth.sign will be available in mist?

chafey commented 7 years ago

+1 - signing is critical for my app too

alexvandesande commented 7 years ago

There has been a complex discussion about eth_sign on the geth side, because of security concerns. Done incorrectly, you could trick the user into signing “random data” that would reveal their private key. They’ve been rewriting eth_sign