1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-04-25 11:39:02 +00:00
Commit Graph

971 Commits

Author SHA1 Message Date
M1nd3r
ffb840f1ec fixup! chore(python): fix filters and expected vs actual responses 2025-04-17 18:02:32 +02:00
M1nd3r
22580b4890 chore(python): fix filters and expected vs actual responses 2025-04-17 18:02:32 +02:00
M1nd3r
7addc2de39 chore(python): set CodeEntry as default pairing method when not using TrezorClientDebugLink 2025-04-17 18:02:32 +02:00
M1nd3r
c02e34e3d9 fix(pytest): fix message filters in SessionDebugWrapper 2025-04-17 18:02:32 +02:00
M1nd3r
c4dfc206c4 fix(python): discard messages from other channels 2025-04-17 18:02:32 +02:00
M1nd3r
d96ae3a6c4 fix: style 2025-04-17 18:02:32 +02:00
M1nd3r
aa1ffb71ef chore(tests): improve stability of tests 2025-04-17 18:02:32 +02:00
M1nd3r
ff56bd54e5 fixup! wip 2025-04-17 18:02:32 +02:00
M1nd3r
18b15dd076 wip 2025-04-17 18:02:32 +02:00
M1nd3r
8aef116351 wip 2025-04-17 18:02:32 +02:00
M1nd3r
c231286916 fixup! wip 2025-04-17 18:02:32 +02:00
M1nd3r
039b74ce56 fix style and errors 2025-04-17 18:02:32 +02:00
M1nd3r
6c012f3f4d wip 2025-04-17 18:02:32 +02:00
M1nd3r
ba80b385d4 chore: unify FailureType enum across branches 2025-04-17 18:02:32 +02:00
M1nd3r
ef933f50ef chore(python): test fallback in handshake 2025-04-17 18:02:32 +02:00
M1nd3r
55f81da4c3 wip - might not work 2025-04-17 18:02:32 +02:00
Martin Milata
837eac5f8c fixup! chore(core): adapt trezorlib transports to session based [no changelog] 2025-04-17 18:02:32 +02:00
Martin Milata
ce0e173b05 fixup! chore(core): adapt trezorlib transports to session based [no changelog] 2025-04-17 18:02:32 +02:00
Martin Milata
d21306e8fd fixup! chore(tests): adapt testing framework to session based [no changelog] 2025-04-17 18:02:32 +02:00
Martin Milata
f03e02e4db fixup! chore(core): adapt trezorlib transports to session based [no changelog] 2025-04-17 18:02:32 +02:00
M1nd3r
c911ed819a chore(python): remove channel database 2025-04-17 18:02:32 +02:00
M1nd3r
8cbc5f5b6c fix(python): improve protocol_v2, remove its channel database 2025-04-17 18:02:32 +02:00
M1nd3r
422049cce8 feat(core): improve pairing screens 2025-04-17 18:02:32 +02:00
M1nd3r
ddbe65fa20 fix(python): open transport before get protocol in client 2025-04-17 18:02:32 +02:00
M1nd3r
fa237ed4c6 chore(python): bump trezorlib version to 0.15.0 2025-04-17 18:02:32 +02:00
M1nd3r
b6c67b05e2 fix(python): remove transport close from get_protocol 2025-04-17 18:02:32 +02:00
M1nd3r
4b4876bfa3 wip 2025-04-17 18:02:32 +02:00
M1nd3r
074b5bfdd4 chore(python): add noiseprotocol to requirements
[no changelog]
2025-04-17 18:02:32 +02:00
M1nd3r
d6460d51bf feat: implement thp channel replacement
[no changelog]
2025-04-17 18:02:31 +02:00
M1nd3r
5d39a90acc temp: thp rest
[no changelog]
2025-04-17 18:02:31 +02:00
M1nd3r
c19e39bd09 chore(core): adapt emu.py to the new trezorlib
[no changelog]
2025-04-17 18:02:31 +02:00
M1nd3r
4f30974bc8 chore(python): update ble to session-based 2025-04-17 18:02:31 +02:00
Martin Milata
6be66d5ee9 fix(python): always send passphrase at v1 session start 2025-04-17 18:02:31 +02:00
Martin Milata
86f06419f0 fix(tests): clear pin sequence when exiting with block 2025-04-17 18:02:31 +02:00
Martin Milata
0411db4944 fix(tests): record actual_responses for session init 2025-04-17 18:02:31 +02:00
M1nd3r
55844cb941 chore(python): raise the minimum version of core models to 2.3.0 2025-04-17 18:02:31 +02:00
Martin Milata
49589d68b0 refactor(tests): move set_input_flow to SessionDebugWrapper context manager
[no changelog]
2025-04-17 18:02:31 +02:00
M1nd3r
260c399d01 feat(python): make failing to resume session hard-fail 2025-04-17 18:02:31 +02:00
Martin Milata
810c24f827 fix(python): revive trezorctl --script
[no changelog]
2025-04-17 18:02:31 +02:00
M1nd3r
5d6d5191bd chore(python): bump trezorlib version to 0.14.0 2025-04-17 18:02:31 +02:00
M1nd3r
ffe6f579ed fix(python): change nostr to use Session instead of Client 2025-04-17 18:02:31 +02:00
M1nd3r
56d22cd594 chore(python): session passphrase rework 2025-04-17 18:02:31 +02:00
Martin Milata
270adf15d0 fix(python): simplify UI callbacks 2025-04-17 18:02:31 +02:00
Martin Milata
51ac73bedb fix(python): bring back firmware version check 2025-04-17 18:02:31 +02:00
Martin Milata
8d42279f83 fix(python): transport handling with sessions
[no changelog]
2025-04-17 18:02:31 +02:00
Martin Milata
d037af0c52 test(core): remove dead code 2025-04-17 18:02:31 +02:00
M1nd3r
386fee552c chore(core): adapt trezorlib transports to session based
[no changelog]

Co-authored-by: mmilata <martin@martinmilata.cz>
2025-04-17 18:02:31 +02:00
M1nd3r
0b984338f0 feat(python): implement session based trezorlib
Co-authored-by: mmilata <martin@martinmilata.cz>
2025-04-17 18:02:31 +02:00
M1nd3r
eef1bbb5ac feat(python): implement session based trezorctl 2025-04-17 18:02:31 +02:00
M1nd3r
b1102b2e72 chore(python): add refresh of invalid client to internal emulator 2025-04-17 18:02:31 +02:00