Drop on-disk keybase in favor of keyring (#5180)
* Switch keys commands to keyring
* Replace NewKeybase with NewKeyring
* Fix delete test
* Purge dead code
* Override COSMOS_SDK_TEST_KEYRING envvar to switch to a test keyring
* s/unningOnServer/unningUnattended/
C'ing @tnachen
* Add deprecated warning, output looks like the following:
```
$ gaiacli keys update --help
Command "update" is deprecated, it takes no effect with the new keyring
based backend and is provided only for backward compatibility with the
legacy LevelDB based backend.
Refer to your operating system's manual to learn how to change your
keyring's password.
Change the password used to protect private key
Usage:
gaiacli keys update <name> [flags]
Flags:
-h, --help help for update
Global Flags:
--chain-id string Chain ID of tendermint node
-e, --encoding string Binary encoding (hex|b64|btc) (default "hex")
--home string directory for config and data (default "/home/alessio/.gaiacli")
-o, --output string Output format (text|json) (default "text")
--trace print out full stack trace on errors
```
* Update multisign command
* Modify server.GenerateSaveCoinKey()
* GenerateSaveCoinKey more modifications
* Update docs
* Update upgrade module
This commit is contained in:
committed by
Federico Kunze
parent
1285782ef6
commit
d4c831e63a
@@ -34,13 +34,14 @@ To generate a new key (default secp256k1 elliptic curve):
|
||||
gaiacli keys add <your_key_name>
|
||||
```
|
||||
|
||||
You will be asked to create a password (at least 8 characters) for this key-pair. This will return the information listed below:
|
||||
The key-pair will be created in your system's password store. This will return the information listed below:
|
||||
|
||||
- `NAME`: Name of your key
|
||||
- `TYPE`: Type of your key, always `local`.
|
||||
- `ADDRESS`: Your address. Used to receive funds.
|
||||
- `PUBKEY`: Your public key. Useful for validators.
|
||||
- `MNEMONIC`: 24-words phrase. **Save this mnemonic somewhere safe**. It is used to recover your private key in case you forget the password.
|
||||
- `MNEMONIC`: 24-words phrase. **Save this mnemonic somewhere safe**. It is used to recover your
|
||||
private key in case you forget the password to unlock your system's credentials store.
|
||||
|
||||
You can see all your available keys by typing:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user