diff --git a/crypto/keyring/keyring.go b/crypto/keyring/keyring.go index 9e7422be4..24931d8ac 100644 --- a/crypto/keyring/keyring.go +++ b/crypto/keyring/keyring.go @@ -987,7 +987,7 @@ func (ks keystore) migrate(key string) (*Record, error) { return nil, fmt.Errorf("unable to set keyring.Item, err: %w", err) } - fmt.Printf("Successfully migrated key %s.\n", key) + fmt.Fprintf(os.Stderr, "Successfully migrated key %s.\n", key) return k, nil }