github.com/vantum/vantum@v0.0.0-20180815184342-fe37d5f7a990/cmd/ethkey/README.md (about) 1 ethkey 2 ====== 3 4 ethkey is a simple command-line tool for working with Ethereum keyfiles. 5 6 7 # Usage 8 9 ### `ethkey generate` 10 11 Generate a new keyfile. 12 If you want to use an existing private key to use in the keyfile, it can be 13 specified by setting `--privatekey` with the location of the file containing the 14 private key. 15 16 17 ### `ethkey inspect <keyfile>` 18 19 Print various information about the keyfile. 20 Private key information can be printed by using the `--private` flag; 21 make sure to use this feature with great caution! 22 23 24 ### `ethkey sign <keyfile> <message/file>` 25 26 Sign the message with a keyfile. 27 It is possible to refer to a file containing the message. 28 29 30 ### `ethkey verify <address> <signature> <message/file>` 31 32 Verify the signature of the message. 33 It is possible to refer to a file containing the message. 34 35 36 ## Passphrases 37 38 For every command that uses a keyfile, you will be prompted to provide the 39 passphrase for decrypting the keyfile. To avoid this message, it is possible 40 to pass the passphrase by using the `--passphrase` flag pointing to a file that 41 contains the passphrase.