mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-16 11:28:14 +00:00
fix getpass usage
This commit is contained in:
parent
6a27ce2d5c
commit
a939d3de1d
@ -182,7 +182,7 @@ class TextUIMixin(object):
|
||||
log("Passphrase required: ")
|
||||
passphrase = getpass.getpass('')
|
||||
log("Confirm your Passphrase: ")
|
||||
if passphrase == getpass(''):
|
||||
if passphrase == getpass.getpass(''):
|
||||
passphrase = unicode(str(bytearray(passphrase, 'utf-8')), 'utf-8')
|
||||
return proto.PassphraseAck(passphrase=passphrase)
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user