1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-13 02:58:57 +00:00
Commit Graph

13548 Commits

Author SHA1 Message Date
M1nd3r
34d3dbdeb1 wip trezorlib add btc commands 2024-09-16 14:36:40 +02:00
M1nd3r
6a65d62353 wip trezorlib add passphrase sessions 2024-09-13 17:25:21 +02:00
M1nd3r
a7f386f3a9 wip trezorlib fix style 2024-09-13 12:05:27 +02:00
M1nd3r
28f25b6130 wip trezorlib wait-for-emulator to new UdpTransport 2024-09-13 12:04:35 +02:00
M1nd3r
9942f06b11 wip trezorlib usb-reset to new WebUsb 2024-09-13 11:54:56 +02:00
M1nd3r
06120d7fd7 fixup 2024-09-12 20:33:41 +02:00
M1nd3r
fc27527807 fixup 2024-09-12 20:29:16 +02:00
M1nd3r
66d2530541 wip trezorlib get features 2024-09-12 20:27:02 +02:00
M1nd3r
97e3728349 wip trezorlib add command new-clear-session that empties stored channels - temporary, add NewTrezorConnection
[no changelog]
2024-09-12 20:27:02 +02:00
M1nd3r
1b871fd01c wip trezorlib channel persistence 2024-09-12 17:03:39 +02:00
M1nd3r
8b3bfe648c wip trezorlib 2024-09-11 17:59:45 +02:00
M1nd3r
d59684988c wip trezorlib 2024-09-11 15:52:22 +02:00
M1nd3r
11309cccd0 wip trezorlib 2024-09-11 14:43:17 +02:00
M1nd3r
87d6407d26 feat(core, debug): change DebugLinkState to contain thp_pairing_code_qr_code and thp_pairing_code_nfc_unidirectional instead of thp_pairing_secret
[no changelog]
2024-09-05 13:37:22 +02:00
M1nd3r
a68baa6242 chore(trezorlib): remove unnecessary prints
[no changelog]
2024-09-04 13:10:33 +02:00
M1nd3r
f6ff8529c6 TEMPORARY WIP - trezorlib 2024-09-04 12:47:36 +02:00
M1nd3r
06cc68cc46 wip 2024-09-04 12:47:36 +02:00
M1nd3r
02312699d1 chore(core): remove unused code in transmission_loop
[no changelog]
2024-09-04 12:47:35 +02:00
M1nd3r
206c01a5c0 fix(core): create try-catch around displaying the number of allocations
[no changelog]
2024-09-04 12:47:02 +02:00
M1nd3r
89820e84ed temp add debug print to pairing 2024-09-04 12:47:02 +02:00
matejcik
2f492adbc0 wip: focus session 2024-09-04 12:47:02 +02:00
M1nd3r
19b3e9b845 fix style 2024-09-04 12:47:02 +02:00
M1nd3r
117f3eab73 fix(core): add handle to loop before exiting it - DANGER ZONE
[no changelog]
2024-09-04 12:47:01 +02:00
M1nd3r
b3aacf1485 chore(core): add logging, update comments
[no changelog]
2024-09-04 12:47:01 +02:00
M1nd3r
c8c999919a re-enable retransmission tmp 2024-09-04 12:47:01 +02:00
M1nd3r
a272de9453 fixup: remove transmission loop wait spawn 2024-09-04 12:47:01 +02:00
M1nd3r
34940bc5f9 return ACK handling tmp
[no changelog]
2024-09-04 12:47:01 +02:00
M1nd3r
e1f17dd576 TEMP: remove ACK sending, message retransmission and message sequence bit checks
- for tests of THP speed
[no changelog]
2024-08-23 11:12:12 +02:00
M1nd3r
d45491b57b feat(core): change thp_channel_id in DebugLinkGetState to bytes
[no changelog]
2024-08-23 10:14:26 +02:00
M1nd3r
6cd5e2e73e remove non-functional code 2024-08-22 14:36:31 +02:00
M1nd3r
557a32c17a feat(core): allow DebugLinkGetState to pass channel_id and get pairing secrets and code
[no changelog]
2024-08-22 14:22:44 +02:00
matejcik
354a8ec9ec wip 2024-08-22 14:11:13 +02:00
M1nd3r
2c61321857 fix(core): fix conflicts and style, part 1
[no changelog]
2024-08-22 13:55:03 +02:00
M1nd3r
f00011d480 feat(core): implement a new Trezor-Host protocol 2024-08-22 13:55:03 +02:00
matejcik
b02c7c4895 wip 2024-08-22 11:43:51 +02:00
matejcik
695daab14e wipwip 2024-08-22 11:43:07 +02:00
matejcik
7af0483d91 wip 2024-08-22 11:43:07 +02:00
matejcik
c6cda7b6f4 fixup! fixup! tests: fix small irregularities 2024-08-22 11:43:07 +02:00
matejcik
ea3fd5f789 fixup! chore: update fixtures 2024-08-22 11:43:07 +02:00
matejcik
4cae454e47 fixup! fix(python): improve robustness of TrezorClientDebugLink setup 2024-08-22 11:43:07 +02:00
matejcik
780a22f68f fixup! refactor(core/ui): reusable timers 2024-08-22 11:43:07 +02:00
matejcik
0d089d76a6 fix(tests): stop waiting for background task after a timeout
Otherwise a test can hang if the result is not returned. This is not
even covered by pytest-timeout because if a test fails, the call to
task.kill() happens during teardown, and pytest-timeout doesn't cover
that.
2024-08-22 11:43:07 +02:00
matejcik
5dc8998a0b fix(tests): python >=3.11 compatibility for identifiers
Python 3.11 changed IntEnum.__str__ to return the number instead of the
enum value name. This breaks fixtures.json because pytest uses
str(value) to generate the test identifier names, and in a lot of places
our identifiers use the enum values.

This override of `_idval_from_value` explicitly generates a name from
the IntEnum instead of using the __str__ implementation.
2024-08-22 11:43:07 +02:00
matejcik
8a9a965a9f fixup! chore: update fixtures 2024-08-22 11:43:07 +02:00
matejcik
7d88920cce chore: upgrade pytest
to get rid of python 3.14 deprecation warnings
2024-08-22 11:42:52 +02:00
matejcik
834f1b4473 chore(python): improve recovery type deprecation warning 2024-08-22 11:42:52 +02:00
matejcik
d1625ab4a8 fixup! tests: fix small irregularities 2024-08-22 11:42:52 +02:00
matejcik
8f4cf99e48 fixup! feat(core): unify RustLayout, implement single global layout 2024-08-22 11:42:52 +02:00
matejcik
a6e3f45b77 fixup! chore: update fixtures 2024-08-22 11:42:52 +02:00
matejcik
444aa19a1c fixup! tests: fix small irregularities 2024-08-22 11:42:34 +02:00