1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-05-28 11:48:45 +00:00
Commit Graph

14782 Commits

Author SHA1 Message Date
Martin Milata
90a27e1a44 fix(python): always send passphrase at v1 session start 2025-04-09 13:53:50 +02:00
Martin Milata
aec716bd87 fix(tests): clear pin sequence when exiting with block 2025-04-09 13:53:50 +02:00
Martin Milata
ebbe563132 fix(tests): record actual_responses for session init 2025-04-09 13:53:50 +02:00
M1nd3r
0df80fccaa chore(tests): remove code for unsupported models 2025-04-09 13:53:50 +02:00
M1nd3r
0249b77a77 chore(python): raise the minimum version of core models to 2.3.0 2025-04-09 13:53:50 +02:00
M1nd3r
ebbb354f94 chore(tests): remove test_passphrase_cached 2025-04-09 13:53:50 +02:00
Martin Milata
56820a0804 refactor(tests): move set_input_flow to SessionDebugWrapper context manager
[no changelog]
2025-04-09 13:53:50 +02:00
M1nd3r
4f76cc34b3 feat(python): make failing to resume session hard-fail 2025-04-09 13:53:50 +02:00
Martin Milata
4771a6c521 ci: add timeouts for legacy.yml 2025-04-09 13:53:50 +02:00
Martin Milata
17b7929195 fix(python): revive trezorctl --script
[no changelog]
2025-04-09 13:53:50 +02:00
M1nd3r
651b80ad82 chore(python): bump trezorlib version to 0.14.0 2025-04-09 13:53:50 +02:00
M1nd3r
decfda0255 fix(python): change nostr to use Session instead of Client 2025-04-09 13:53:50 +02:00
M1nd3r
89d20f09d0 chore(python): session passphrase rework 2025-04-09 13:53:50 +02:00
Martin Milata
f375190578 fix(python): simplify UI callbacks 2025-04-09 13:53:50 +02:00
Martin Milata
e8a316c8e9 fix(python): bring back firmware version check 2025-04-09 13:53:50 +02:00
Martin Milata
e8fa6bda6b fix(python): transport handling with sessions
[no changelog]
2025-04-09 13:53:50 +02:00
Martin Milata
6fc29fb5f7 test(core): remove dead code 2025-04-09 13:53:50 +02:00
M1nd3r
143f5c47d0 chore(tests): update fixtures.json
Co-authored-by: mmilata <martin@martinmilata.cz>
2025-04-09 13:53:50 +02:00
M1nd3r
20e60535d3 chore(core): adapt trezorlib transports to session based
[no changelog]

Co-authored-by: mmilata <martin@martinmilata.cz>
2025-04-09 13:53:50 +02:00
M1nd3r
34d7601669 feat(python): implement session based trezorlib
Co-authored-by: mmilata <martin@martinmilata.cz>
2025-04-09 13:53:50 +02:00
M1nd3r
cd9f7d3b74 feat(python): implement session based trezorctl 2025-04-09 13:53:49 +02:00
M1nd3r
9c13f588b0 chore(python): add refresh of invalid client to internal emulator 2025-04-09 13:53:49 +02:00
M1nd3r
1691b717a5 chore(tests): adapt testing framework to session based 2025-04-09 13:53:49 +02:00
M1nd3r
5528bc217c test: update upgrade tests 2025-04-09 13:53:49 +02:00
M1nd3r
849be5294b test: update click tests 2025-04-09 13:53:49 +02:00
M1nd3r
c4e3c5eb22 test: update ui tests 2025-04-09 13:53:49 +02:00
M1nd3r
02a2bd86ff test: update persistence tests 2025-04-09 13:53:49 +02:00
M1nd3r
6eadf079fc test: update device tests
Co-authored-by: mmilata <martin@martinmilata.cz>
2025-04-09 13:53:49 +02:00
M1nd3r
0b9c2470df chore(python): update python tools
Co-authored-by: mmilata <martin@martinmilata.cz>
2025-04-09 13:53:49 +02:00
M1nd3r
6fac8639b4 chore(vendor): update fido2-tests 2025-04-09 13:53:49 +02:00
M1nd3r
ec164cd871 chore(core): adapt emu.py to the new trezorlib
[no changelog]
2025-04-09 13:53:49 +02:00
Martin Milata
828e1868ab docs: fix broken changelog links 2025-04-09 10:11:21 +02:00
Roman Zeyde
893bd1e69b chore(core): remove unused all_modules.py
[no changelog]
2025-04-08 17:48:15 +03:00
Roman Zeyde
1ddba2526b ci(core): increase device tests' timeout
[no changelog]
2025-04-08 16:56:56 +03:00
obrusvit
ad9f85b21d chore(core): remove redundant Error messages
[no changelog]
2025-04-08 15:44:51 +02:00
Roman Zeyde
69ce947d71 test(core): automatically skip altcoin tests 2025-04-08 07:55:14 +03:00
Roman Zeyde
8df465d7e8 build(core): replace all_modules.py by qstrdefsport.h
[no changelog]
2025-04-07 20:19:31 +03:00
Roman Zeyde
879cc69c63 perf(core): intern non-alphanumeric characters
It was found by running `micropython.mem_info()` with the following patch:
```diff
diff --git a/py/gc.c b/py/gc.c
index 604334c95..bff62b754 100644
--- a/py/gc.c
+++ b/py/gc.c
@@ -840,6 +840,7 @@ void gc_dump_info(void) {
         (uint)info.total, (uint)info.used, (uint)info.free);
     mp_printf(&mp_plat_print, " No. of 1-blocks: %u, 2-blocks: %u, max blk sz: %u, max free sz: %u\n",
         (uint)info.num_1block, (uint)info.num_2block, (uint)info.max_block, (uint)info.max_free);
+    qstr_dump_data();
 }

 void gc_dump_alloc_table(void) {
```

New QSTR definitions:
```
$ tail -n4 ./core/build/unix/genhdr/qstrdefs.generated.h
QDEF(MP_QSTR__paren_close_, 46476, 1, ")")
QDEF(MP_QSTR__paren_open_, 46477, 1, "(")
QDEF(MP_QSTR__lt_, 46489, 1, "<")
QDEF(MP_QSTR__semicolon_, 46494, 1, ";")
```

[no changelog]
2025-04-07 20:19:31 +03:00
cepetr
b50e201ea5 fix(core): improve simulation of lost TOUCH_START events
[no changelog]
2025-04-07 17:49:04 +02:00
cepetr
a6bfe399ff fix(core): ensure touch_get_event does not return zero after TOUCH_START
[no changelog]
2025-04-07 17:49:04 +02:00
cepetr
dd2af348dc fix(core): ensure touch_get_state does not return 0
[no changelog]
2025-04-07 17:49:04 +02:00
cepetr
f46bfb4bfe feat(core): fix out-of-range touch coordinates on T3W1
[no changelog]
2025-04-07 17:49:04 +02:00
tychovrahe
f1120d53c2 fix(core/prodtest): provide BLE driver with pairing code when accepting pairing
[no changelog]
2025-04-07 15:05:57 +02:00
tychovrahe
0355ea6dd3 feat(core): send pairing code to NRF when accepting pairing
[no changelog]
2025-04-07 15:05:57 +02:00
tychovrahe
d597b58274 feat(nordic): check pairing code when accepting pairing
[no changelog]
2025-04-07 15:05:57 +02:00
kopecdav
56bad5bd3a feat(core): Update stwlc38 patching cut selection + new stwlc38 FW patch and configs [no changelog] 2025-04-07 13:42:10 +02:00
tychovrahe
3db788d80a fix(core): fix NFC deinitialization
[no changelog]
2025-04-07 13:41:16 +02:00
tychovrahe
d506abd9db fix(core/bootloader_ci): fix firmware upload
[no changelog]
2025-04-04 16:20:01 +02:00
cepetr
ced0a1462e feat(core): emulate hw jpeg decoder using libjpeg
[no changelog]
2025-04-04 12:59:44 +02:00
cepetr
307ac2517d feat(core): introduce JpegOverlay shape
[no changelog]
2025-04-04 12:59:44 +02:00