Ondřej Vejpustek
f23cdd1565
fixup! feat(python): support bitcoin-like transaction signing anti-exfil protocol
2025-04-07 16:19:31 +02:00
Ondřej Vejpustek
402efee514
fixup! feat(python): support bitcoin-like transaction signing anti-exfil protocol
...
Co-authored-by: Petr Sedláček <63123927+M1nd3r@users.noreply.github.com>
2025-04-07 15:26:53 +02:00
Ondřej Vejpustek
cc188f31d4
style(python): use explicit keyword arguments
2025-04-02 19:48:29 +02:00
Ondřej Vejpustek
c0660ef34e
style(python): use new-type annotations
2025-04-02 19:48:29 +02:00
Ondřej Vejpustek
5176d5950c
fixup! refactor(python): implement anti-exfil protocol helper functions
2025-04-02 19:48:27 +02:00
Ondřej Vejpustek
13c3627211
chore(core,python): add changelog
2025-03-28 20:04:17 +01:00
Ondřej Vejpustek
c931332b75
feat(python): support ownership proof anti-exfil protocol
2025-03-28 20:04:17 +01:00
Ondřej Vejpustek
cb7ac84d8a
feat(common/protobuf): add ownership proof anti-exfil protocol messages
...
[no changelog]
2025-03-28 20:04:17 +01:00
Ondřej Vejpustek
34309b6d09
feat(python): support bitcoin-like transaction signing anti-exfil protocol
2025-03-28 20:01:41 +01:00
Ondřej Vejpustek
98c317c34d
feat(common/protobuf): add bitcoin-like transaction signing anti-exfil protocol messages
...
[no changelog]
2025-03-28 19:07:47 +01:00
Ondřej Vejpustek
9ece9ae6c0
feat(python): support ethereum transaction signing anti-exfil protocol
2025-03-28 18:44:24 +01:00
Ondřej Vejpustek
a8c8b35b07
refactor(python): implement anti-exfil protocol helper functions
...
[no changelog]
2025-03-28 18:44:24 +01:00
Ondřej Vejpustek
ba06f21a0e
feat(common/protobuf): add ethereum transaction signing anti-exfil protocol messages
...
[no changelog]
2025-03-28 18:44:24 +01:00
Ondřej Vejpustek
07e90986aa
feat(common/protobuf): introduce legacy P2PKH script type
2025-03-28 15:22:27 +01:00
Roman Zeyde
f43954e672
test(python): don't send extra InitDevice and EndSession during setup
...
[no changelog]
2025-03-18 17:45:34 +02:00
Vadim Anufriev
40d8760666
chore(python): update cli docs for reboot-to-bootloader
command
2025-03-18 11:35:11 +01:00
matejcik
2e72a8ce1b
fix(python/debuglink): time out after waiting for empty-state response
...
...avoiding a problem where, if the timing is unfortunate, the reply may
get lost when a workflow is ending
(cherry picked from commit 3056b4934e
)
[no changelog]
2025-03-17 20:16:14 +02:00
Roman Zeyde
49c9ad04cd
feat(python): ignore unrelated responses
...
Old responses may be still in the receive queue
(blocking the device from handling new requests).
Let's "flush" them before starting the test.
[no changelog]
2025-03-17 20:16:14 +02:00
matejcik
e1ce484ba7
feat(python): add a timeout argument to read() from transport
...
also take the opportunity to switch to new style typing annotations
syntax
[no changelog]
2025-03-17 20:16:14 +02:00
Lukas Bielesch
17603ffe41
refactor(python): move Screen Buttons to debuglink
2025-03-12 14:34:25 +01:00
M1nd3r
ec4fbecc1d
chore(python): add description to nostr commands group
...
[no changelog]
2025-03-11 16:11:33 +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
Roman Zeyde
5cdd0e7e74
feat(python): check that translations are using correct layout names
...
[no changelog]
2025-01-28 15:18:12 +02:00
matejcik
89dc753c6e
chore(python): add production keys for T3W1
...
[no changelog]
2025-01-23 14:13:57 +01:00
Roman Zeyde
206119953d
feat(python): support per-layout translated text strings
...
[no changelog]
2025-01-22 10:41:35 +02:00
Roman Zeyde
7ee1259aaa
refactor(core): use layout name for translation font keys
...
It would simplify `TranslationsDir.load_lang` method.
[no changelog]
2025-01-22 10:41:35 +02:00
Roman Zeyde
e9aca68612
docs: make sure changelog fragments end with a period
...
Also, run `generate-changelog.py` over prodtest changelog.
[no changelog]
2025-01-20 14:54:27 +02:00
obrusvit
00740b560c
refactor(core): consistent naming of UI layouts
...
- follow-up on 862c987779
- layout_bolt stays the same
- layout_samson -> layout_caesar
- layout_quicksilver -> layout_delizia
- use super for importing rust modules in layout code
[no changelog]
2025-01-20 12:29:24 +01:00
matejcik
79cc7a9693
style(python): improve type hints for input flows
2025-01-17 11:28:12 +01:00
matejcik
6a5836708f
refactor(python): replace usages of @expect
2025-01-17 11:28:12 +01:00
matejcik
53bdef5bb4
feat(python): introduce device.setup()
for entropy check
...
this deprecates `device.reset()`, and moves the new arguments to
`device.setup()`.
Also it changes default backup type on core devices to SLIP39-single,
same as Suite, and randomizes the number of entropy check rounds, if not
provided from outside.
2025-01-17 11:28:12 +01:00
matejcik
4610655d77
feat(python): introduce a deprecation helper
...
it's a Python class that emits a DeprecationWarning if you try to use it
for almost anything
(two exceptions that can't be overriden from the wrapper:
* isinstance(depr, SomeOtherClass)
* depr is None)
we will return instances of this class to indicate that a return value
of something will be going away
2025-01-17 11:28:12 +01:00