mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-07-03 21:32:33 +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):
|
def callback_PassphraseRequest(self, msg):
|
||||||
if os.getenv("PASSPHRASE") is not None:
|
if os.getenv("PASSPHRASE") is not None:
|
||||||
|
log("Passphrase required. Using PASSPHRASE environment variable.")
|
||||||
passphrase = Mnemonic.normalize_string(os.getenv("PASSPHRASE"))
|
passphrase = Mnemonic.normalize_string(os.getenv("PASSPHRASE"))
|
||||||
log("Passphrase required. Using '%s'" % passphrase)
|
|
||||||
return proto.PassphraseAck(passphrase=passphrase)
|
return proto.PassphraseAck(passphrase=passphrase)
|
||||||
|
|
||||||
log("Passphrase required: ")
|
log("Passphrase required: ")
|
||||||
|
Loading…
Reference in New Issue
Block a user