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

889 Commits

Author SHA1 Message Date
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
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
M1nd3r
16da9a8889 chore(common): separate definitions of protobuf options
[no changelog]
2024-10-23 22:27:48 +02:00
Ondřej Vejpustek
c8faac952a feat(python): implement benchmark application interface 2024-10-11 16:35:34 +02:00
Ondřej Vejpustek
b436b39091 chore(core): add benchmark messages
[no changelog]
2024-10-11 16:35:34 +02:00
tychovrahe
915d4fca94 feat(core): add support for T3W1, on F4
[no changelog]
2024-10-09 15:06:40 +02:00
M1nd3r
c99988312a feat(core): add pairing credential manager
[no changelog]
2024-10-09 10:44:30 +02:00
Darsey Litzenberger
9416caade4 feat(python): add pretty-printing of protobuf messages in IPython 2024-10-02 10:38:27 +02:00
Ioan Bizău
c82fad68e7 fix: clarify how to break out of build_tx loops
[no changelog]
2024-09-19 10:17:21 +03:00
tychovrahe
954c7f422b feat(tools): support odd-wide greyscale icon conversion
[no changelog]
2024-09-17 17:46:11 +02:00
matejcik
abe51b93a8 fix(python): prevent accidental modification of models.TREZORS 2024-09-11 12:59:04 +02:00
matejcik
6506b02e2e feat(python/debuglink): introduce layout type awareness
[no changelog]
2024-09-11 12:59:04 +02:00
matejcik
21988d6ef4 style(python): fix flake8 warning on python 3.12
[no changelog]
2024-08-29 10:56:21 +02:00
matejcik
ed79d35de9 feat(python): make webusb transport more resilient
* convert more USB errors into TransportExceptions
* add a timeout + infinite loop for read/write operations,
  so that they are interruptible by Python, instead of leaving
  the interface in a bad state when hard-killed
* (also ctrl+c now works if the process is waiting for usb)
2024-08-28 00:08:48 +02:00
Andrew Kozlik
2a567f3a0c feat: Remove display_random feature. 2024-08-27 19:33:23 +02:00