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:
parent
ab42e93718
commit
11fd72890c
@ -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: ")
|
||||
|
Loading…
Reference in New Issue
Block a user