-
Notifications
You must be signed in to change notification settings - Fork 197
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
trezor emulator: can't set up the device #646
Comments
Can you try HWI from master and trezor-firmware from master? |
I'm hitting the same problem on hwi master (857e935) and on trezor-firmware master (trezor/trezor-firmware@4528577) |
@matejcik can you have a look? |
The error message seems to be coming out of debuglink. Looks like HWI is setting up TrezorClientDebugLink for the client instance, which wants to enter the PIN for you, except there is no PIN preconfigured. In your usecase I presume hwi should be using regular TrezorClient instead of TrezorClientDebugLink. |
Thanks for looking into it! Btw, I just noticed that I hit the same bug when using |
@danielabrozzoni does this commit help with the issue? prusnak@80b13fb |
Yep, both restore and setup are fixed there |
@achow101 Why do you use TrezorClientDebugLink for communicating with the emulator? It does seems strange ... |
ISTM that these two commits are better way how to implement things? prusnak@80b13fb (both in branch https://github.com/prusnak/HWI/tree/trezor-remove-debuglink) Or is there something I am missing? |
So that the tests can provide the pin and passphrase programatically. |
I think we should update the code in a way that |
Hey,
I'm trying to set up a trezor emulator using this command:
The emulator prompts me with a "Enter new pin" screen and, immediately after, hwi returns this error:
If I try to enter the new PIN in the emulator, it freezes.
Any idea how to solve this?
I'm using hwi 2.1.1 and trezor-firmware on commit 4e800b6ffde97862026c6196f7d983d62a05ea71
The text was updated successfully, but these errors were encountered: