cosmos-sdk/crypto/keyring
Alessio Treglia 513dabaec8
client/keys: support export of unarmored private key (#8043)
The --unarmored-hex and --unsafe flags are added to
the keys export command. Users must use both to
export private keys material. The output would be in
hexadecimal format and unarmored.

See #8042 for scope and motivations.

introduce new UnsafeKeyring interface.

Unsafe operations are supported by UnsafeKeyring types.
By doing so, we try to make the client developer aware
of the risks.

Co-authored-by: Sunny Aggarwal <sunnya97@protonmail.ch>
2020-11-30 20:55:39 +00:00
..
testdata/keys/keys.db crypto/keyring: deprecate old keybase (#5889) 2020-03-30 20:30:50 +02:00
codec.go rename RegisterCodec to RegisterLegacyAminoCodec (#7243) 2020-09-07 14:47:12 +00:00
doc.go docs: Add new section "Running a Node" (#7701) 2020-11-04 14:02:22 +00:00
errors.go crypto/keys: move keybase and keyring to crypto/keyring/ dir (#5866) 2020-03-25 15:20:36 +00:00
info.go Replace tmcrypto.PubKey by our own cryptotypes.PubKey (#7419) 2020-11-09 16:01:43 +00:00
keyring_ledger_test.go crypto/hd: add 'm/' prefix to hd path (#7970) 2020-11-18 18:42:45 +00:00
keyring_test.go client/keys: support export of unarmored private key (#8043) 2020-11-30 20:55:39 +00:00
keyring.go client/keys: support export of unarmored private key (#8043) 2020-11-30 20:55:39 +00:00
keys.toml crypto/keys: move keybase and keyring to crypto/keyring/ dir (#5866) 2020-03-25 15:20:36 +00:00
legacy_test.go replace testutil.NewTestCaseDir() with Go1.15's T.TempDir() (#7014) 2020-09-18 12:08:24 +01:00
legacy.go Replace tmcrypto.PubKey by our own cryptotypes.PubKey (#7419) 2020-11-09 16:01:43 +00:00
output_test.go Replace tmcrypto.PubKey by our own cryptotypes.PubKey (#7419) 2020-11-09 16:01:43 +00:00
output.go crypto/keys: move keybase and keyring to crypto/keyring/ dir (#5866) 2020-03-25 15:20:36 +00:00
signing_algorithms_test.go client: fix signing algorithm (#6405) 2020-06-11 14:30:42 +00:00
signing_algorithms.go client: fix signing algorithm (#6405) 2020-06-11 14:30:42 +00:00
types_test.go crypto/hd: add 'm/' prefix to hd path (#7970) 2020-11-18 18:42:45 +00:00
types.go Replace tmcrypto.PubKey by our own cryptotypes.PubKey (#7419) 2020-11-09 16:01:43 +00:00