1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-04-15 06:45:59 +00:00

fix(python): always send passphrase at v1 session start

This commit is contained in:
Martin Milata 2025-04-03 00:23:21 +02:00 committed by M1nd3r
parent aec716bd87
commit 90a27e1a44
2 changed files with 2 additions and 2 deletions

View File

@ -120,8 +120,7 @@ class TrezorClient:
self,
derive_cardano=derive_cardano,
)
if self.features.passphrase_protection:
derive_seed(session, passphrase)
derive_seed(session, passphrase)
return session
raise NotImplementedError

View File

@ -475,6 +475,7 @@ def test_unlocked(client: Client):
[
(v1, messages.Features),
_pin_request(client),
(v1, messages.Address),
messages.Address,
]
)