bugfix: allow send password keystrokes for capital letters

This commit is contained in:
scgbckbone 2024-04-22 23:07:38 +02:00 committed by doc-hex
parent 11f31d0466
commit ab894d174d
2 changed files with 3 additions and 1 deletions

View File

@ -36,6 +36,7 @@
- Bugfix: Handle ZeroSecretException for BIP39 passphrase calculation when on temporary
seed without master secret.
- Bugfix: Battery idle timeout also considers last progress bar update
- Bugfix: Allow `Send Password` (keystrokes) of capital letters of alphabet
- Enhancement: Allow export of multisig XPUBs via BBQr
- Enhancement: Import multisig via QR/BBQr - both legacy COLDCARD export and descriptors supported
- Enhancement: Allow unlimited index for BIP-85 derivations. Needs to be enabled first in `Danger Zone`

View File

@ -959,7 +959,8 @@ class EmulatedKeyboard:
@classmethod
def can_type(cls, s):
# do we know how to type all the chars in "s"
return all(ch in cls.char_map for ch in s)
# .lower() has no effect on symbols, numbers, and escapes
return all(ch.lower() in cls.char_map for ch in s)
async def send_keystrokes(self, keystroke_string):
from glob import dis