1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-04 13:38:28 +00:00
Commit Graph

908 Commits

Author SHA1 Message Date
M1nd3r
a29f21b2be chore(python): unify session and protocol versions under one IntEnum
[no changelog]
2024-11-29 15:45:10 +01:00
M1nd3r
dbb0d44ca5 fix(trezorlib): re-allow usage of passphrases on codec sessions
[no changelog]
2024-11-29 11:12:11 +01:00
M1nd3r
0e3e59f1a1 fix(trezorlib): fox ping command, add ping to session
[no changelog]
2024-11-29 11:12:11 +01:00
M1nd3r
e3fcd806bc fix(trezorlib): make style-checker happy
[no changelog]
2024-11-29 11:12:11 +01:00
M1nd3r
6f7613c42c fix(trezorlib): fix issues in cli
[no changelog]
2024-11-29 11:12:11 +01:00
M1nd3r
93300fd727 refactor(python): unify decorators for sessions under one uber-decorator
[no changelog]
2024-11-29 11:12:11 +01:00
M1nd3r
75803e41da test: fix handling of PASSPHRASE_ON_DEVICE
[no changelog]
2024-11-29 11:12:11 +01:00
M1nd3r
987b92f888 test: allow session to be locked by default
[no changelog]
2024-11-29 11:12:11 +01:00
M1nd3r
76daf9da60 test: try fix pin callback 2024-11-29 11:12:11 +01:00
M1nd3r
c89106656f test: fix obtaining sessions with passphrase and setting language
[no changelog]
2024-11-29 11:12:11 +01:00
M1nd3r
df6595fb47 test: fix client.reset_debug_features for codec
[no changelog]
2024-11-29 11:12:11 +01:00
M1nd3r
c27e3d63b7 fix(trezorlib): fix style 2024-11-29 11:12:11 +01:00
M1nd3r
a6568fc6ad fix(trezorlib): fix cli commands
[no changelog]
2024-11-29 11:12:11 +01:00
M1nd3r
02c19f239d fix: return Bridge to all_transports by default
[no changelog]
2024-11-29 11:12:11 +01:00
M1nd3r
bb87825324 test: fix style
[no changelog]
2024-11-29 11:12:11 +01:00
M1nd3r
643dd53775 fix: remove print
[no changelog]
2024-11-29 11:12:11 +01:00
M1nd3r
6a7ce0e1be test(python): fix persistence_tests
[no changelog]
2024-11-29 11:12:11 +01:00
M1nd3r
2c1435653c test(python): fix click_tests
[no changelog]
2024-11-29 11:12:11 +01:00
M1nd3r
9e9814acf5 fixup! fixup! fix(python): fix device tests for test_session [no changelog] 2024-11-29 11:12:11 +01:00
M1nd3r
b1821b733f fix(python): fix device tests for test_session
[no changelog]
2024-11-29 11:12:11 +01:00
M1nd3r
ddc204a4e1 fix(python): change default of client.get_session to have passphrase=""
[no changelog]
2024-11-29 11:12:11 +01:00
M1nd3r
5a069d8f8c fix: improve debug writing in tests
[no changelog]
2024-11-29 11:12:11 +01:00
M1nd3r
e22a141788 fix bitcoin tests 2024-11-29 11:12:11 +01:00
M1nd3r
9e6a9c35b7 wip 2024-11-29 11:12:11 +01:00
M1nd3r
f1fd4e85a3 fix cardano final part 2024-11-29 11:12:11 +01:00
M1nd3r
ac8d853b70 wip fix cardano part 3 2024-11-29 11:12:11 +01:00
M1nd3r
0074b62d43 wip fix cardano part 2 2024-11-29 11:12:11 +01:00
M1nd3r
c15a1b54f5 wip fix cardano part 1 2024-11-29 11:12:11 +01:00
M1nd3r
08c0c94f42 fix(python): protocol_v2 database init
[no changelog]
2024-11-29 11:12:11 +01:00
M1nd3r
131c611fce fix: try fix fido2-test
[no changelog]
2024-11-29 11:12:11 +01:00
M1nd3r
8d0d66db34 fixup! feat(python): rework channel database [no changelog] 2024-11-29 11:12:11 +01:00
M1nd3r
a0173c08b8 feat(python): rework channel database
[no changelog]
2024-11-29 11:12:11 +01:00
M1nd3r
92e307f518 feat(python): delete channel_data.json when clearing all channels
[no changelog]
2024-11-29 11:12:11 +01:00
M1nd3r
b0ee4ba1fd fix(python): fix list devices session resumption
[no changelog]
2024-11-29 11:12:11 +01:00
M1nd3r
6655ad9268 refactor(python): rename NewTrezorConnection to TrezorConnection
[no changelog]
2024-11-29 11:12:11 +01:00
M1nd3r
70bbe55ead fix: try fix ci tests 2024-11-29 11:12:10 +01:00
M1nd3r
c1961ad68e fixup! temporary disabling of appdirs variables 2024-11-29 11:12:10 +01:00
M1nd3r
8699f1fb81 temporary disabling of appdirs variables 2024-11-29 11:12:10 +01:00
M1nd3r
a446f515fc feat: implement THP 2024-11-29 11:12:10 +01:00
M1nd3r
76de53438c style: fix article
[no changelog]
2024-11-29 11:12:10 +01:00
M1nd3r
2ef0071611 fix(python): remove unused type ignore after click version bump
[no changelog]
2024-11-19 11:02:23 +01:00
tychovrahe
fa953d7296 chore(core): switch T3W1 support to U5
[no changelog]
2024-11-14 09:30:20 +01:00
Lukas Bielesch
a4da695430 chore(core): Use enum for for dealing with device rotations 2024-11-13 11:08:56 +01:00
matejcik
dd770ba715 fix(python): do not take legacy snapshots on PinRequest and PassphraseRequest
legacy < 1.11.0 will never answer those because PinRequest and
PassphraseRequest block waiting for PinAck / PassphraseAck over wirelink
and ignore debuglink
2024-11-12 16:55:17 +01:00
matejcik
8fb41ee290 feat(core): enforce return type annotations 2024-11-12 16:55:17 +01:00
matejcik
dfac2ae4dd style(python): upgrade debuglink.py to 3.10 style type annotations 2024-11-12 16:55:17 +01:00
matejcik
3a8f92f64d tests(core): fix upgrade tests 2024-11-12 16:55:17 +01:00
matejcik
8d2f0a6566 style: make style_check passing 2024-11-12 16:55:17 +01:00
matejcik
ef90546324 fix(python): opportunistically catch a debuglink desync
In certain cases a DebugLinkState response can get stalled and debuglink
will not read it -- i.e., a situation analogous to wirelink de-sync.
There doesn't seem to be a good way to force-sync debuglink the same way
wirelink does it, but we can detect a wrong response to a
DebugLinkGetState and skip it.
2024-11-12 16:55:17 +01:00
matejcik
f4240d6309 chore(python): improve recovery type deprecation warning 2024-11-12 16:55:17 +01:00