diff options
author | Steven Roose <stevenroose@gmail.com> | 2018-06-08 21:07:07 +0800 |
---|---|---|
committer | Felix Lange <fjl@users.noreply.github.com> | 2018-06-08 21:07:07 +0800 |
commit | 13af27641829f61d1e6b383e37aab6caae22f2c1 (patch) | |
tree | 35607044459f66249bf8d39e32996b1fcd0c4cf7 /cmd/ethkey/message.go | |
parent | ea06da089264508601a9f967160b8c7f335071fa (diff) | |
download | go-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.go | 2 |
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) |