1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-03-12 14:16:06 +00:00
Commit Graph

940 Commits

Author SHA1 Message Date
M1nd3r
564965d2d6 fix merge issues 2025-03-11 14:30:45 +01:00
M1nd3r
28eaa8552d fix(python): remove transport close from get_protocol 2025-03-11 13:11:26 +01:00
M1nd3r
03d5751f3f wip 2025-03-11 13:11:26 +01:00
M1nd3r
999bc4b28c chore(python): add noiseprotocol to requirements
[no changelog]
2025-03-11 13:11:26 +01:00
M1nd3r
e7c7cf5443 feat: implement thp channel replacement
[no changelog]
2025-03-11 13:11:03 +01:00
M1nd3r
853bf8529a temp: thp rest
[no changelog]
2025-03-11 13:11:03 +01:00
M1nd3r
39eaf73a17 chore(core): adapt trezorlib transports to session based
[no changelog]
2025-03-11 11:48:30 +01:00
M1nd3r
1b1788a4da feat(python): implement session based trezorlib 2025-03-11 11:48:30 +01:00
M1nd3r
3588481dbe feat(python): implement session based trezorctl
[no changelog]
2025-03-11 11:48:01 +01:00
M1nd3r
8b88aff9ee feat(python): add platformdirs to requirements
[no changelog]
2025-03-11 11:48:00 +01:00
M1nd3r
5eba7d8969 chore(core): adapt trezorlib transports to session based
[no changelog]
2025-03-11 11:47:45 +01:00
M1nd3r
fa0ddcf08b feat(python): implement session based trezorlib 2025-03-11 11:47:45 +01:00
M1nd3r
035e817ed9 feat(python): implement session based trezorctl
[no changelog]
2025-03-11 11:47:45 +01:00
M1nd3r
bc9d8dc277 feat(python): make failing to resume session hard-fail 2025-03-11 11:47:45 +01:00
Martin Milata
edeea3bf65 fix(python): revive trezorctl --script
[no changelog]
2025-03-11 11:47:45 +01:00
M1nd3r
a590438ea1 chore(python): bump trezorlib version to 0.14.0 2025-03-11 11:47:17 +01:00
M1nd3r
febac09a2f fix(python): change nostr to use Session instead of Client 2025-03-11 11:47:17 +01:00
M1nd3r
cd781d7a70 chore(python): session passphrase rework 2025-03-11 11:47:17 +01:00
Martin Milata
7bcbe0aac4 fix(python): simplify UI callbacks 2025-03-11 11:47:17 +01:00
Martin Milata
21b69d06c6 fix(python): bring back firmware version check 2025-03-11 11:47:17 +01:00
Martin Milata
d2d93d0960 fix(python): transport handling with sessions
[no changelog]
2025-03-11 11:47:17 +01:00
Martin Milata
b41b163ef7 test(core): remove dead code 2025-03-11 11:47:17 +01:00
M1nd3r
72fe47ba3b chore(core): adapt trezorlib transports to session based
[no changelog]

Co-authored-by: mmilata <martin@martinmilata.cz>
2025-03-11 11:47:17 +01:00
M1nd3r
5c2d3c65b7 feat(python): implement session based trezorlib
Co-authored-by: mmilata <martin@martinmilata.cz>
2025-03-11 11:45:57 +01:00
M1nd3r
ac96a035ad feat(python): implement session based trezorctl 2025-03-11 11:45:57 +01:00
M1nd3r
5992ce3223 chore(python): add refresh of invalid client to internal emulator 2025-03-11 11:45:09 +01:00
M1nd3r
07c121e599 chore(python): update python tools
Co-authored-by: mmilata <martin@martinmilata.cz>
2025-03-11 11:45:09 +01:00
tychovrahe
91c3fde7bb T2W1: add model 2025-03-11 11:44:40 +01:00
tychovrahe
70e38acfe3 BLE hadling in micropython: unpair 2025-03-11 11:44:40 +01:00
tychovrahe
b62a5aec6b BLE handling in micropython 2025-03-11 11:44:40 +01:00
tychovrahe
ad34dc9ae6 TREZORCTL 2025-03-11 11:44:40 +01:00
Roman Zeyde
d6c0e7e203 test(python): rerun tests when first response chunk is lost
Also, make sure that Python tests are using `python/setup.cfg`.

[no changelog]
2025-03-10 23:10:40 +02:00
Martin Milata
b765cb1e2c fix(python): runaway emulator process
[no changelog]
2025-03-10 15:06:05 +01:00
Ioan Bizău
d515153ca5 docs: fix link to examples
[no changelog]
2025-02-28 14:15:45 +01:00
Ioan Bizău
5282321fba chore(core): improve error message
[no changelog]
2025-02-28 14:15:45 +01:00
Ioan Bizău
073038771e feat(core): introduce Nostr
[no changelog]
2025-02-28 14:15:45 +01:00
Roman Zeyde
9a62cbd781 chore(python): include the invalid chunk in RuntimeError message
[no changelog]
2025-02-12 15:55:44 +01:00
matejcik
4a9ac3a956 chore(python): bump version after release 2025-02-12 14:26:15 +01:00
matejcik
b2098ff03f docs(python): regenerate OPTIONS.rst 2025-02-12 14:26:15 +01:00
matejcik
535950ac29 docs(python): generate changelog for 0.13.10 2025-02-12 14:26:15 +01:00
matejcik
f1c33e2f06 fix(python): make cryptography a required dependency
fixes #4493
2025-02-12 14:26:15 +01:00
matejcik
dabc5546b5 fix(python): support T3B1 in trezorctl fw download
[no changelog]
2025-02-12 11:17:38 +01:00
matejcik
fcb76df9f5 style(python): update trezorlib.firmware to new-style type annotations
[no changelog]
2025-02-12 11:17:38 +01:00
matejcik
72d14a370c feat(python): allow trezorctl firmware commands to work with unknown models
[no changelog]
2025-02-12 11:17:38 +01:00
matejcik
cba5e60c96 docs(python): document trezorlib exception classes 2025-02-12 11:17:38 +01:00
matejcik
1b45c0d491 feat(python): support future Trezor models
fixes #3993
2025-02-12 11:17:38 +01:00
matejcik
d9495bc76b refactor(python): improve models.py
* update typing annotations
* extract usb ids to common constants
2025-02-12 11:17:38 +01:00
Roman Zeyde
061e71213e test(core): don't fetch full DebugLinkState by default
In case the main workflow is restarting after a `DebugLinkDecision`,
sending the response of `DebugLinkGetState` may get interrupted.

We are making the state fetching explicit, in order to avoid the
"restart" race condition (as described in #4401).

Following the above change, text-based layout recording is removed.

[no changelog]
2025-02-07 11:21:44 +01:00
tychovrahe
25ce4e3fc9 fix(python): prevent regeneration of JPEG homescreen image if not necessary
[no changelog]
2025-02-06 12:40:23 +01:00
tychovrahe
d9c547c590 fix(core): calculate image hash including padding between header and code
[no changelog]
2025-01-29 16:56:11 +01:00