# Packages
No description provided by the author
# Functions
Bech32ConsKeyOutput returns key output for a consensus node's key information.
Bech32KeyOutput create a KeyOutput in bech32 format.
create a list of KeyOutput in bech32 format.
Bech32ValKeyOutput returns key output for a validator's key information.
BufferStdin is used to allow reading prompts for stdin multiple times, when we read from non-tty.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
GetCheckPassword will prompt for a password twice to verify they match (for creating a new password).
GetConfirmation will request user give the confirmation from stdin.
No description provided by the author
initialize a keybase based on the configuration.
GetKeyBase initializes a keybase based on the given db.
initialize a keybase based on the configuration.
GetKeyBaseFromDirWithWritePerm initializes a keybase at a particular dir with write permissions.
GetKeyBaseWithWritePerm initialize a keybase based on the configuration with write permissions.
GetKeyInfo returns key info for a given name.
GetPassphrase returns a passphrase for a given name.
GetPassword will prompt for a password one-time (to sign a tx) It enforces the password length.
GetSeed will request a seed phrase from stdin and trims off leading/trailing spaces.
inputIsTty returns true iff we have an interactive prompt, where we can disable echo and request to repeat the password.
marshal keys.
MockKeyBase generates an in-memory keybase that will be discarded useful for --dry-run to generate a seed phrase without storing the key.
PostProcessResponse performs post process for rest response.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ReadPassphraseFromStdin attempts to read a passphrase from STDIN return an error upon failure.
unmarshal json.
# Constants
KeyDBName is the directory under root where we store the keys.
MinPassLength is the minimum acceptable password length.
# Type aliases
No description provided by the author