Commit Graph

842 Commits

Author SHA1 Message Date
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
Roman Zeyde
b4f857bdd5 fix(python): correct CLI error message on uninitialized device
[no changelog]
2025-08-22 09:53:32 +03:00
Roman Zeyde
8b19697a39 feat(python): ignore retransmitted THP payloads
[no changelog]
2025-08-21 11:55:38 +03:00
Roman Zeyde
3406932fd7 refactor(python): inline ProtocolV2Channel.prepare_channel_without_pairing()
[no changelog]
2025-08-21 11:55:38 +03:00
Roman Zeyde
a303f9c98a refactor(python): don't return SEQ bit for irrelevant THP messages
[no changelog]
2025-08-21 11:55:38 +03:00
Roman Zeyde
56f9490c01 feat(core): add THP transport-level PING/PONG messages
[no changelog]
2025-08-19 08:21:00 +03:00
Roman Zeyde
6fb28ff6bd refactor(python): define MAX_RETRANSMISSION_COUNT in protocol_v2
[no changelog]
2025-08-19 08:21:00 +03:00
Roman Zeyde
45e870bfd2 test(core): send Cancel only on T1B1
[no changelog]
2025-08-18 23:25:01 +03:00
Roman Zeyde
469ebc9aea fix(python): skip EndSession in case of invalidated THP channel
[no changelog]
2025-08-18 18:44:31 +03:00
M1nd3r
affeefa668 chore(python): add ROOT signing public keys
[no changelog]
2025-08-18 16:07:27 +02:00
M1nd3r
7f5df8fb3a fix(python): fix BootloaderV2Image verify
[no changelog]
2025-08-15 14:04:16 +02:00
Lukas Bielesch
65b753df89 chore(tests): make go to menu item an action 2025-08-15 12:57:23 +02:00
Lukas Bielesch
10aef49a57 chore(tests): vertical menu content 2025-08-15 12:57:23 +02:00
Martin Milata
538aa5cea6 feat(core): extend THP credentials with app_name
[no changelog]
2025-08-13 15:56:56 +02:00
Ioan Bizău
5b2798889a feat(core): SLIP-24 payment requests for Solana
[no changelog]
2025-08-13 14:30:23 +02:00
Ioan Bizău
218805d2ed feat(core): SLIP-24 payment requests for Cardano
[no changelog]
2025-08-13 12:09:21 +02:00
M1nd3r
d3399e0744 chore(python): fix code_entry_code encoding in trezorlib
[no changelog]
2025-08-11 17:17:30 +02:00
cepetr
b8c7822dbb feat(core): derive entropy from master key
[no changelog]
2025-08-11 10:11:21 +02:00
matejcik
41f60722ef chore(translations): normalize strings to NFC not NFKC 2025-08-08 17:55:45 +02:00
M1nd3r
a8f976c78e chore(python): move dev keys from BootloaderV2Image
[no changelog]
2025-08-07 16:10:15 +02:00
Szymon Lesisz
dadc0a43f1 fix(python): bridge debuglink session id
[no changelog]
2025-08-06 20:39:00 +02:00
Martin Milata
616756a852 fix(python): bridge THP detection
[no changelog]
2025-08-06 20:39:00 +02:00
Roman Zeyde
9aca92b3d4 test(core): fix test_emu_sanity on T3W1 non-debug emulators
Currently `TrezorClientDebugLink` is trying to perform THP pairing,
which fails without DebugLink.

[no changelog]
2025-08-06 20:56:25 +03:00
Roman Zeyde
191631fba0 fix(core): skip unexpected THP packet during channel allocation
[no changelog]
2025-08-06 19:53:01 +03:00
M1nd3r
6809ade015 chore(python): add missing license headers
[no changelog]
2025-08-06 11:16:38 +02:00
M1nd3r
902db9a869 chore(python): remove year ranges from license headers
[no changelog]
2025-08-06 11:16:38 +02:00
Roman Zeyde
51f5b7707c fix(python): avoid failing emu.py if non-debug emulator is used
[no changelog]
2025-08-04 20:23:18 +03:00