From be883785349ed775a09f67736d2806ba075d42be Mon Sep 17 00:00:00 2001 From: seungyeon-hwang Date: Tue, 3 Mar 2020 19:25:30 +0900 Subject: [PATCH 1/2] print error message if GetPassword failed --- crypto/keys/keyring.go | 1 + 1 file changed, 1 insertion(+) diff --git a/crypto/keys/keyring.go b/crypto/keys/keyring.go index d21e557435aa..450b0d32bb42 100644 --- a/crypto/keys/keyring.go +++ b/crypto/keys/keyring.go @@ -546,6 +546,7 @@ func newRealPrompt(dir string, buf io.Reader) func(string) (string, error) { buf := bufio.NewReader(buf) pass, err := input.GetPassword("Enter keyring passphrase:", buf) if err != nil { + fmt.Fprintln(os.Stderr, err) continue } From 1f7032058984eb39d8d78a5cec498ee6de0dfb93 Mon Sep 17 00:00:00 2001 From: seungyeon-hwang Date: Tue, 3 Mar 2020 19:52:13 +0900 Subject: [PATCH 2/2] add changelog entry to CHANGELOG.md --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 972723cbf15f..5f2efc89f107 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -152,6 +152,7 @@ Buffers for state serialization instead of Amino. * Add `tx.maxheight` key to filter transaction with an inclusive maximum block height * (server) [\#5709](https://github.com/cosmos/cosmos-sdk/pull/5709) There are two new flags for pruning, `--pruning-keep-every` and `--pruning-snapshot-every` as an alternative to `--pruning`. They allow to fine tune the strategy for pruning the state. +* (crypto/keys) [\#5739](https://github.com/cosmos/cosmos-sdk/pull/5739) Print an error message if the password input failed. ## [v0.38.1] - 2020-02-11