1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-05-30 04:38:44 +00:00
Commit Graph

2009 Commits

Author SHA1 Message Date
M1nd3r
dfea8fb014 wip 2025-04-16 17:35:37 +02:00
M1nd3r
cb142e1de3 fix style and errors 2025-04-16 17:35:37 +02:00
M1nd3r
747dfe8020 wip public credential 2025-04-16 17:35:37 +02:00
M1nd3r
2a70914ce1 chore: improve fallback 2025-04-16 17:35:37 +02:00
M1nd3r
72b8b8ef1c chore: optimize last run of transmission loop 2025-04-16 17:35:37 +02:00
M1nd3r
ad7268d32c chore: improve logging in received_message_handler 2025-04-16 17:35:37 +02:00
M1nd3r
0d92e79ba2 chore: unify FailureType enum across branches 2025-04-16 17:35:37 +02:00
M1nd3r
92f223d222 chore(core): improve fallback 2025-04-16 17:35:37 +02:00
M1nd3r
ef7bd77567 wip - might not work 2025-04-16 17:35:37 +02:00
M1nd3r
79cba35361 feat(core): improve pairing screens 2025-04-16 17:35:37 +02:00
M1nd3r
52aad3357c wip 2025-04-16 17:35:37 +02:00
M1nd3r
7cddc28144 fix(core): make custom noise implementation compatible with standard 2025-04-16 17:35:37 +02:00
M1nd3r
16f98d265c fix(core): change default value of model_variant in device properties to None
[no changelog]
2025-04-16 17:35:37 +02:00
M1nd3r
6acb9f43d4 chore(core): close all workflows when channel is replaced
[no changelog]
2025-04-16 17:35:37 +02:00
M1nd3r
62aa565a1c fix: remove unnecessary get_msg_name and get_msg_type functions
[no changelog]
2025-04-16 17:35:37 +02:00
M1nd3r
94cb105262 feat: use autoconnect=False credentials as autoconnect=True in case of channel replacement
[no changelog]
2025-04-16 17:35:37 +02:00
M1nd3r
523e51806a feat: implement thp channel replacement
[no changelog]
2025-04-16 17:35:37 +02:00
M1nd3r
7aeb57d0ca fix: change credential to bytes from bytearray 2025-04-16 17:35:37 +02:00
M1nd3r
0155272394 feat(core): add host static pubkey to channel cache
[no changelog]
2025-04-16 17:35:36 +02:00
M1nd3r
3f986b07ca chore(core): update cpace implementation
[no changelog]
2025-04-16 17:35:36 +02:00
M1nd3r
a2eb0b1ce9 chore(core): remove button request from pairing screens
[no changelog]
2025-04-16 17:35:36 +02:00
M1nd3r
2a07733235 temp: thp rest
[no changelog]
2025-04-16 17:35:36 +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
Martin Milata
2a40d91790 refactor(core): convert modtrezorio.ble to rust
[no changelog]
2025-04-15 13:08:37 +02:00
Roman Zeyde
9bd81926af feat(core): check for runtime QSTR allocations
[no changelog]
2025-04-14 22:42:16 +03:00
Roman Zeyde
c2dd63a6bd chore(core): move core/prof into core/src/prof
It would allow interning profiling-related QSTRs in debug emulator builds.

[no changelog]
2025-04-14 22:40:52 +03:00
Roman Zeyde
c90b30fbf7 chore(core): intern Monero-related QSTRs
[no changelog]
2025-04-14 22:39:24 +03:00
Roman Zeyde
07ad01220c perf(core): remove imports from hot path
[no changelog]
2025-04-10 14:19:34 +03:00
Martin Milata
93f23e6318 feat(core): start BLE advertising on boot
[no changelog]
2025-04-09 21:25:37 +02:00
Roman Zeyde
8df465d7e8 build(core): replace all_modules.py by qstrdefsport.h
[no changelog]
2025-04-07 20:19:31 +03:00
tychovrahe
4adf6d087d feat(core): add BLE unpair command & message
[no changelog]
2025-04-03 16:17:12 +02:00
Roman Zeyde
a91d18ba2c perf(core): intern module presizing identifiers
[no changelog]
2025-04-03 12:58:43 +03:00
Roman Zeyde
9769109229 perf(core): add __init__.py to apps.management module
Otherwise, its name is not interned by `all_modules.py.mako`.

[no changelog]
2025-04-03 12:58:43 +03:00
Roman Zeyde
e6f96974de feat(core): check for sys.modules and main globals reallocations
Rewrite the static comparison in `utils.unimport_end()` in C.

[no changelog]
2025-04-02 16:01:51 +03:00
Roman Zeyde
ad73e41080 feat(core): support USB/BLE sessions
All interfaces are sharing a single 8kB buffer.
It is reallocated once per session and is acquired by the first active session.
Other concurrent sessions will respond with an "Another session in progress" error.

[no changelog]
2025-03-31 13:20:53 +03:00
tychovrahe
aa682bcc6e fix(core): generate coin support for discovery kits
[no changelog]
2025-03-27 15:46:46 +01:00
Roman Zeyde
aecaf306f3 fix(core): don't handle nostr-related messages in BTC-only firmware
[no changelog]
2025-03-27 12:30:02 +02:00
Roman Zeyde
3a24945de9 fix(core): allow firmware upgrade even if language change failed 2025-03-26 13:12:38 +02:00
Roman Zeyde
8b4936926c fix(core): preallocate storage.debug.reset_internal_entropy
It should allow GC to cleanup `int_entropy`, which can be
allocated in random heap position, causing fragmentation.

[no changelog]
2025-03-25 12:05:52 +02:00
Roman Zeyde
f942d13748 fix(core): alloc GC to free _previous_remaining in trezor.pin
[no changelog]
2025-03-25 12:05:52 +02:00
tychovrahe
283561c073 fix(core: fix homescreen ble checker task
[no changelog]
2025-03-23 17:04:05 +01:00
Roman Zeyde
52f5593f28 feat(core): add BLE checker task to Homescreen
[no changelog]
2025-03-20 15:22:32 +02:00
Roman Zeyde
2f97b61870 fix(core): correct confirmation title on Caesar 2025-03-18 12:32:36 +02:00
Roman Zeyde
2333a6a262 feat(core): log GC info in case of OOM
Enabled on debug firmware and non-frozen emulator.

[no changelog]
2025-03-17 20:17:42 +02:00
Ioan Bizău
3efa0480c6 feat(core): add libtropic to the unix build
[no changelog]
2025-03-13 15:08:48 +01:00
Roman Zeyde
41096b5ffd
fix(core): use smaller button for upgrade cancellation 2025-03-13 12:07:07 +01:00
obrusvit
29d69db300 Merge branch 'release/25.03' into obrusvit/merge-release-25.03 2025-03-10 11:17:26 +01:00
Roman Zeyde
2400fcb95d fix(core): scope Cardano confirmation to allow GC
Otherwise, we may run out of heap due to recursion.

[no changelog]
2025-03-09 21:48:30 +02:00
Roman Zeyde
f67a506e9c fix(core): use correct fonts for staking confirmation on Delizia
[no changelog]
2025-03-05 12:23:03 +02:00
Roman Zeyde
6f3e5a6cd7 feat(core): estimate workflow stack usage
By zeroing the stack memory before the workflow runs,
we can estimate how much of it has been used (by reading
the stack memory and looking for the first non-zero value).

[no changelog]
2025-03-04 14:18:15 +02:00