M1nd3r
0d92e79ba2
chore: unify FailureType enum across branches
2025-04-16 17:35:37 +02:00
M1nd3r
473210831c
chore(python): test fallback in handshake
2025-04-16 17:35:37 +02:00
M1nd3r
ef7bd77567
wip - might not work
2025-04-16 17:35:37 +02:00
Martin Milata
7c788821db
fixup! chore(core): adapt trezorlib transports to session based [no changelog]
2025-04-16 17:35:37 +02:00
Martin Milata
66abd754d4
fixup! chore(core): adapt trezorlib transports to session based [no changelog]
2025-04-16 17:35:37 +02:00
Martin Milata
2f81d1f653
fixup! chore(tests): adapt testing framework to session based [no changelog]
2025-04-16 17:35:37 +02:00
Martin Milata
6c6e343e6e
fixup! chore(core): adapt trezorlib transports to session based [no changelog]
2025-04-16 17:35:37 +02:00
M1nd3r
0b439ef75d
chore(python): remove channel database
2025-04-16 17:35:37 +02:00
M1nd3r
35e85850bc
fix(python): improve protocol_v2, remove its channel database
2025-04-16 17:35:37 +02:00
M1nd3r
79cba35361
feat(core): improve pairing screens
2025-04-16 17:35:37 +02:00
M1nd3r
d015ccc611
fix(python): open transport before get protocol in client
2025-04-16 17:35:37 +02:00
M1nd3r
adb564b06b
chore(python): bump trezorlib version to 0.15.0
2025-04-16 17:35:37 +02:00
M1nd3r
88ec658103
fix(python): remove transport close from get_protocol
2025-04-16 17:35:37 +02:00
M1nd3r
52aad3357c
wip
2025-04-16 17:35:37 +02:00
M1nd3r
62f2967cc7
chore(python): add noiseprotocol to requirements
...
[no changelog]
2025-04-16 17:35:37 +02:00
M1nd3r
523e51806a
feat: implement thp channel replacement
...
[no changelog]
2025-04-16 17:35:37 +02:00
M1nd3r
2a07733235
temp: thp rest
...
[no changelog]
2025-04-16 17:35:36 +02:00
M1nd3r
9a2b98200e
chore(core): adapt emu.py to the new trezorlib
...
[no changelog]
2025-04-16 17:35:36 +02:00
M1nd3r
80eedc13da
chore(python): update ble to session-based
2025-04-16 17:35:36 +02:00
Martin Milata
5ca264f728
fix(python): always send passphrase at v1 session start
2025-04-16 17:35:36 +02:00
Martin Milata
d0c8687aaa
fix(tests): clear pin sequence when exiting with block
2025-04-16 17:35:36 +02:00
Martin Milata
da86d2a7fa
fix(tests): record actual_responses for session init
2025-04-16 17:35:36 +02:00
M1nd3r
1c2ec76359
chore(python): raise the minimum version of core models to 2.3.0
2025-04-16 17:35:36 +02:00
Martin Milata
9972643779
refactor(tests): move set_input_flow to SessionDebugWrapper context manager
...
[no changelog]
2025-04-16 17:35:36 +02:00
M1nd3r
3467107bfa
feat(python): make failing to resume session hard-fail
2025-04-16 17:35:36 +02:00
Martin Milata
4921f9c923
fix(python): revive trezorctl --script
...
[no changelog]
2025-04-16 17:35:36 +02:00
M1nd3r
32587ead42
chore(python): bump trezorlib version to 0.14.0
2025-04-16 17:35:36 +02:00
M1nd3r
1a8b783edd
fix(python): change nostr to use Session instead of Client
2025-04-16 17:35:36 +02:00
M1nd3r
e361046196
chore(python): session passphrase rework
2025-04-16 17:35:36 +02:00
Martin Milata
96680540d4
fix(python): simplify UI callbacks
2025-04-16 17:35:36 +02:00
Martin Milata
fe970a479e
fix(python): bring back firmware version check
2025-04-16 17:35:36 +02:00
Martin Milata
0b207f9760
fix(python): transport handling with sessions
...
[no changelog]
2025-04-16 17:35:36 +02:00
Martin Milata
d08433df15
test(core): remove dead code
2025-04-16 17:35:36 +02:00
M1nd3r
5c285e2e18
chore(core): adapt trezorlib transports to session based
...
[no changelog]
Co-authored-by: mmilata <martin@martinmilata.cz>
2025-04-16 17:35:36 +02:00
M1nd3r
5bc784d4dd
feat(python): implement session based trezorlib
...
Co-authored-by: mmilata <martin@martinmilata.cz>
2025-04-16 17:35:36 +02:00
M1nd3r
d404f00034
feat(python): implement session based trezorctl
2025-04-16 17:35:36 +02:00
M1nd3r
a5221a4bc5
chore(python): add refresh of invalid client to internal emulator
2025-04-16 17:35:36 +02:00
M1nd3r
82383c8f8b
chore(python): update python tools
...
Co-authored-by: mmilata <martin@martinmilata.cz>
2025-04-16 17:35:36 +02:00
matejcik
0db727b21b
chore(core): include T3W1 certificate for the emulator
2025-04-15 12:37:25 +02:00
tychovrahe
4adf6d087d
feat(core): add BLE unpair command & message
...
[no changelog]
2025-04-03 16:17:12 +02:00
Roman Zeyde
f1d3f835b8
chore(python): replace 'pytest-rerunfailures' with 'pytest-retry'
...
[no changelog]
2025-03-26 14:15:29 +02:00
obrusvit
419737db7c
chore(core): remove obsolete font names from blobs
...
[no changelog]
2025-03-25 18:26:15 +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