aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/ethkey/inspect.go
diff options
context:
space:
mode:
authorSteven Roose <stevenroose@gmail.com>2018-06-08 21:07:07 +0800
committerFelix Lange <fjl@users.noreply.github.com>2018-06-08 21:07:07 +0800
commit13af27641829f61d1e6b383e37aab6caae22f2c1 (patch)
tree35607044459f66249bf8d39e32996b1fcd0c4cf7 /cmd/ethkey/inspect.go
parentea06da089264508601a9f967160b8c7f335071fa (diff)
downloaddexon-13af27641829f61d1e6b383e37aab6caae22f2c1.tar.gz
dexon-13af27641829f61d1e6b383e37aab6caae22f2c1.tar.zst
dexon-13af27641829f61d1e6b383e37aab6caae22f2c1.zip
cmd/ethkey: add command to change key passphrase (#16516)
This change introduces ethkey changepassphrase <keyfile> to change the passphrase of a key file.
Diffstat (limited to 'cmd/ethkey/inspect.go')
-rw-r--r--cmd/ethkey/inspect.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/ethkey/inspect.go b/cmd/ethkey/inspect.go
index dbf5afc0c..ba03d4d93 100644
--- a/cmd/ethkey/inspect.go
+++ b/cmd/ethkey/inspect.go
@@ -60,7 +60,7 @@ make sure to use this feature with great caution!`,
}
// Decrypt key with passphrase.
- passphrase := getPassPhrase(ctx, false)
+ passphrase := getPassphrase(ctx)
key, err := keystore.DecryptKey(keyjson, passphrase)
if err != nil {
utils.Fatalf("Error decrypting key: %v", err)