tests, trezor: Assert scriptPubKey failure for Trezor in test_big_tx#580
tests, trezor: Assert scriptPubKey failure for Trezor in test_big_tx#580grdddj wants to merge 1 commit into
Conversation
Trezor is rejecting to sign this transaction as its inputs do not correspond to the wallet's private keys
|
That would actually affect |
It really seems to be affecting them, some cases from There are some errors like self.assertTrue(first_sign_res["signed"]) ... KeyError: 'signed'which are not explicitly mentioning the I am not sure what is the best resolution, we might discuss it with @matejcik and @mmilata |
I think the only solution is to disable external inputs for trezors entirely. The supported method for external inputs requires proofs which we do not currently support, and I am not sure of the correct way to implement those here. |
|
Trezor will also accept all |
|
I can look into using ownership proofs locally in the tests, that might not be too difficult. This is of course leaving aside a way to exchange them, but I suppose we could just stick a vendor field into the PSBT |
|
Superceded by #581 |
Soon there will be a security tightening in
Trezormaking sure that device will refuse to sign a transaction trying to spend inputs that do not belong to the wallet (thescriptPubKeyof the input does not correspond to private keys in the wallet).Connected PR, that will (most probably) merge these changes into
master- trezor/trezor-firmware#2081.Making appropriate changes in
test_big_txtestcase, that is generating inputs that are not spendable by Trezor's private keys. (Seems that could be the same case as withcoldcard?)To still test Trezor's capability of signing big transaction, we might create inputs corresponding to slip-14 standard, which the wallet (inputted with
all all all...seed) will be able to sign. That is up to discussion (we could supply the test vectors from our tests).