M1nd3r
91d9bfbbeb
refactor(python,tests): add is_invalidated flag to client, do not set the emulator.client outside from emulator
...
[no changelog]
2025-01-27 07:25:51 +01:00
M1nd3r
25ec626577
test: update device tests
...
[no changelog]
2025-01-27 07:25:51 +01:00
M1nd3r
e179a35b71
chore(python): update python tools
...
[no changelog]
2025-01-27 07:25:50 +01:00
M1nd3r
014520f51a
chore(python): add python requirements
...
[no changelog]
2025-01-27 07:25:50 +01:00
M1nd3r
63c514b88a
feat(python): implement session based trezorlib
...
[no changelog]
2025-01-27 07:25:50 +01: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
matejcik
0cae2ab2d0
deprecation(python): deprecate @expect
2025-01-17 11:28:12 +01:00
matejcik
8b6d8e7572
fix(all): make more protobuf fields required
...
[no changelog]
2025-01-17 11:28:12 +01:00
matejcik
c7231e5de9
feat(python): introduce expect argument to client.call
2025-01-17 11:28:12 +01:00
Roman Zeyde
cbfbd48e3a
docs: use 'trezorctl firmware update'
...
Following #1258 .
[no changelog]
2025-01-10 10:49:39 +01:00
obrusvit
862c987779
refactor(core): consistent naming of UI layouts
...
- UI layouts name changes:
- model_tt -> layout_bolt
- model_tr -> layout_samson
- model_mercury -> layout_quicksilver
- rust features `model_xyz` freed for different use, now it's
`layout_xyz`
- input_flow function names are based on UI layout and not internal
model name (i.e. quicksilver instead of t3t1)
- directory names and commentary changed accordingly
[no changelog]
2025-01-09 22:57:14 +01:00
Andrew Kozlik
f573db6953
feat(python): Implement entropy check workflow in device.reset().
2025-01-02 13:44:36 +01:00
Andrew Kozlik
5d2fa78b3f
chore(python): Add shamir-mnemonic and SLIP10 packages.
2025-01-02 13:44:36 +01:00
Andrew Kozlik
df97d8d958
feat(common): Add messages for entropy check workflow.
...
[no changelog]
2025-01-02 13:44:36 +01:00
tychovrahe
a8e5d471fe
fix(python): fix toif generation from grayscale
...
[no changelog]
2024-12-30 16:12:48 +01:00
M1nd3r
0643d95a67
style: fix article
...
[no changelog]
2024-12-02 12:39:15 +01:00
Ondřej Vejpustek
36c7423889
feat(python): support sortedmulti
2024-12-02 12:21:24 +01:00
Ondřej Vejpustek
94cf3a29a0
feat(core,python,rust): add autogenerated files
2024-12-02 12:21:24 +01:00
M1nd3r
2ef0071611
fix(python): remove unused type ignore after click version bump
...
[no changelog]
2024-11-19 11:02:23 +01:00
tychovrahe
fa953d7296
chore(core): switch T3W1 support to U5
...
[no changelog]
2024-11-14 09:30:20 +01:00
Lukas Bielesch
a4da695430
chore(core): Use enum for for dealing with device rotations
2024-11-13 11:08:56 +01:00
matejcik
dd770ba715
fix(python): do not take legacy snapshots on PinRequest and PassphraseRequest
...
legacy < 1.11.0 will never answer those because PinRequest and
PassphraseRequest block waiting for PinAck / PassphraseAck over wirelink
and ignore debuglink
2024-11-12 16:55:17 +01:00
matejcik
8fb41ee290
feat(core): enforce return type annotations
2024-11-12 16:55:17 +01:00
matejcik
dfac2ae4dd
style(python): upgrade debuglink.py to 3.10 style type annotations
2024-11-12 16:55:17 +01:00
matejcik
3a8f92f64d
tests(core): fix upgrade tests
2024-11-12 16:55:17 +01:00
matejcik
8d2f0a6566
style: make style_check passing
2024-11-12 16:55:17 +01:00
matejcik
ef90546324
fix(python): opportunistically catch a debuglink desync
...
In certain cases a DebugLinkState response can get stalled and debuglink
will not read it -- i.e., a situation analogous to wirelink de-sync.
There doesn't seem to be a good way to force-sync debuglink the same way
wirelink does it, but we can detect a wrong response to a
DebugLinkGetState and skip it.
2024-11-12 16:55:17 +01:00
matejcik
f4240d6309
chore(python): improve recovery type deprecation warning
2024-11-12 16:55:17 +01:00
matejcik
b48c36c2bf
fix(python): improve robustness of TrezorClientDebugLink setup
...
* improve sync_responses to work on uninitialized instance
* sync responses at construction time
2024-11-12 16:55:17 +01:00
matejcik
d385667b4a
fix(tests): restore test functionality on legacy
...
The global layout related changes were wrong for T1 where debuglink
behavior is significantly different; in particular, it is not always
possible to communicate over debuglink.
This change reverts to the old behavior for T1B1 and keeps the new one
only for core-based models.
2024-11-12 16:55:17 +01:00
matejcik
11ae7a92ab
style: fix complaining lints & formatters
2024-11-12 16:55:17 +01:00
matejcik
0e8dcbb498
feat(core): unify RustLayout, implement single global layout
2024-11-12 16:55:17 +01:00
Lukas Bielesch
31e0518588
chore(python): add shortcut in trezorlib for academic seed
2024-11-01 16:44:31 +01:00
obrusvit
b2b93d73f4
fix(cli/cardano): chunkify click option
2024-10-30 09:15:10 +01:00
M1nd3r
16da9a8889
chore(common): separate definitions of protobuf options
...
[no changelog]
2024-10-23 22:27:48 +02:00
Ondřej Vejpustek
c8faac952a
feat(python): implement benchmark application interface
2024-10-11 16:35:34 +02:00
Ondřej Vejpustek
b436b39091
chore(core): add benchmark messages
...
[no changelog]
2024-10-11 16:35:34 +02:00
tychovrahe
915d4fca94
feat(core): add support for T3W1, on F4
...
[no changelog]
2024-10-09 15:06:40 +02:00
M1nd3r
c99988312a
feat(core): add pairing credential manager
...
[no changelog]
2024-10-09 10:44:30 +02:00
Darsey Litzenberger
9416caade4
feat(python): add pretty-printing of protobuf messages in IPython
2024-10-02 10:38:27 +02:00
Ioan Bizău
c82fad68e7
fix: clarify how to break out of build_tx loops
...
[no changelog]
2024-09-19 10:17:21 +03:00
tychovrahe
954c7f422b
feat(tools): support odd-wide greyscale icon conversion
...
[no changelog]
2024-09-17 17:46:11 +02:00