1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-04-25 19:49:02 +00:00
Commit Graph

956 Commits

Author SHA1 Message Date
M1nd3r
1bfcdf1525 fixup! feat(python): implement session based trezorlib 2025-04-03 18:36:27 +02:00
M1nd3r
03320e6b83 fixup! chore(python): update python tools 2025-04-03 18:36:27 +02:00
M1nd3r
925a90335c fixup! feat(python): implement session based trezorctl 2025-04-03 18:36:27 +02:00
M1nd3r
f95c63c86a fixup! feat(python): implement session based trezorlib 2025-04-03 18:36:27 +02:00
M1nd3r
d12086c48f fixup! fixup! feat(python): implement session based trezorlib 2025-04-03 18:36:27 +02:00
M1nd3r
285ba53db2 fixup! chore(python): update python tools 2025-04-03 18:36:27 +02:00
M1nd3r
3fb13a9b01 fixup! feat(python): make failing to resume session hard-fail 2025-04-03 18:36:27 +02:00
M1nd3r
107e0e3c7b fixup! feat(python): implement session based trezorlib 2025-04-03 18:36:27 +02:00
M1nd3r
2e627a82dd fixup! feat(python): implement session based trezorlib 2025-04-03 18:36:27 +02:00
M1nd3r
10781e91de fixup! fix(python): transport handling with sessions 2025-04-03 18:36:27 +02:00
M1nd3r
658188733f fixup! fixup! feat(python): implement session based trezorlib 2025-04-03 18:36:27 +02:00
M1nd3r
68ebf589ff fixup! feat(python): implement session based trezorlib 2025-04-03 18:36:27 +02:00
M1nd3r
6d14de5002 fixup! feat(python): implement session based trezorlib 2025-04-03 18:36:27 +02:00
M1nd3r
13ee29338c fixup! chore(python): session passphrase rework 2025-04-03 18:36:27 +02:00
M1nd3r
d2960fe3bc fixup! feat(python): implement session based trezorlib 2025-04-03 18:36:27 +02:00
M1nd3r
1cb1883d9e fixup! feat(python): implement session based trezorlib 2025-04-03 18:36:27 +02:00
M1nd3r
a80f070d6d fixup! feat(python): implement session based trezorctl 2025-04-03 18:36:27 +02:00
M1nd3r
fb03cc2afe fixup! feat(python): implement session based trezorlib 2025-04-03 18:36:27 +02:00
M1nd3r
48070bcef4 fixup! fixup! feat(python): implement session based trezorlib 2025-04-03 18:36:27 +02:00
M1nd3r
f7014ca550 fixup! feat(python): implement session based trezorlib 2025-04-03 18:36:27 +02:00
Roman Zeyde
2e0e6d9cde fixup! chore(core): adapt trezorlib transports to session based [no changelog] 2025-04-03 18:36:27 +02:00
Roman Zeyde
d12bf422f3 fixup! chore(core): adapt trezorlib transports to session based [no changelog] 2025-04-03 18:36:27 +02:00
Martin Milata
821e6b9fce refactor(tests): move set_input_flow to SessionDebugWrapper context manager
[no changelog]
2025-04-03 18:36:27 +02:00
M1nd3r
6b69ea62ce feat(python): make failing to resume session hard-fail 2025-04-03 18:36:27 +02:00
Martin Milata
6f82cebab9 fix(python): revive trezorctl --script
[no changelog]
2025-04-03 18:36:27 +02:00
M1nd3r
e3acaf30e5 chore(python): bump trezorlib version to 0.14.0 2025-04-03 18:36:27 +02:00
M1nd3r
d2e3257d2a fix(python): change nostr to use Session instead of Client 2025-04-03 18:36:27 +02:00
M1nd3r
49731f9f86 chore(python): session passphrase rework 2025-04-03 18:36:27 +02:00
Martin Milata
b10c87ab4a fix(python): simplify UI callbacks 2025-04-03 18:36:27 +02:00
Martin Milata
6ef83a736b fix(python): bring back firmware version check 2025-04-03 18:36:27 +02:00
Martin Milata
39d03549bd fix(python): transport handling with sessions
[no changelog]
2025-04-03 18:36:27 +02:00
Martin Milata
b6d8f8ca2a test(core): remove dead code 2025-04-03 18:36:27 +02:00
M1nd3r
b8994876ee chore(core): adapt trezorlib transports to session based
[no changelog]

Co-authored-by: mmilata <martin@martinmilata.cz>
2025-04-03 18:36:27 +02:00
M1nd3r
2ca18704b4 feat(python): implement session based trezorlib
Co-authored-by: mmilata <martin@martinmilata.cz>
2025-04-03 18:36:27 +02:00
M1nd3r
e117e5e7aa feat(python): implement session based trezorctl 2025-04-03 18:36:27 +02:00
M1nd3r
22bbd83044 chore(python): add refresh of invalid client to internal emulator 2025-04-03 18:36:27 +02:00
M1nd3r
6f2de2a66d chore(python): update python tools
Co-authored-by: mmilata <martin@martinmilata.cz>
2025-04-03 18:34:29 +02:00
tychovrahe
4adf6d087d feat(core): add BLE unpair command & message
[no changelog]
2025-04-03 16:17:12 +02:00
Roman Zeyde
f1d3f835b8 chore(python): replace 'pytest-rerunfailures' with 'pytest-retry'
[no changelog]
2025-03-26 14:15:29 +02:00
obrusvit
419737db7c chore(core): remove obsolete font names from blobs
[no changelog]
2025-03-25 18:26:15 +01:00
Roman Zeyde
f43954e672 test(python): don't send extra InitDevice and EndSession during setup
[no changelog]
2025-03-18 17:45:34 +02:00
Vadim Anufriev
40d8760666 chore(python): update cli docs for reboot-to-bootloader command 2025-03-18 11:35:11 +01:00
matejcik
2e72a8ce1b fix(python/debuglink): time out after waiting for empty-state response
...avoiding a problem where, if the timing is unfortunate, the reply may
get lost when a workflow is ending

(cherry picked from commit 3056b4934e)

[no changelog]
2025-03-17 20:16:14 +02:00
Roman Zeyde
49c9ad04cd feat(python): ignore unrelated responses
Old responses may be still in the receive queue
(blocking the device from handling new requests).

Let's "flush" them before starting the test.

[no changelog]
2025-03-17 20:16:14 +02:00
matejcik
e1ce484ba7 feat(python): add a timeout argument to read() from transport
also take the opportunity to switch to new style typing annotations
syntax

[no changelog]
2025-03-17 20:16:14 +02:00
Lukas Bielesch
17603ffe41 refactor(python): move Screen Buttons to debuglink 2025-03-12 14:34:25 +01:00
M1nd3r
ec4fbecc1d chore(python): add description to nostr commands group
[no changelog]
2025-03-11 16:11:33 +01:00
Roman Zeyde
d6c0e7e203 test(python): rerun tests when first response chunk is lost
Also, make sure that Python tests are using `python/setup.cfg`.

[no changelog]
2025-03-10 23:10:40 +02:00
Martin Milata
b765cb1e2c fix(python): runaway emulator process
[no changelog]
2025-03-10 15:06:05 +01:00
Ioan Bizău
d515153ca5 docs: fix link to examples
[no changelog]
2025-02-28 14:15:45 +01:00