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
matejcik
abe51b93a8
fix(python): prevent accidental modification of models.TREZORS
2024-09-11 12:59:04 +02:00
matejcik
6506b02e2e
feat(python/debuglink): introduce layout type awareness
...
[no changelog]
2024-09-11 12:59:04 +02:00
matejcik
21988d6ef4
style(python): fix flake8 warning on python 3.12
...
[no changelog]
2024-08-29 10:56:21 +02:00
matejcik
ed79d35de9
feat(python): make webusb transport more resilient
...
* convert more USB errors into TransportExceptions
* add a timeout + infinite loop for read/write operations,
so that they are interruptible by Python, instead of leaving
the interface in a bad state when hard-killed
* (also ctrl+c now works if the process is waiting for usb)
2024-08-28 00:08:48 +02:00
Andrew Kozlik
2a567f3a0c
feat: Remove display_random feature.
2024-08-27 19:33:23 +02:00
Ioan Bizău
522d33a71f
refactor(core): send out ButtonRequest name
...
[no changelog]
2024-07-19 11:28:07 +03:00
tychovrahe
354dad617d
fix(core): fix vector table alignment on STM32U5
...
[no changelog]
2024-07-16 16:38:48 +02:00
tychovrahe
7c94080227
refactor(core): move vendor headers to model specific directories
...
[no changelog]
2024-07-16 15:56:28 +02:00
tychovrahe
11b1d5ca41
chore(core): add T3B1 production keys
...
[no changelog]
2024-07-16 15:56:28 +02:00
tychovrahe
78b4017859
feat(core): add support for T3B1
2024-07-16 15:56:28 +02:00
Andrew Kozlik
b6b1ad8825
feat(python): Implement DebugLinkOptigaSetSecMax.
2024-07-09 16:52:50 +02:00
Andrew Kozlik
b71a809da3
feat(common): Add DebugLinkOptigaSetSecMax message.
...
[no changelog]
2024-07-09 16:52:50 +02:00
obrusvit
2de8acc141
chore(core): remove CoSi functionality
...
trezorctl CoSi feature is removed from all models
2024-07-01 09:32:38 +02:00
matejcik
3a039c505f
chore(python): bump version after release
2024-06-25 13:43:13 +02:00
matejcik
58b1a95052
docs(python): update README
2024-06-25 13:43:13 +02:00
matejcik
9b1bffca3b
docs(python): changelog for 0.13.9
2024-06-25 13:43:13 +02:00
matejcik
d1981e745e
fix(python): fallback for trezorctl device setup
on older firmwares
...
fixes #3956
[no changelog] because the slip39-single feature was not yet released
2024-06-25 13:43:13 +02:00
matejcik
32d26933a6
style(python): modernize type annotations in cli/device.py
2024-06-25 13:43:13 +02:00
matejcik
92e8bf5e60
chore(python): regenerate documentation
2024-06-25 13:43:13 +02:00
matejcik
e5686c24e3
build(python): update setuptools manifest
2024-06-25 13:43:13 +02:00
matejcik
cd55d32407
refactor(python/protobuf): allow field types imported in the same module
2024-06-25 13:43:13 +02:00
matejcik
27fef37cc9
style(python): modernize type annotations in protobuf.py
2024-06-25 13:43:13 +02:00
matejcik
eaeb58fb25
chore(python): annotate package with minimum python 3.8
...
also add 3.12 to tox config
2024-06-25 13:43:13 +02:00
matejcik
0fc193ab80
fix(python): increase homescreen quality when uploading via trezorctl
...
fixes #3893
2024-06-25 13:43:13 +02:00
matejcik
f6924c1ad4
feat(python): add certificate whitelist for device authentication
2024-06-25 13:35:16 +02:00
matejcik
d3bdedf421
feat(python): implement full certificate verification in trezorctl ( fixes #3364 )
2024-06-25 13:35:16 +02:00
Andrew Kozlik
4ee81daee7
feat(core): Add optiga_sec field to Features
...
[no changelog]
2024-06-25 12:45:00 +02:00
Martin Milata
f2a2ddfd8d
Merge branch 'release/24.06'
2024-06-17 22:14:02 +02:00
r0tc
61fe99036e
fix(python): remove duplicated 0x prefix for publish sign-tx
2024-06-14 14:16:28 +02:00
matejcik
da75d8f4b6
chore(common): make unused fields optional
...
[no changelog]
2024-06-10 11:06:06 +02:00
matejcik
863435cc9d
feat(python/debuglink): make input flows part of the traceback
2024-06-06 14:00:13 +02:00
Martin Milata
8c9f5ebbca
tests(core): fix T3T1 default flow
2024-06-06 14:00:13 +02:00
Ioan Bizău
2c390a2030
feat(python): add ability to set up a device with SLIP39 "single"
2024-06-06 14:00:13 +02:00
obrusvit
5bd6996ae4
feat(core/ui): show success screens between shares
...
This commit also adds minor improvements to reset flow.
[no changelog]
2024-06-06 14:00:13 +02:00
Ioan Bizău
8870869f93
chore(core): rename recovery type & kind and tweak feature flags
2024-06-05 12:35:09 +03:00
Ioan Bizău
8ef7dfab0d
feat(core): implement repeated backup
2024-06-05 12:35:09 +03:00
tychovrahe
b9a55cf2a7
feat(core): add settings to turn haptic on/off
...
[no changelog]
2024-06-03 14:26:25 +02:00
tychovrahe
a65511846b
feat(core): added user adjustable brightness setting
2024-06-03 14:26:25 +02:00
Martin Milata
38b0361ded
test(core/ui): fix bitcoin signtx for T3T1
2024-05-31 11:59:52 +00:00
Martin Milata
d6e5800413
feat(core): add icons for T3T1
2024-05-31 11:59:52 +00:00
Andrew Kozlik
f24c48ef1e
feat(core): Add extendable BackupTypes.
2024-05-28 18:03:26 +02:00
Peter Jaško
56f963d332
chore: Changelog
2024-05-23 10:01:48 +02:00
Peter Jaško
7eb6fcf43c
feat(cardano): Tag sets
2024-05-23 10:01:48 +02:00
Peter Jaško
10e4352aad
feat(cardano): Add Conway certificates
2024-05-23 10:01:48 +02:00
matejcik
a5aa515631
style(python): upgrade to pyright 1.1.361
...
had to add a typestub for PIL due to
https://github.com/microsoft/pyright/issues/7832
We should remove it if that is either fixed or, if I fail to convince
Eric, after the relevant type information is added to Pillow
[no changelog]
2024-05-07 11:57:10 +02:00
Ioan Bizău
3006224bff
feat(core): add ability to request backups with any number of groups/shares
2024-05-01 09:23:40 +02:00
Andrew Kozlik
27f54eec9c
feat(core): Add unit packaging variant field to Features.
...
[no changelog]
2024-04-25 15:51:52 +02:00
tychovrahe
9a212a22bd
chore(core): add T3T1 production keys to trezorctl
...
[no changelog]
2024-04-17 13:31:46 +02:00
tychovrahe
1600759457
refactor(core): simplify secret.h api, hide platform differences
...
[no changelog]
2024-04-11 16:13:58 +02:00
Martin Milata
418bc924c4
fix(python): missing PIL.Image.ANTIALIAS
...
[no changelog]
2024-04-10 12:42:49 +00:00
Martin Milata
b1c670090a
feat(python): more compact debuglink logging
...
[no changelog]
2024-04-09 12:10:17 +00:00
tychovrahe
ffccf849eb
chore(core): fill T3T1 model full name
...
[no changelog]
2024-04-04 12:46:44 +02:00
grdddj
0e6b3299af
chore(python): include the model names in Unsupported model error
...
[no changelog]
2024-04-02 14:31:59 +02:00
grdddj
605692e5ce
chore(python): remove redundant variable assignment for T3T1 TrezorModel
...
[no changelog]
2024-04-02 14:31:59 +02:00
Martin Milata
73a7223e7b
test(core): add T3T1 support
...
[no changelog]
2024-03-12 20:55:23 +00:00
tychovrahe
c3f84e2949
perf(core): optimize boot speed on U5 by using has processor to calculate image hashes, switches to sha256
...
[no changelog]
2024-02-29 23:05:56 +01:00
tychovrahe
a71a608ea7
feat(core): add basic support for T3T1
2024-02-29 23:05:56 +01:00
tychovrahe
353095ae95
feat(core): add support for STM32U5A9J-DK board
...
[no changelog]
2024-02-29 23:05:56 +01:00