1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-02-01 18:30:56 +00:00
Commit Graph

14381 Commits

Author SHA1 Message Date
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
1f82ede3a3 temp: fix device tests test_protection_levels by removing session.end call
[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
a8c968b7b4 fix device tests
[no changelog]
2025-01-31 14:57:31 +01:00
M1nd3r
80dbdae2ee fix: remove unnecessary comment
[no changelog]
2025-01-31 14:57:31 +01:00
M1nd3r
37714e5ebd fix(test): update slip39 backup device test
[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
194991c9f9 try fix legacy build 2025-01-31 14:57:31 +01:00
M1nd3r
64cfc1f8dd chore(python): add session_context to cli to handle exceptions gracefully
[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
1c07502a09 test: fix device test test_authorize_coinjoin
[no changelog]
2025-01-31 14:57:30 +01:00
M1nd3r
6c39410f17 fixup! fixup! wip - change session behavior [no changelog] 2025-01-31 14:57:30 +01:00
M1nd3r
9b7d1b01c1 fixup! wip - change session behavior [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
5b9160e2d6 fixup! fixup! chore: update fixtures for T2T1 2025-01-31 14:57:30 +01:00
M1nd3r
2951bca801 fixup! chore: update fixtures for T2T1 2025-01-31 14:57:30 +01:00
M1nd3r
9f2e17e819 chore(tests): start screen recording only after the session fixture has a session prepared
[no changelog]
2025-01-31 14:57:30 +01:00
M1nd3r
9f1f72ca6d fix(tests): unlock device when getting a new session
[no changelog]
2025-01-31 14:57:30 +01:00
M1nd3r
5c7c563c3d chore: update fixtures for T2T1 2025-01-31 14:57:30 +01:00
M1nd3r
56b5e8bfd7 feat(python): add lock() to TrezorClientDebugLink
[no changelog]
2025-01-31 14:57:30 +01:00
M1nd3r
4d3eabe124 fixup! feat(core): implement THP 2025-01-31 14:57:30 +01:00
M1nd3r
7c60741ef1 fixup! build(ci): add thp builds and tests 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
41e38a4e1a refactor(common): remove pairing_in/out and channel_in/out proto options
[no changelog]
2025-01-31 14:57:30 +01:00
M1nd3r
89aa6df2af fix(tests): change xfail to skip when using protocol_marker
[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
3ea47b39ba fixup! build(ci): add thp builds and tests 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