Commit Graph

1086 Commits

Author SHA1 Message Date
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
116a7a4400 fix: use correct PR number in changelog
[no changelog]
2025-10-06 11:17:55 +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
51c833d8d3 build(python/tools): migrate toiftool to uv
[no changelog]
2025-09-08 16:27:44 +02:00
matejcik
2b08fcfc4c chore(python): clean out Makefile
[no changelog]
2025-09-08 16:27:44 +02:00
matejcik
40d9a82ca2 docs(python): update README
[no changelog]
2025-09-08 16:27:44 +02:00
matejcik
85a3463587 chore(python): migrate to pyproject.toml and uv 2025-09-08 16:27:44 +02:00
M1nd3r
949ced797e chore(python): update OPTIONS.rst
[no changelog]
2025-09-04 19:51:34 +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
matejcik
5af0f0e474 build(core): firmware_fingerprint.py prints fingerprint of secmon in prodtest case 2025-09-03 00:24:30 +02:00
matejcik
1249dbf618 feat(core): implement fingerprint logic for BootloaderV2 image 2025-09-03 00:24:30 +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
Jiri Zbytovsky
3fbd261ff1 docs(python): mention git submodules in trezorctl setup 2025-08-27 16:30:19 +03: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
91f8c85a8d fix: changelog formatting 2025-08-25 14:15:49 +02: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
dd20dc5ead feat(cardano): Show path, address params and longer payload chunk
Show signing path, validate with keychain, show address parameters and increase max displayed bytes of first payload chunk unless signing hash.

Also add issue number to changelog.
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
Roman Zeyde
b4f857bdd5 fix(python): correct CLI error message on uninitialized device
[no changelog]
2025-08-22 09:53:32 +03:00