status-go/vendor/github.com/ethereum/go-ethereum/cmd/ethkey
Pedro Pombeiro e4cbce12c4
Update to go-ethereum 1.8.1 (#702)
* Update `github.com/ethereum/go-ethereum` package to 1.8.1 branch. Part of #638
* Fix code due to some signature changes. Part of #638
* use upstream for whisper backend
* Add patch to downgrade usage of Whisper v6 to v5 in some geth 1.8.1 vendor files. Part of #638
* Take into account the DNS rebinding protection introduced in 1.8.0 by adding exception for localhost. Part of #638
* Add patches required for cross-compiled builds starting with geth 1.8.0. Only applied during build. Part of #638
* Update expected JSON result in `TestRegressionGetTransactionReceipt()` and `TestCallRawResultGetTransactionReceipt()`. Part of #665
* Fix some failing e2e tests. Part of #638
* Address comments in PR #702. Part of #638
2018-02-27 11:39:30 +01:00
..
README.md Update to go-ethereum 1.8.1 (#702) 2018-02-27 11:39:30 +01:00
generate.go Update to go-ethereum 1.8.1 (#702) 2018-02-27 11:39:30 +01:00
inspect.go Update to go-ethereum 1.8.1 (#702) 2018-02-27 11:39:30 +01:00
main.go Update to go-ethereum 1.8.1 (#702) 2018-02-27 11:39:30 +01:00
message.go Update to go-ethereum 1.8.1 (#702) 2018-02-27 11:39:30 +01:00
utils.go Update to go-ethereum 1.8.1 (#702) 2018-02-27 11:39:30 +01:00

README.md

ethkey

ethkey is a simple command-line tool for working with Ethereum keyfiles.

Usage

ethkey generate

Generate a new keyfile. If you want to use an existing private key to use in the keyfile, it can be specified by setting --privatekey with the location of the file containing the private key.

ethkey inspect <keyfile>

Print various information about the keyfile. Private key information can be printed by using the --private flag; make sure to use this feature with great caution!

ethkey sign <keyfile> <message/file>

Sign the message with a keyfile. It is possible to refer to a file containing the message.

ethkey verify <address> <signature> <message/file>

Verify the signature of the message. It is possible to refer to a file containing the message.

Passphrases

For every command that uses a keyfile, you will be prompted to provide the passphrase for decrypting the keyfile. To avoid this message, it is possible to pass the passphrase by using the --passphrase flag pointing to a file that contains the passphrase.