-
Notifications
You must be signed in to change notification settings - Fork 198
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 and Keepkey require user interaction #83
Comments
How is this different from transaction signing requiring prompts?
…On Sat, Dec 29, 2018, 11:56 AM Andrew Chow ***@***.*** wrote:
The Trezor and Keepkey both require that the user respond to prompts and
to enter things into the keyboard which are then sent to the device over
USB. This is not ideal for us since HWI is intended to be a utility where
everything the user needs to do is done in one command. I don't see any way
around this though as all of the prompts require seeing something on the
device's display which we are unable to see with software.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#83>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AFgC02UwphyBI-gTDmcb3Re-jR1-RaTvks5u9569gaJpZM4Zko9T>
.
|
Transaction signing prompts require the user to interact with the device itself. These prompts require the user to interact with the computer the device is connected to. |
Ah the host.
…On Sat, Dec 29, 2018, 12:20 PM Andrew Chow ***@***.*** wrote:
Transaction signing prompts require the user to interact with the device
itself. These prompts require the user to interact with the computer the
device is connected to.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#83 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AFgC01zT2KK8Y8Y4AEMRj8IlBRFifiQSks5u96R0gaJpZM4Zko9T>
.
|
If trezor/trezor-mcu#442 is accepted, the Trezor would let users enter the pin on device which fixes this issue for us for the Trezor. |
I can attest to the difficulty of integrating it with bitcoin-core. Essentially, as a workaround, I've opted to write a custom Open() handler.
|
trezorctl and go-keepkey solve this nicely by taking over the terminal & sending ansi escape sequences as appropriate to make the 'ui' work:
We're a bit limited since we've only got one button, which makes on-device PIN entry a pain in the ass. I've prototyped this for KeepKey, but the UX is awful. Passphrase would be even worse.
Our device will fall for the same trick. Any command that involves key derivation will work ( For Trezor's you need to avoid re-sending |
97b1d35 Add promptpin and sendpin commands (Andrew Chow) bb88cc5 Introduce and implement prompt_pin and send_pin methods (Andrew Chow) Pull request description: This PR introduces two new commands, `promptpin` and `sendpin`, which only work on Trezors and KeepKeys. `promptpin` triggers the device to display the prompt for entering the PIN. `sendpin` takes the scrambled PIN as an argument and sends it to the device. The device will then cache the pin if it is correct. The way that the libraries setup the client classes prevents us from doing this. To work around that, I made subclasses of those client classes which do not do the initialization call that breaks this process. Instead, the initialization call will be done by each function individually if it needs it. Closes #83 Tree-SHA512: 0aa9d135eeceef63b41c1e20efbf7439d5bf9a26f84b66da3c0602952894aa9a659bb5a9b2780b0506578a2b61049233db588cabfc0da8ed10dacd91d97c7f99
The Trezor and Keepkey both require that the user respond to prompts and to enter things into the keyboard which are then sent to the device over USB. This is not ideal for us since HWI is intended to be a utility where everything the user needs to do is done in one command. I don't see any way around this though as all of the prompts require seeing something on the device's display which we are unable to see with software.
The text was updated successfully, but these errors were encountered: