1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-02-05 04:10:58 +00:00
Commit Graph

921 Commits

Author SHA1 Message Date
M1nd3r
4a89665288 fixup! chore(python): get human-readable errors for all ThpErrorType-s in trezorlib [no changelog] 2025-02-03 16:12:13 +01:00
M1nd3r
7af9e0db08 chore: remove management session remnants
[no changelog]
2025-02-03 12:31:13 +01:00
M1nd3r
501864a83a chore(python): get human-readable errors for all ThpErrorType-s in trezorlib
[no changelog]
2025-02-03 11:54:43 +01:00
M1nd3r
a93b01c14a chore: minor fixes in style and reducing unnecessary diffs with main
[no changelog]
2025-02-03 11:30:53 +01:00
M1nd3r
9b6890f6a3 chore(python): add handshake hash to channelData
[no changelog]
2025-02-03 11:30:52 +01:00
M1nd3r
7c154f441e feat(core, python): implement autoconnect credentials and add test
[no changelog]
2025-02-03 11:30:52 +01:00
M1nd3r
d50ec53136 refactor(python): improve protocolV2 and related tests
[no changelog]
2025-02-03 11:30:52 +01:00
M1nd3r
583e29d60d feat(core, python): implement new code entry pairing
[no changelog]
2025-02-03 11:30:52 +01:00
M1nd3r
1493f679af feat(python): add elligator2
[no changelog]
2025-02-03 11:30:52 +01:00
M1nd3r
a7422cb595 chore: add DebugLinkPairingInfo
[no changelog]
2025-02-03 11:30:52 +01:00
M1nd3r
e3bec99691 tests(python): improve thp device tests
[no changelog]
2025-02-03 11:30:52 +01:00
M1nd3r
027822b1d9 temp: update pairing process, part 1 2025-02-03 11:30:52 +01:00
M1nd3r
b506e6d647 refactor(python): improve structure of protocol_v2 channel establishment
[no changelog]
2025-02-03 11:30:52 +01:00
M1nd3r
2f7426bbe8 chore(python): remove outdated fix for MOCK_URANDOM problems
[no changelog]
2025-02-03 11:30:52 +01:00
M1nd3r
d2d8b82bb9 tests: fix device tests for codecV1
[no changelog]
2025-02-03 11:30:52 +01:00
M1nd3r
f0065593de chore(python): add session_context to cli to handle exceptions gracefully
[no changelog]
2025-02-03 11:30:51 +01:00
M1nd3r
cf99befae5 chore: fix incomplete enum change
[no changelog]
2025-02-03 11:30:51 +01:00
M1nd3r
70c343442b fixup! fixup! wip: single packet decryption (not finished) [no changelog] 2025-02-03 11:30:51 +01:00
M1nd3r
b1ab821082 fixup! fixup! wip - change session behavior [no changelog] 2025-02-03 11:30:51 +01:00
M1nd3r
48a723edf5 fixup! wip - change session behavior [no changelog] 2025-02-03 11:30:51 +01:00
M1nd3r
5896ce67df wip - change session behavior
[no changelog]
2025-02-03 11:30:51 +01:00
M1nd3r
741af099b8 wip 2025-02-03 11:30:51 +01:00
M1nd3r
377c93c78b fix(tests): unlock device when getting a new session
[no changelog]
2025-02-03 11:30:51 +01:00
M1nd3r
d7f0cae777 feat(python): add lock() to TrezorClientDebugLink
[no changelog]
2025-02-03 11:30:51 +01:00
M1nd3r
aa79443c05 wip 2025-02-03 11:30:51 +01:00
M1nd3r
9e87ac829b refactor(python,tests): add is_invalidated flag to client, do not set the emulator.client outside from emulator
[no changelog]
2025-02-03 11:30:51 +01:00
M1nd3r
c3d3fa50ec test: update device tests
[no changelog]
2025-02-03 11:30:51 +01:00
M1nd3r
1ea08fca34 chore(python): update python tools
[no changelog]
2025-02-03 11:30:51 +01:00
M1nd3r
a5cb6db88b chore(python): add python requirements
[no changelog]
2025-02-03 11:30:51 +01:00
M1nd3r
a15616aecb feat(python): implement session based trezorlib
[no changelog]
2025-02-03 11:30:51 +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
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