1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-03-20 10:06:07 +00:00
Commit Graph

14607 Commits

Author SHA1 Message Date
M1nd3r
efcdd6843b chore(core): adapt trezorlib transports to session based
[no changelog]
2025-03-13 12:17:12 +01:00
M1nd3r
0743b65159 feat(python): implement session based trezorlib 2025-03-13 12:17:12 +01:00
M1nd3r
ca5f331e43 feat(python): implement session based trezorctl
[no changelog]
2025-03-13 12:17:12 +01:00
M1nd3r
1c30adb548 chore(tests): adapt testing framework to session based
[no changelog]
2025-03-13 12:17:12 +01:00
M1nd3r
94a5c49daf test: update device tests
[no changelog]
2025-03-13 12:17:12 +01:00
Martin Milata
46ac326354 refactor(tests): move set_input_flow to SessionDebugWrapper context manager
[no changelog]
2025-03-13 12:17:12 +01:00
M1nd3r
327fe1f98b feat(python): make failing to resume session hard-fail 2025-03-13 12:17:12 +01:00
Martin Milata
e216e03ac3 ci: add timeouts for legacy.yml 2025-03-13 12:17:12 +01:00
Martin Milata
b55b8fd89e fix(python): revive trezorctl --script
[no changelog]
2025-03-13 12:17:12 +01:00
M1nd3r
dd6d77e35c chore(python): bump trezorlib version to 0.14.0 2025-03-13 12:17:12 +01:00
M1nd3r
e29215a1e5 fix(python): change nostr to use Session instead of Client 2025-03-13 12:17:12 +01:00
M1nd3r
2994e364eb chore(python): session passphrase rework 2025-03-13 12:17:12 +01:00
Martin Milata
43c784f28b fix(python): simplify UI callbacks 2025-03-13 12:17:12 +01:00
Martin Milata
b4d3cb97c0 fix(python): bring back firmware version check 2025-03-13 12:17:12 +01:00
Martin Milata
38d0b9ff64 fix(python): transport handling with sessions
[no changelog]
2025-03-13 12:17:12 +01:00
Martin Milata
69b8c03007 test(core): remove dead code 2025-03-13 12:17:12 +01:00
M1nd3r
78423c3b53 chore(tests): update fixtures.json
Co-authored-by: mmilata <martin@martinmilata.cz>
2025-03-13 12:17:12 +01:00
M1nd3r
e72f192f26 chore(core): adapt trezorlib transports to session based
[no changelog]

Co-authored-by: mmilata <martin@martinmilata.cz>
2025-03-13 12:17:12 +01:00
M1nd3r
a8aa7fe632 feat(python): implement session based trezorlib
Co-authored-by: mmilata <martin@martinmilata.cz>
2025-03-13 12:17:12 +01:00
M1nd3r
2a609fcfb7 feat(python): implement session based trezorctl 2025-03-13 12:17:12 +01:00
M1nd3r
506f75c294 chore(python): add refresh of invalid client to internal emulator 2025-03-13 12:17:12 +01:00
M1nd3r
09d8b88197 chore(tests): adapt testing framework to session based 2025-03-13 12:17:12 +01:00
M1nd3r
3c030b9b97 test: update upgrade tests 2025-03-13 12:17:12 +01:00
M1nd3r
f58cb2f107 test: update click tests 2025-03-13 12:17:12 +01:00
M1nd3r
cffe455e66 test: update ui tests 2025-03-13 12:17:12 +01:00
M1nd3r
044addee56 test: update persistence tests 2025-03-13 12:17:11 +01:00
M1nd3r
97d1a46204 test: update device tests
Co-authored-by: mmilata <martin@martinmilata.cz>
2025-03-13 12:17:11 +01:00
M1nd3r
cb4e624216 chore(python): update python tools
Co-authored-by: mmilata <martin@martinmilata.cz>
2025-03-13 12:17:11 +01:00
M1nd3r
5accf08eeb chore(vendor): update fido2-tests 2025-03-13 12:17:11 +01:00
M1nd3r
917e301c63 chore(core): adapt emu.py to the new trezorlib
[no changelog]
2025-03-13 12:17:11 +01:00
Roman Zeyde
41096b5ffd
fix(core): use smaller button for upgrade cancellation 2025-03-13 12:07:07 +01:00
Ondrej Mikle
e15c39bb57 chore(nordic): add updated build DTS parameters for old devboard t3w1_d1_nrf52833
[no changelog]
2025-03-12 16:25:09 +01:00
Ondrej Mikle
9d8d4e4f21 feat(nordic): Bump NCS to 2.9.0 for Nordic, fix build and prepare to fork mcuboot
[no changelog]
2025-03-12 16:25:09 +01:00
Lukas Bielesch
17603ffe41 refactor(python): move Screen Buttons to debuglink 2025-03-12 14:34:25 +01:00
Lukas Bielesch
1eeab2ffd2 chore(tests): consolidate passphrase tests for delizia and bolt 2025-03-12 14:34:25 +01:00
Lukas Bielesch
a4cd4ddaa5 refactor(tests): split buttons module functionality into buttons and actions 2025-03-12 14:34:25 +01:00
Lukas Bielesch
4d52f7805f refactor(tests): simplify set selection function 2025-03-12 14:34:25 +01:00
Lukas Bielesch
13be2dca24 refactor(tests): modularize tests buttons module based on layout type 2025-03-12 14:34:25 +01:00
Roman Zeyde
6bf11ab29f chore(core): use smaller vectors for ShowInfoParams
[no changelog]
2025-03-12 08:12:54 +02:00
M1nd3r
ec4fbecc1d chore(python): add description to nostr commands group
[no changelog]
2025-03-11 16:11:33 +01:00
cepetr
b5053d9f6e
fix(core): add kernel access to assets by default (#4759)
[no changelog]
2025-03-11 07:58:57 +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
Roman Zeyde
301190db4c chore(python): use pytest-rerunfailures instead of flaky
Since it supports re-running all failures that match certain expressions:

https://github.com/pytest-dev/pytest-rerunfailures?tab=readme-ov-file#re-run-all-failures-matching-certain-expressions

[no changelog]
2025-03-10 23:10:40 +02:00
Martin Milata
0efb201d6b ci: preserve emulator logs for upgrade and persistence tests 2025-03-10 15:06:05 +01:00
Martin Milata
244b4f612e fix(tests): don't wipe logs on emulator restart
[no changelog]
2025-03-10 15:06:05 +01:00
Martin Milata
b765cb1e2c fix(python): runaway emulator process
[no changelog]
2025-03-10 15:06:05 +01:00
vdovhanych
e4ed101d01 ci: fix release emu job 2025-03-10 14:40:22 +01:00
obrusvit
29d69db300 Merge branch 'release/25.03' into obrusvit/merge-release-25.03 2025-03-10 11:17:26 +01:00
Roman Zeyde
2400fcb95d fix(core): scope Cardano confirmation to allow GC
Otherwise, we may run out of heap due to recursion.

[no changelog]
2025-03-09 21:48:30 +02:00
tychovrahe
103568e2e5 feat(core/prodtest): show device ID in prodtest QR code 2025-03-08 12:26:41 +01:00