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

944 Commits

Author SHA1 Message Date
M1nd3r
e45e72b1f9 chore(python): update ble to session-based 2025-04-16 17:22:04 +02:00
Martin Milata
f447855647 fix(python): always send passphrase at v1 session start 2025-04-16 17:22:04 +02:00
Martin Milata
627e3abc9a fix(tests): clear pin sequence when exiting with block 2025-04-16 17:22:04 +02:00
Martin Milata
3cd92f1f1a fix(tests): record actual_responses for session init 2025-04-16 17:22:04 +02:00
M1nd3r
98993434e0 chore(python): raise the minimum version of core models to 2.3.0 2025-04-16 17:22:04 +02:00
Martin Milata
90632199e9 refactor(tests): move set_input_flow to SessionDebugWrapper context manager
[no changelog]
2025-04-16 17:22:04 +02:00
M1nd3r
2abbd76a19 feat(python): make failing to resume session hard-fail 2025-04-16 17:19:53 +02:00
Martin Milata
fb98a02be6 fix(python): revive trezorctl --script
[no changelog]
2025-04-16 17:19:53 +02:00
M1nd3r
13f6edebf7 chore(python): bump trezorlib version to 0.14.0 2025-04-16 17:19:53 +02:00
M1nd3r
637e3248a6 fix(python): change nostr to use Session instead of Client 2025-04-16 17:19:53 +02:00
M1nd3r
dfc8d7f2f5 chore(python): session passphrase rework 2025-04-16 17:19:53 +02:00
Martin Milata
ed4c3e4712 fix(python): simplify UI callbacks 2025-04-16 17:19:53 +02:00
Martin Milata
f21cb96949 fix(python): bring back firmware version check 2025-04-16 17:19:53 +02:00
Martin Milata
bd450a5564 fix(python): transport handling with sessions
[no changelog]
2025-04-16 17:19:53 +02:00
Martin Milata
9168b30b8f test(core): remove dead code 2025-04-16 17:19:53 +02:00
M1nd3r
94c691d270 chore(core): adapt trezorlib transports to session based
[no changelog]

Co-authored-by: mmilata <martin@martinmilata.cz>
2025-04-16 17:19:44 +02:00
M1nd3r
0c29ee08f1 feat(python): implement session based trezorlib
Co-authored-by: mmilata <martin@martinmilata.cz>
2025-04-16 17:19:44 +02:00
M1nd3r
cee6fe01ae feat(python): implement session based trezorctl 2025-04-16 17:19:44 +02:00
M1nd3r
f9f0df38b1 chore(python): add refresh of invalid client to internal emulator 2025-04-16 17:19:44 +02:00
M1nd3r
27289a3630 chore(python): update python tools
Co-authored-by: mmilata <martin@martinmilata.cz>
2025-04-16 17:13:54 +02:00
Lukas Bielesch
3f0e772122 chore(eckhart): update trace function for firmware components 2025-04-16 17:11:08 +02:00
Lukas Bielesch
25345d07d3 feat(tests): eckhart tests
add Eckhart screen buttons
rename passphrase click test file + fixtures
eckhart click tests
eckhart persistance tests
eckhart device tests
skip tests for unimplemented features
2025-04-16 17:11:08 +02:00
obrusvit
8cb0cbcfe5 fix(tests): handle layout-specific translations 2025-04-16 17:11:07 +02:00
obrusvit
3a7e275fce feat(eckhart): initial commit
- build
- directory structure
- bootloader UI and assets copied from delizia
- FirmwareUI trait functions are empty
- Python layout functions are copied from delizia except some of more
complicated ones which raise NotImplemented for now
2025-04-16 17:11:06 +02:00
matejcik
0db727b21b chore(core): include T3W1 certificate for the emulator 2025-04-15 12:37:25 +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
Ioan Bizău
5282321fba chore(core): improve error message
[no changelog]
2025-02-28 14:15:45 +01:00
Ioan Bizău
073038771e feat(core): introduce Nostr
[no changelog]
2025-02-28 14:15:45 +01:00
Roman Zeyde
9a62cbd781 chore(python): include the invalid chunk in RuntimeError message
[no changelog]
2025-02-12 15:55:44 +01:00
matejcik
4a9ac3a956 chore(python): bump version after release 2025-02-12 14:26:15 +01:00
matejcik
b2098ff03f docs(python): regenerate OPTIONS.rst 2025-02-12 14:26:15 +01:00
matejcik
535950ac29 docs(python): generate changelog for 0.13.10 2025-02-12 14:26:15 +01:00
matejcik
f1c33e2f06 fix(python): make cryptography a required dependency
fixes #4493
2025-02-12 14:26:15 +01:00
matejcik
dabc5546b5 fix(python): support T3B1 in trezorctl fw download
[no changelog]
2025-02-12 11:17:38 +01:00
matejcik
fcb76df9f5 style(python): update trezorlib.firmware to new-style type annotations
[no changelog]
2025-02-12 11:17:38 +01:00
matejcik
72d14a370c feat(python): allow trezorctl firmware commands to work with unknown models
[no changelog]
2025-02-12 11:17:38 +01:00
matejcik
cba5e60c96 docs(python): document trezorlib exception classes 2025-02-12 11:17:38 +01:00
matejcik
1b45c0d491 feat(python): support future Trezor models
fixes #3993
2025-02-12 11:17:38 +01:00