ethereumproject / ECIPs

The Ethereum Classic Improvement Proposal
55 stars 47 forks source link

ECIP-1034: Message Signing and Verification in JSON RPC #77

Closed sorpaas closed 5 years ago

sorpaas commented 6 years ago

(Rendered)

Motivation

The current eth_sign definition is different across different client implementation, which creates many problems. In addition, there is currently no way to verify a signed message using JSON RPC. This ECIP defines two new RPC calls sign and recover in a different namespace.

Namespace

The author of this ECIP recommends to define the two new RPC in a different namespace rather than eth. Reusing eth may cause confusion with the existing eth_sign RPC call and might further pollute the already huge namespace. We can use etc namespace, or key namespace (so those two RPC method becomes etc_sign, etc_recover, or key_sign, key_recover).

elichai commented 6 years ago

Are there any news in this subject?, signing verifying should seriously be standardized (e.g removing the weird "Ethereum Signed Message" from some clients). Not only this ecdsa+keccak256 isn't standard and is incompatible with some EC libraries, this at least should have a real doc saying how the sig should work and behave.