1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-14 03:30:02 +00:00

trezorctl: Do not display PASSPHRASE on screen.

This commit is contained in:
slush 2018-01-29 18:09:42 +01:00
parent ab42e93718
commit 11fd72890c

View File

@ -279,8 +279,8 @@ class TextUIMixin(object):
def callback_PassphraseRequest(self, msg):
if os.getenv("PASSPHRASE") is not None:
log("Passphrase required. Using PASSPHRASE environment variable.")
passphrase = Mnemonic.normalize_string(os.getenv("PASSPHRASE"))
log("Passphrase required. Using '%s'" % passphrase)
return proto.PassphraseAck(passphrase=passphrase)
log("Passphrase required: ")