quorum/accounts
bas-vk b59c8399fb internal/ethapi: add personal_sign and fix eth_sign to hash message (#2940)
This commit includes several API changes:

- The behavior of eth_sign is changed. It now accepts an arbitrary
  message, prepends the well-known string

        \x19Ethereum Signed Message:\n<length of message>

  hashes the result using keccak256 and calculates the signature of
  the hash. This breaks backwards compatability!
  
- personal_sign(hash, address [, password]) is added. It has the same
  semantics as eth_sign but also accepts a password. The private key
  used to sign the hash is temporarily unlocked in the scope of the
  request.
  
- personal_recover(message, signature) is added and returns the
  address for the account that created a signature.
2016-10-28 21:25:49 +02:00
..
abi internal/ethapi: add personal_sign and fix eth_sign to hash message (#2940) 2016-10-28 21:25:49 +02:00
testdata accounts: left pad keybytes-to-encrypt, add 30/31 byte keys tests 2016-09-27 13:07:33 -04:00
account_manager.go internal/ethapi: add personal_sign and fix eth_sign to hash message (#2940) 2016-10-28 21:25:49 +02:00
accounts_test.go eth: add new RPC method (personal.) SignAndSendTransaction 2016-05-20 15:54:18 +02:00
addrcache.go accounts: cache key addresses 2016-04-12 15:58:07 +02:00
addrcache_test.go accounts: cache key addresses 2016-04-12 15:58:07 +02:00
key.go accounts: improve API and add documentation 2016-04-12 15:59:18 +02:00
key_store_passphrase.go accounts: left pad keybytes-to-encrypt, add 30/31 byte keys tests 2016-09-27 13:07:33 -04:00
key_store_passphrase_test.go accounts: cache key addresses 2016-04-12 15:58:07 +02:00
key_store_plain.go all: update license information 2016-04-15 09:48:05 +02:00
key_store_test.go accounts: left pad keybytes-to-encrypt, add 30/31 byte keys tests 2016-09-27 13:07:33 -04:00
presale.go accounts: add ErrDecrypt 2016-04-12 15:58:07 +02:00
watch.go accounts: disable file system watch on linux/arm64 2016-04-25 13:30:28 +02:00
watch_fallback.go accounts: disable file system watch on linux/arm64 2016-04-25 13:30:28 +02:00