1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-04-25 03:29:02 +00:00
Commit Graph

4566 Commits

Author SHA1 Message Date
M1nd3r
ab4c7ba09a chore(core): return reasonable failure for selecting unsupported pairing method 2025-04-17 18:02:32 +02:00
M1nd3r
0b7221aa45 fix(core): remove calls to log on non-debug builds 2025-04-17 18:02:32 +02:00
M1nd3r
17ccdb85b0 fix(core): hide import of ThpMessageType behind THP build flag 2025-04-17 18:02:32 +02:00
M1nd3r
5cf539985e chore(core): remove redundant type ignore after micropython update 2025-04-17 18:02:32 +02:00
M1nd3r
42b3a6c2c1 fix: add hotfix for all dialogs in pairing 2025-04-17 18:02:32 +02:00
M1nd3r
6558d32740 fixup! chore: handle cancel in pairing and credential flows 2025-04-17 18:02:32 +02:00
M1nd3r
a32aa2c23d chore: handle cancel in pairing and credential flows 2025-04-17 18:02:32 +02:00
M1nd3r
7b8c93d7c5 fix unit tests 2025-04-17 18:02:32 +02:00
M1nd3r
4dd362392c rename: autoconnect_credential_request to thp_autoconnect_credential_request 2025-04-17 18:02:32 +02:00
M1nd3r
74bb18b59f fix(core): add hotfix for tests stuck on pairing dialog screen 2025-04-17 18:02:32 +02:00
M1nd3r
00836abd5f chore(core): add unexpected fallback write for small messages 2025-04-17 18:02:32 +02:00
M1nd3r
50c15a036d fix: properly return Failure.ActionCancelled in Pairing flow, add tests 2025-04-17 18:02:32 +02:00
M1nd3r
443ed603bd fixup! fixup! wip 2025-04-17 18:02:32 +02:00
M1nd3r
38959c732f fixup! wip 2025-04-17 18:02:32 +02:00
M1nd3r
8aef116351 wip 2025-04-17 18:02:32 +02:00
M1nd3r
cb45cd1677 wip 2025-04-17 18:02:32 +02:00
M1nd3r
039b74ce56 fix style and errors 2025-04-17 18:02:32 +02:00
M1nd3r
317a8cb3cf wip public credential 2025-04-17 18:02:32 +02:00
M1nd3r
80d105602c chore: improve fallback 2025-04-17 18:02:32 +02:00
M1nd3r
c4795ebcb2 chore: optimize last run of transmission loop 2025-04-17 18:02:32 +02:00
M1nd3r
d845d0117a chore: improve logging in received_message_handler 2025-04-17 18:02:32 +02:00
M1nd3r
ba80b385d4 chore: unify FailureType enum across branches 2025-04-17 18:02:32 +02:00
M1nd3r
3a37d675d7 chore(core): improve fallback 2025-04-17 18:02:32 +02:00
M1nd3r
55f81da4c3 wip - might not work 2025-04-17 18:02:32 +02:00
M1nd3r
422049cce8 feat(core): improve pairing screens 2025-04-17 18:02:32 +02:00
M1nd3r
4ec5389c11 fix(core): fix thp python unit test 2025-04-17 18:02:32 +02:00
M1nd3r
102bed6638 chore: add changelog 2025-04-17 18:02:32 +02:00
M1nd3r
4b4876bfa3 wip 2025-04-17 18:02:32 +02:00
M1nd3r
2724b64136 fix(core): make custom noise implementation compatible with standard 2025-04-17 18:02:32 +02:00
M1nd3r
52f8737acc fix(core): change default value of model_variant in device properties to None
[no changelog]
2025-04-17 18:02:32 +02:00
M1nd3r
73292657bb chore(core): close all workflows when channel is replaced
[no changelog]
2025-04-17 18:02:32 +02:00
M1nd3r
54da209d25 fix: remove unnecessary get_msg_name and get_msg_type functions
[no changelog]
2025-04-17 18:02:32 +02:00
M1nd3r
fa7de26cab feat: use autoconnect=False credentials as autoconnect=True in case of channel replacement
[no changelog]
2025-04-17 18:02:31 +02:00
M1nd3r
d6460d51bf feat: implement thp channel replacement
[no changelog]
2025-04-17 18:02:31 +02:00
M1nd3r
e0893b9932 fix: change credential to bytes from bytearray 2025-04-17 18:02:31 +02:00
M1nd3r
91891540b2 feat(core): add host static pubkey to channel cache
[no changelog]
2025-04-17 18:02:31 +02:00
M1nd3r
b6d9230133 chore(core): update cpace implementation
[no changelog]
2025-04-17 18:02:31 +02:00
M1nd3r
a13b36a6a7 chore(core): remove button request from pairing screens
[no changelog]
2025-04-17 18:02:31 +02:00
M1nd3r
5d39a90acc temp: thp rest
[no changelog]
2025-04-17 18:02:31 +02:00
M1nd3r
c19e39bd09 chore(core): adapt emu.py to the new trezorlib
[no changelog]
2025-04-17 18:02:31 +02:00
M1nd3r
3853252638 chore(core): adapt emu.py to the new trezorlib
[no changelog]
2025-04-17 18:02:30 +02:00
Roman Zeyde
75700d9f7f fix(core): dump allocated QSTRs also in debug firmware
Otherwise, it's hard to understand which QSTR causes the assertion error.

[no changelog]
2025-04-17 15:59:08 +03:00
cepetr
a05ce8aa70 fix(core): fix USB VCP freeze on T3W1 in prodtest
[no changelog]
2025-04-17 11:45:26 +02:00
Martin Milata
04aeaf0607 build(core/unix): use -g instead of -g3
Prevents flood of warnings on macos.

[no changelog]
2025-04-16 17:27:11 +02:00
Martin Milata
0ec2dbd583 fix(core/unix): HIDPI on macOS 15
[no changelog]
2025-04-16 17:27:11 +02:00
Martin Milata
e81617e1c6 build(core): fix build for GCC14
[no changelog]
2025-04-16 17:27:11 +02:00
Martin Milata
8f37578408 ci(nix): update to latest nixpkgs-unstable, rustc
[no changelog]
2025-04-16 17:27:11 +02:00
Martin Milata
04b9768faa build(core): allow passing HW_REVISION to make 2025-04-16 15:36:05 +02:00
Roman Zeyde
c48cfbc59e chore(core): update coverage to 5.5
Because `coverage` 4.5.4 requires Python <=3.8 (EOL).

[no changelog]
2025-04-16 15:14:53 +03:00
Roman Zeyde
d50181b7f9 fix(core): check QSTR run-time allocations only for frozen debug builds
[no changelog]
2025-04-15 14:22:47 +03:00