1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-03 04:58:25 +00:00
Commit Graph

902 Commits

Author SHA1 Message Date
M1nd3r
58158375d1 test: fix handling of PASSPHRASE_ON_DEVICE
[no changelog]
2024-11-28 13:59:18 +01:00
M1nd3r
883c85436d test: allow session to be locked by default
[no changelog]
2024-11-28 13:59:18 +01:00
M1nd3r
9772236f27 test: try fix pin callback 2024-11-28 13:59:17 +01:00
M1nd3r
74804177ca test: fix obtaining sessions with passphrase and setting language
[no changelog]
2024-11-28 13:59:17 +01:00
M1nd3r
b778385201 test: fix client.reset_debug_features for codec
[no changelog]
2024-11-28 13:59:17 +01:00
M1nd3r
60877e3bd4 fix(trezorlib): fix style 2024-11-28 13:59:17 +01:00
M1nd3r
5cf5f66e9d fix(trezorlib): fix cli commands
[no changelog]
2024-11-28 13:59:17 +01:00
M1nd3r
285ed36378 fix: return Bridge to all_transports by default
[no changelog]
2024-11-28 13:59:17 +01:00
M1nd3r
270fc51d77 test: fix style
[no changelog]
2024-11-28 13:59:17 +01:00
M1nd3r
d711fd4e08 fix: remove print
[no changelog]
2024-11-28 13:59:17 +01:00
M1nd3r
0d7080102f test(python): fix persistence_tests
[no changelog]
2024-11-28 13:59:17 +01:00
M1nd3r
bb89708a94 test(python): fix click_tests
[no changelog]
2024-11-28 13:59:17 +01:00
M1nd3r
7f7c0cf94d fixup! fixup! fix(python): fix device tests for test_session [no changelog] 2024-11-28 13:59:17 +01:00
M1nd3r
d058648de8 fix(python): fix device tests for test_session
[no changelog]
2024-11-28 13:59:17 +01:00
M1nd3r
04266cf21a fix(python): change default of client.get_session to have passphrase=""
[no changelog]
2024-11-28 13:59:17 +01:00
M1nd3r
1560c3f24f fix: improve debug writing in tests
[no changelog]
2024-11-28 13:59:17 +01:00
M1nd3r
05b16ca1ed fix bitcoin tests 2024-11-28 13:59:17 +01:00
M1nd3r
0696fd5435 wip 2024-11-28 13:59:17 +01:00
M1nd3r
c1a2ea8fe0 fix cardano final part 2024-11-28 13:59:17 +01:00
M1nd3r
384ef422fe wip fix cardano part 3 2024-11-28 13:59:17 +01:00
M1nd3r
5d0a52837b wip fix cardano part 2 2024-11-28 13:59:17 +01:00
M1nd3r
ecfc3626f9 wip fix cardano part 1 2024-11-28 13:59:17 +01:00
M1nd3r
7bf2f9f2da fix(python): protocol_v2 database init
[no changelog]
2024-11-28 13:59:17 +01:00
M1nd3r
6d178bc617 fix: try fix fido2-test
[no changelog]
2024-11-28 13:59:17 +01:00
M1nd3r
425c6ce14a fixup! feat(python): rework channel database [no changelog] 2024-11-28 13:59:17 +01:00
M1nd3r
b2b786d9e0 feat(python): rework channel database
[no changelog]
2024-11-28 13:59:17 +01:00
M1nd3r
b725bad538 feat(python): delete channel_data.json when clearing all channels
[no changelog]
2024-11-28 13:59:17 +01:00
M1nd3r
b7127c005c fix(python): fix list devices session resumption
[no changelog]
2024-11-28 13:59:17 +01:00
M1nd3r
c84887ed59 refactor(python): rename NewTrezorConnection to TrezorConnection
[no changelog]
2024-11-28 13:59:17 +01:00
M1nd3r
49fdd4ab1d fix: try fix ci tests 2024-11-28 13:59:17 +01:00
M1nd3r
1cf1087b73 fixup! temporary disabling of appdirs variables 2024-11-28 13:59:17 +01:00
M1nd3r
caf1349483 temporary disabling of appdirs variables 2024-11-28 13:59:17 +01:00
M1nd3r
aa9f98894d feat: implement THP 2024-11-28 13:59:17 +01:00
M1nd3r
3a44606ef9 style: fix article
[no changelog]
2024-11-28 13:59:16 +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
matejcik
b48c36c2bf fix(python): improve robustness of TrezorClientDebugLink setup
* improve sync_responses to work on uninitialized instance
* sync responses at construction time
2024-11-12 16:55:17 +01:00
matejcik
d385667b4a fix(tests): restore test functionality on legacy
The global layout related changes were wrong for T1 where debuglink
behavior is significantly different; in particular, it is not always
possible to communicate over debuglink.

This change reverts to the old behavior for T1B1 and keeps the new one
only for core-based models.
2024-11-12 16:55:17 +01:00
matejcik
11ae7a92ab style: fix complaining lints & formatters 2024-11-12 16:55:17 +01:00
matejcik
0e8dcbb498 feat(core): unify RustLayout, implement single global layout 2024-11-12 16:55:17 +01:00
Lukas Bielesch
31e0518588 chore(python): add shortcut in trezorlib for academic seed 2024-11-01 16:44:31 +01:00
obrusvit
b2b93d73f4 fix(cli/cardano): chunkify click option 2024-10-30 09:15:10 +01:00