-
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: Remove support for external inputs #581
trezor: Remove support for external inputs #581
Conversation
d76a452
to
43f9878
Compare
I can confirm that the updated All the tests passed when running this branch locally with new (unreleased) Trezor version. Thanks for the cooperation! |
43f9878
to
ba2f819
Compare
The simulator is having trouble with anything larger, so the device probably will too. We change the signing to do 15 signing bundles at a time rather than all them at the same time.
Use inputs belonging to the device instead of external inputs. Apparently this fixes the coldcard problem with this test too.
Trezor is going to close the loophole that we use to get external input support, so we need to remove trying to sign with that loophole for future firmware versions.
ba2f819
to
7b0eced
Compare
We decided to allow this loophole if the user disables "safety checks" on their Trezor. Then they will just need to confirm a warning that the scriptPubKey doesn't match the provided path. |
For the record, as @matejcik already mentioned, Trezor T will accept all Note that I proposed a PSBT extension for SLIP-19 ownership proofs in https://github.com/satoshilabs/slips/blob/master/slip-0019.md#psbt-bip-174-extension, but we haven't implemented it anywhere yet. |
We mean |
Trezor will be closing the loophole that we use to be able to sign external inputs. So we will need to tell users that they will not be able to sign such transactions if they are using those firmware versions.