-
Notifications
You must be signed in to change notification settings - Fork 152
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 T asks two times for the passphrase #225
Comments
Thanks for reporting this issue! In TREZOR 1, I was caching the passphrase at the client code: trezor-agent/libagent/device/trezor.py Line 49 in 5efb752
In Trezor T, if you can use the device to enter the passphrase - it seems that the passphrase is not being cached between the public key derivate (1st prompt) and the signature (2nd prompt). Will take a look to understand the issue better. |
We need to pass the |
Should be fixed at the latest Git versions trezor/python-trezor@bd3d014 and 7443fc6. |
Just pip install --upgrade trezor-agent? |
It's not released yet, so please use:
|
Still asks two times for the passphrase :(
|
This is indeed weird... trezor-agent/libagent/device/trezor.py Line 83 in 7443fc6
|
Replaced my user and host by [email protected] and removed some byte arrays |
It seems that you are using TREZOR Bridge:
I guess that the |
Great, thanks! |
I've built the latest TREZOR daemon (aka Bridge), and it seems to work as intended (asks for passphrase once), so it seems that the BTW, does this also happens when running without a Bridige (i.e. when the communication happens directly via USB HID)? |
Uninstalled bridge and tried without bridge: Built trezord-go from source, ran it and tried again: I don't know what I'm doing wrong... /edit If I run without installed/running bridge I also get this log message: 2018-03-29 22:32:24,841 DEBUG transports: [<trezorlib.transport_bridge.BridgeTransport object at 0x10574bb38>, <trezorlib.transport_webusb.WebUsbTransport object at 0x105cce048>] [trezor.py:111] Should that happen? |
Sorry my fault, trezord was still running 2018-03-29 22:42:28,830 DEBUG transports: [<trezorlib.transport_webusb.WebUsbTransport object at 0x10c0be0b8>] [trezor.py:111] But still asks two times. |
@JediWed Sorry for the delayed response... |
Ping :) |
I'm very sorry. I was very busy the last few weeks. I will have a look this evening. |
No worries, I was just curios :) |
Please re-open if it still happens. |
When trying to connect via trezor-agent user@host -c Trezor T asks for a passphrase,
after that it asks if you want to sign login of user@host and asks again for a passphrase.
That can be very annoying and I don't understand the reason for asking two times.
OS: macOS High Sierra
Agent: trezor-agent=0.9.2 libagent=0.11.2
Trezor T: 2.0.6
The text was updated successfully, but these errors were encountered: