Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ChangePassword = cobra.Command{
Use: "ethkey-changepassword",
Short: "Change the password of a keyfile",
Long: "Change the password of a keyfile. use the --newpasswordfile to point to the new password file.",
Run: changePassword,
}
ChangePassword is the cobra.Command specifically for changing the password for a keyfile.
View Source
var Generate = cobra.Command{
Use: "ethkey-generate",
Short: "Generate a new keyfile",
Long: "Generate a new keyfile with an ethereum address and private key",
Run: generate,
}
Generate is the cobra.Command specifically for generating an ethereum key and address.
View Source
var Inspect = cobra.Command{
Use: "ethkey-inspect",
Short: "Print various information about the keyfile",
Long: "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!",
Run: inspect,
}
Inspect is the cobra.Command specifically decrypting the keyfile address, public and private keys.
Functions ¶
func GenerateKeyFile ¶ added in v0.0.8
func GenerateRandomString ¶ added in v0.0.8
GenerateRandomString returns a URL-safe, base64 encoded securely generated random string.
func ReadYesOrNoAnswer ¶ added in v0.0.8
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.