aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/ethkey/message.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/message.go
parentea06da089264508601a9f967160b8c7f335071fa (diff)
downloadgo-tangerine-13af27641829f61d1e6b383e37aab6caae22f2c1.tar
go-tangerine-13af27641829f61d1e6b383e37aab6caae22f2c1.tar.gz
go-tangerine-13af27641829f61d1e6b383e37aab6caae22f2c1.tar.bz2
go-tangerine-13af27641829f61d1e6b383e37aab6caae22f2c1.tar.lz
go-tangerine-13af27641829f61d1e6b383e37aab6caae22f2c1.tar.xz
go-tangerine-13af27641829f61d1e6b383e37aab6caae22f2c1.tar.zst
go-tangerine-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/message.go')
-rw-r--r--cmd/ethkey/message.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/ethkey/message.go b/cmd/ethkey/message.go
index 531a931c8..5caea69ff 100644
--- a/cmd/ethkey/message.go
+++ b/cmd/ethkey/message.go
@@ -62,7 +62,7 @@ To sign a message contained in a file, use the --msgfile flag.
}
// 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)