1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-02-01 10:20:59 +00:00
Commit Graph

13835 Commits

Author SHA1 Message Date
M1nd3r
38fbfc7a61 feat(core): add a flag to disable most of debug logging
[no changelog]
2024-10-20 00:02:31 +02:00
M1nd3r
c241adfc4d refactor(core): replace loop.chan with loop.mailbox
[no changelog]
2024-10-18 11:41:02 +02:00
M1nd3r
22be48cca4 fix(core): add the BENCHMARK option to build_unix_frozen_debug in Makefile
[no changelog]
2024-10-18 11:38:38 +02:00
M1nd3r
f0ab503c3d refactor(core): change order of conditional imports in sconscript
[no changelog]
2024-10-18 11:08:19 +02:00
M1nd3r
d431b46c30 fix(core): remove double defined QStrings for THP
[no changelog]
2024-10-18 11:02:39 +02:00
M1nd3r
d9e24e7068 feat(core): enable benchmark on bitcoin_only builds
[no changelog]
2024-10-17 13:51:08 +02:00
M1nd3r
66fcd27e2b fix(core): enable THP in frozen bitcoin_only builds
[no changelog]
2024-10-17 13:48:32 +02:00
M1nd3r
ed20e2ebe0 fix(core): change version of THP in USE_THP description
[no changelog]
2024-10-17 13:46:22 +02:00
M1nd3r
2b6533dd5a test(core): fix thp unit tests
[no changelog]
2024-10-17 11:44:28 +02:00
M1nd3r
00d7e42939 fix(core): fix pairing context after separation of THP messages
[no changelog]
2024-10-17 11:43:51 +02:00
M1nd3r
24d43ab2e5 fixup! feat(core): make starting channel id random [no changelog] 2024-10-17 11:42:43 +02:00
M1nd3r
335b348de2 feat(core): make starting channel id random
[no changelog]
2024-10-16 17:37:25 +02:00
M1nd3r
7e68d85a64 fixup! fix(core): remove direct import of cache_codec in base.py [no changelog] 2024-10-16 17:31:38 +02:00
M1nd3r
7f1a526625 fix(core): remove direct import of cache_codec in base.py
[no changelog]
2024-10-16 17:25:27 +02:00
M1nd3r
bfee79ef62 fix(core): remove debugLink messages from pairing process
[no changelog]
2024-10-16 17:04:07 +02:00
M1nd3r
51d9607341 chore(core): clean/improve create_new_session.py
[no changelog]
2024-10-16 16:53:57 +02:00
M1nd3r
cd649b1f78 feat(core): make get_seed synchronous
[no changelog]
2024-10-16 16:52:14 +02:00
M1nd3r
b6d06e9397 chore: add legacy options_pb2 to style.py.exclude
[no changelog]
2024-10-16 16:41:27 +02:00
M1nd3r
7aab023fea fix(core): fix feature flags in SConscript.firmware
[no changelog]
2024-10-16 16:28:27 +02:00
M1nd3r
4bcece8a43 fix: remove unused ignores
[no changelog]
2024-10-16 16:23:47 +02:00
M1nd3r
3a483feefb fix(core): change version of THP in USE_THP description
[no changelog]
2024-10-16 16:23:47 +02:00
M1nd3r
7f503ce199 refactor(trezorlib): improve transport protocol file structure
[no changelog]
2024-10-16 16:23:47 +02:00
M1nd3r
594ec26fa7 chore(trezorlib): clean trezolib THP, part 1
[no changelog]
2024-10-16 16:23:47 +02:00
M1nd3r
386595cab2 chore(trezorlib): remove unused code
[no changelog]
2024-10-16 16:23:47 +02:00
M1nd3r
bfc6431cff chore(tests): replace function uninitialized_session in conftest by a pytest.marker
[no changelog]
2024-10-16 16:23:47 +02:00
M1nd3r
e80bfca6cd chore(core): separate message types of THP messages into new enum and update parsing
[no changelog]
2024-10-16 16:23:47 +02:00
M1nd3r
c6ba01b347 chore(protobuf): move options defintions to a separate file to reduce dependecies
[no changelog]
2024-10-16 16:23:47 +02:00
M1nd3r
571898bc0f chore(trezorlib): adjust benchmark feature for THP
[no changelog]
2024-10-16 16:23:46 +02:00
M1nd3r
b4689a1191 feat(core): implement a new Trezor-Host protocol 2024-10-16 16:23:46 +02:00
Martin Milata
01b0c702f0 fixup! feat(core): unify RustLayout, implement single global layout 2024-10-16 16:23:46 +02:00
matejcik
8867ca8d5e fixup! fixup! docs(core): Layout lifecycle documentation 2024-10-16 16:23:46 +02:00
matejcik
733b2ed216 fixup! feat(core): unify RustLayout, implement single global layout 2024-10-16 16:23:46 +02:00
matejcik
909164eeaf fix(tests): fix persistence tests, enable T3B1 2024-10-16 16:23:46 +02:00
matejcik
675adc03a6 fixup! chore: update fixtures 2024-10-16 16:23:46 +02:00
matejcik
5b5715a09d fixup! docs(core): Layout lifecycle documentation 2024-10-16 16:23:46 +02:00
matejcik
c07d37c822 style: make style_check passing 2024-10-16 16:23:46 +02:00
matejcik
106587dfb9 chore: update fixtures 2024-10-16 16:23:46 +02:00
matejcik
eed71f812a style(core/rust): fix linter complaints 2024-10-16 16:23:46 +02:00
matejcik
8e26276b22 fix(core): restore ellipsis functionality on TR 2024-10-16 16:23:46 +02:00
matejcik
b66bce5815 fix(tests): correctly check that backup flow was aborted 2024-10-16 16:23:46 +02:00
matejcik
a0d3a1b552 fix(tests): do not place recorded.zip into the destdir
instead, download it to a temp location, as the Prophecy (and authors of
urlretrieve) foretold
2024-10-16 16:23:46 +02:00
matejcik
eb8045ffb8 fix(core): fix cancel behavior in SignMessage 2024-10-16 16:23:46 +02:00
matejcik
6d48bbd2aa fix(tests): do not trip deadlock detection in autolock test 2024-10-16 16:23:46 +02:00
matejcik
2bf26ffc87 chore: update fixtures 2024-10-16 16:23:46 +02:00
matejcik
495dca10da chore(core/rust): add uDebug capability to more places 2024-10-16 16:23:46 +02:00
matejcik
ede3c95c3f fix(python): opportunistically catch a debuglink desync
In certain cases a DebugLinkState response can get stalled and debuglink
will not read it -- i.e., a situation analogous to wirelink de-sync.
There doesn't seem to be a good way to force-sync debuglink the same way
wirelink does it, but we can detect a wrong response to a
DebugLinkGetState and skip it.
2024-10-16 16:23:46 +02:00
matejcik
c22dc2ffc4 style: fix style problems 2024-10-16 16:23:46 +02:00
matejcik
7ef1ce7b4b style(core/rust): avoid unused warning 2024-10-16 16:23:46 +02:00
matejcik
6c218d8d6c fix(tests): stop waiting for background task after a timeout
Otherwise a test can hang if the result is not returned. This is not
even covered by pytest-timeout because if a test fails, the call to
task.kill() happens during teardown, and pytest-timeout doesn't cover
that.
2024-10-16 16:23:46 +02:00
matejcik
38395c16ce chore(python): improve recovery type deprecation warning 2024-10-16 16:23:46 +02:00