1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-02-02 02:41:28 +00:00
Commit Graph

4254 Commits

Author SHA1 Message Date
M1nd3r
41abafc288 tests(python): improve thp device tests
[no changelog]
2025-01-31 14:57:31 +01:00
M1nd3r
b3cb270249 temp: update pairing process, part 1 2025-01-31 14:57:31 +01:00
M1nd3r
d5d3d8fb77 test(core): fix thp unit tests
[no changelog]
2025-01-31 14:57:31 +01:00
M1nd3r
673b7bf739 fix(core): update packet length handling
[no changelog]
2025-01-31 14:57:31 +01:00
M1nd3r
80fffd5bc2 fix(core): fix cardano session derivation
[no changelog]
2025-01-31 14:57:31 +01:00
M1nd3r
e744e66aa0 feat(core): send UNALLOCATED_CHANNEL error as a response only on init packet
[no changelog]
2025-01-31 14:57:31 +01:00
M1nd3r
802420ce47 chore(core): fix channel manager docs
[no changelog]
2025-01-31 14:57:31 +01:00
M1nd3r
832f065d82 fix(core): remove unused payload parameter in channel
[no changelog]
2025-01-31 14:57:31 +01:00
M1nd3r
1ddb98dfe9 fix(test): fix style in thp unit tests
[no changelog]
2025-01-31 14:57:31 +01:00
M1nd3r
5280c75445 fix: fix change failed test cause 2025-01-31 14:57:31 +01:00
M1nd3r
ce178cfae6 fix(core): update comments, refactor debug log in session context
[no changelog]
2025-01-31 14:57:31 +01:00
M1nd3r
e7a6114985 fix(core): modify python test, ignore broken THP test
[no changelog]
2025-01-31 14:57:31 +01:00
M1nd3r
6b4d6ab720 fix style after rebase 2025-01-31 14:57:31 +01:00
M1nd3r
98a08b9b5a fixup! fixup! fixup! fixup! fixup! wip: single packet decryption (not finished) [no changelog] 2025-01-31 14:57:30 +01:00
M1nd3r
6b94fbfd0c fixup! fixup! fixup! fixup! wip: single packet decryption (not finished) [no changelog] 2025-01-31 14:57:30 +01:00
M1nd3r
da122f3c39 WIP: try simplify message handler, might break something
[no changelog]
2025-01-31 14:57:30 +01:00
M1nd3r
f3bf73b55c chore: fix incomplete enum change
[no changelog]
2025-01-31 14:57:30 +01:00
M1nd3r
f3725bc241 chore(core): remove TODO comment from received_message_handler
[no changelog]
2025-01-31 14:57:30 +01:00
M1nd3r
5a99e5b16e chore(core): remove management session code from handle_ThpCreateNewSession
[no changelog]
2025-01-31 14:57:30 +01:00
M1nd3r
73d6b12592 fixup! fixup! fixup! wip: single packet decryption (not finished) [no changelog] 2025-01-31 14:57:30 +01:00
M1nd3r
6975f4b290 chore(core): make wipe device proceed even if sending of success message fails
[no changelog]
2025-01-31 14:57:30 +01:00
M1nd3r
30470b5110 fixup! fixup! wip: single packet decryption (not finished) [no changelog] 2025-01-31 14:57:30 +01:00
M1nd3r
7b88bf7f48 fixup! wip: single packet decryption (not finished) [no changelog] 2025-01-31 14:57:30 +01:00
M1nd3r
973aec05d3 wip: single packet decryption (not finished)
[no changelog]
2025-01-31 14:57:30 +01:00
M1nd3r
ddbef99db2 fix: return InvalidSessionError when trying to access cache of Seedless session
[no changelog]
2025-01-31 14:57:30 +01:00
M1nd3r
0f1e962f15 wip buffer locking-
[no changelog]
2025-01-31 14:57:30 +01:00
M1nd3r
ccc3ac9e68 wip - change session behavior
[no changelog]
2025-01-31 14:57:30 +01:00
M1nd3r
f746f2f3e0 wip 2025-01-31 14:57:30 +01:00
M1nd3r
4d3eabe124 fixup! feat(core): implement THP 2025-01-31 14:57:30 +01:00
M1nd3r
bdc3efa6c8 wip 2025-01-31 14:57:30 +01:00
M1nd3r
f6bee89d32 refactor(core): move handling of ThpCreateNewSession message into base.py
[no changelog]
2025-01-31 14:57:30 +01:00
M1nd3r
0ebdc3d7c0 refactor(core): move wire buffer handling completely to memory_manager
[no changelog]
2025-01-31 14:57:30 +01:00
M1nd3r
8402ee60c5 refactor(python,tests): add is_invalidated flag to client, do not set the emulator.client outside from emulator
[no changelog]
2025-01-31 14:57:30 +01:00
M1nd3r
ebfb371bcd refactor(core): move exclude list from wipe to wipe_cache
[no changelog]
2025-01-31 14:57:30 +01:00
M1nd3r
4e41eb9e63 refactor(core): clean channel and received_message_handler
[no changelog]
2025-01-31 14:57:30 +01:00
M1nd3r
b5e90bbb81 refactor(core): improve readability and logging in channel.py
[no changelog]
2025-01-31 14:57:30 +01:00
M1nd3r
ae32a777dc refactor(core): improve readability of channel_manager
[no changelog]
2025-01-31 14:57:30 +01:00
M1nd3r
24c08735a1 feat(python): implement session based trezorlib
[no changelog]
2025-01-31 14:57:30 +01:00
M1nd3r
35ddbf31ec feat(core): implement THP 2025-01-31 14:57:30 +01:00
M1nd3r
4db5224f92 chore(core): adapt SConscripts to THP needs 2025-01-31 14:57:30 +01:00
M1nd3r
fc8fbfdb36 chore: add build_unix_frozen_debug to core Makefile
[no changelog]
2025-01-31 14:57:29 +01:00
M1nd3r
c5fb175640 chore(core): adapt emu.py to new trezorlib
[no changelog]
2025-01-31 14:57:29 +01:00
tychovrahe
64d8c18865 fix(core): adjust T3W1 display refresh rate
[no changelog]
2025-01-31 10:04:26 +01:00
tychovrahe
06a722cc74 fix(core): fix boot screen background color when showing no-warning vendor info
[no changelog]
2025-01-31 10:04:06 +01:00
cepetr
2eb1e5b3ca feat(prodtest): refactor and improve prodtest 2025-01-31 08:15:20 +01:00
Roman Zeyde
2a19b35f3e build(core): export Rust functions' stack sizes
It is useful to find the top-most stack consuming functions:

```
$ make build_firmware
$ arm-none-eabi-size -A build/firmware/firmware.elf | grep .stack_sizes
.stack_sizes          7523           0

$ cargo install stack-sizes@0.4.0
$ stack-sizes build/firmware/firmware.elf | grep trezor_lib | sort -k2 -n | tail -n10
0x081c1721	3536	trezor_lib::ui::api::firmware_micropython::new_confirm_properties::h2ab0feebaf154486
0x081c0e7d	3560	trezor_lib::ui::api::firmware_micropython::new_confirm_modify_output::h04465b97d57fafb6
0x081c6161	3688	trezor_lib::ui::api::firmware_micropython::new_show_checklist::he16b109bc4dff398
0x081c4089	4240	trezor_lib::ui::api::firmware_micropython::new_request_pin::h3280c5eff8900a22
0x081be3e1	4960	trezor_lib::ui::api::firmware_micropython::new_confirm_action::h860f874d714ace74
0x081bf545	5096	trezor_lib::ui::api::firmware_micropython::new_confirm_emphasized::h9ade56f5c88001c0
0x081c1ded	5736	trezor_lib::ui::api::firmware_micropython::new_confirm_summary::he2e1274bbc07703e
0x081c7ee9	6760	trezor_lib::ui::api::firmware_micropython::new_show_remaining_shares::h1f67cbfdfeb4c683
0x081c127d	6768	trezor_lib::ui::api::firmware_micropython::new_confirm_more::h107a4be9b5431bb4
0x081c5441	8312	trezor_lib::ui::api::firmware_micropython::new_show_address_details::h352e0b87c58914ce
```

[no changelog]
2025-01-31 06:28:15 +01:00
cepetr
5adb8ef997 refactor(core): rename memory_area to applet_memory
[no changelog]
2025-01-30 14:07:25 +01:00
cepetr
f99030938e feat(core): reset peripherals during handovers
[no changelog]
2025-01-30 14:07:25 +01:00
cepetr
236c377e20 refactor(core): remove unused linker script symbols
[no changelog]
2025-01-30 14:07:25 +01:00
cepetr
6719eeb376 refactor(core): simplify shutdown/handover code
[no changelog]
2025-01-30 14:07:25 +01:00