Commit Graph

868 Commits

Author SHA1 Message Date
PrisionMike
0468fa14aa fix(tron): update tron to use session
- Minor code fixes to old PR by overcat
- Only build Tron for debug builds
- Updated message index
- Updated text fixtures
[no changelog]
2025-11-12 10:07:50 +01:00
Jun Luo
590d3e98b2 feat(common,core,python,tests): add tron.get_address support.
[no changelog]
2025-11-12 10:07:50 +01:00
Ioan Bizău
cc7978f6fd refactor: use create_connection
[no changelog]
2025-11-06 17:58:16 +02:00
Ioan Bizău
c06cf9b2ee chore: remove sleep
[no changelog]
2025-11-06 17:58:16 +02:00
Martin Pastyřík
d2516f1d07 feat(core): functions for Evolu spam protection
[no changelog]
2025-11-05 10:22:37 +01:00
tychovrahe
25dadcef95 feat(core): notify host on power status change using internal notification system
[no changelog]
2025-10-30 08:36:38 +01:00
Martin Milata
e2f3e3b0fa feat(core): add emulated BLE interfaces
[no changelog]
2025-10-29 21:18:32 +01:00
M1nd3r
c74ba8942b chore: add nrf keys to ModelKeys
[no changelog]
2025-10-17 15:08:19 +02:00
Ioan Bizău
abb2816c98 feat: 32 bytes amount in ETH payment requests
[no changelog]
2025-10-16 15:14:08 +03:00
Ioan Bizău
0eb83eab0e fix: use profile dir for Tropic model output
[no changelog]
2025-10-16 11:25:39 +03:00
Roman Zeyde
1b2cd155f0 fix(python): connect once during trezorctl get-session 2025-10-15 13:22:19 +02:00
Ioan Bizău
063ddf3743 chore: start Tropic model from multicore tests
[no changelog]
2025-10-14 11:29:38 +03:00
Roman Zeyde
456ea7d5d6 feat(core+python): support device unlocking during THP handshake
Add a flag to the first THP handshake message, so the device can:

- fail the handshake if the device is locked (current behavior)
- prompt the user to enter the PIN (similar to other non-pairing flows)

NOTE: This is a backward-incompatible change, so Suite THP implementation MUST be adapted as well.

Co-authored-by: M1nd3r <petrsedlacek.km@seznam.cz>
2025-10-06 11:20:33 +02:00
Roman Zeyde
a7fe6b8977 feat(python): allow exporting unit serial number
[no changelog]
2025-10-03 17:37:10 +03:00
Roman Zeyde
aa98a40ceb feat(common): allow exporting unit serial number
[no changelog]
2025-10-03 17:37:10 +03:00
Lukas Bielesch
45cc5ffb84 feat(core/tests): device menu click tests
- move keyboard shared code to common
[no changelog]
2025-10-03 10:50:55 +02:00
Lukas Bielesch
3325181eeb chore(core): add auto_lock_delay_battery_ms to Feature messages
[no changelog]
2025-10-03 10:50:55 +02:00
Roman Zeyde
ded3950890 fix(python): uncache transport when waiting for the bootloader
[no changelog]
2025-10-02 07:19:43 +02:00
M1nd3r
8892eee0fa feat(core): notify host about channel replacement
[no changelog]
2025-10-01 11:10:32 +02:00
tychovrahe
e1d8700e42 feat(core/bootloader): signal firmware corrupted in features 2025-09-25 19:34:10 +02:00
Roman Zeyde
5bab202950 chore(core): make host_name & app_name required also in ThpCredentialMetadata
[no changelog]
2025-09-25 18:27:11 +03:00
Lukas Bielesch
3bb9aa2579 refactor(core/eckhart): fuse passphrase and label keyboards to one
- create one full-screen component `StringKeyboard`
- input component is now generic over the `StringInput` trait
- two implemented input types: `PassphraseInput` and `LabelInput`
[no changelog]
2025-09-24 11:02:01 +02:00
matejcik
bfa3d82fb7 style(python): update types to pyright 1.1.404 2025-09-22 23:38:20 +02:00
M1nd3r
72e5560395 chore: remove unused ThpError - INVALID_DATA
[no changelog]
2025-09-22 10:02:02 +02:00
Lukas Bielesch
a80a1d0045 feat(core/eckhart): cache THP app/host name along with MAC
[no changelog]

Co-authored-by: Martin Milata <martin@martinmilata.cz>
2025-09-21 21:55:50 +02:00
Martin Milata
ed1063b7e7 fix(core): make app_name required for THP pairing
[no changelog]
2025-09-19 12:15:27 +02:00
Martin Milata
29baee0dfe fix(python): include hostname during THP pairing
[no changelog]
2025-09-19 12:15:27 +02:00
Andrew Kozlik
bb1d21b539 feat(python): Check Tropic fields to AuthenticityProof. 2025-09-18 18:37:58 +02:00
Andrew Kozlik
246592310e chore(core): Add Tropic fields to AuthenticityProof. 2025-09-18 18:37:58 +02:00
obrusvit
c4420f75f5 feat(core): apply autolock settings from menu
[no changelog]
2025-09-16 14:30:06 +02:00
obrusvit
42af3f8d39 feat(protob): extend ApplySettings
- add auto_lock_delay_battery_ms to set delay in ms after which the
device locks when on battery or wireless charger

[no changelog]
2025-09-16 14:30:06 +02:00
Martin Milata
5cef52bec8 fix(python): enable BLE only if TREZOR_BLE=1 or --ble given
[no changelog]
2025-09-12 00:30:08 +02:00
Martin Milata
355d17b479 feat(python): BLE support via bleak
Co-authored-by: tychovrahe <brunam@seznam.cz>
2025-09-12 00:30:08 +02:00
Roman Zeyde
7f071183ce chore: add protobuf definitions for THP hostname cache
[no changelog]
2025-09-11 15:07:36 +03:00
matejcik
85a3463587 chore(python): migrate to pyproject.toml and uv 2025-09-08 16:27:44 +02:00
Ioan Bizău
3202db88c5 feat(core): SLIP-24 payment requests for Stellar
[no changelog]
2025-09-04 12:59:50 +03:00
matejcik
aea4e4a29e fix(common): require fields on SLIP-24 Text Details memo 2025-09-03 10:00:28 +02:00
Lukas Bielesch
d8d642ab56 chore(core/eckhart): implement BLE device unpairing
[no changelog]
2025-09-02 15:44:11 +02:00
tychovrahe
0595212985 feat(core/bootloader): add battery SoC to features messages
[no changelog]
2025-08-27 17:06:15 +02:00
obrusvit
593435689e feat(core): generate SLIP-21 node for Evolu 2025-08-26 19:13:58 +02:00
Roman Zeyde
b5b6a74d32 fix(python): improve trezorctl error handling
Following https://github.com/trezor/trezor-firmware/pull/5613.

[no changelog]
2025-08-25 17:31:32 +03:00
Roman Zeyde
60cf3d8800 refactor(python): simplify THP pairing state handling
Also, add more logging statements for THP pairing process.

[no changelog]
2025-08-25 17:31:32 +03:00
Peter Jaško
adb9d1940b feat(cardano): replace chunking with length+offset 2025-08-25 14:15:49 +02:00
Peter Jaško
0e71c8da24 feat(cardano): stop hashing in message signing 2025-08-25 14:15:49 +02:00
Peter Jaško
2427d23274 chore(cardano): changes after rebase 2025-08-25 14:15:49 +02:00
Peter Jaško
389e1eba4f fix(cardano): Return pubkey
This ends up being useful for software wallets.
2025-08-25 14:15:49 +02:00
Peter Jaško
13f216af3c fix(cardano): Change display_ascii flag to prefer_hex_display
This makes the behavior more consistent with Ethereum message signing.
2025-08-25 14:15:49 +02:00
Peter Jaško
4dcfaf189c feat(cardano): Message signing 2025-08-25 14:15:49 +02:00
Roman Zeyde
c693963af6 refactor(python): refactor THP-related exception types
[no changelog]
2025-08-25 13:09:17 +03:00
tychovrahe
a48442036f chore(core): add secmon keys to trezorlib
[no changelog]
2025-08-25 11:42:33 +02:00