Sunday, December 22, 2024

multi signature – What’s inflicting this Knowledge Error from Trezor?

I am experimenting with output descriptors and multi-sig wallets and I got here throughout an issue offering the final signature to my 2-of-3 psbt.

Knowledge Error: Enter doesn’t match scriptPubKey.

I am creating descriptors for wallets by a program I created by merely fetching public keys of varied {hardware} gadgets and inputting them together with their fingerprints and derivation paths right into a multi-sig template. I fetch the keys from every gadget at m/48h/0h/0h/2h aside from the third key I fetch from a unique account index. I am questioning if this strategy is flawed and that is the rationale I get the above error.

I’ll present the descriptor as that is only for testing functions and I’m not apprehensive about exposing my public keys:

wsh(sortedmulti(2,[b5b630b5/48h/0h/0h/2h]xpub6EE1hjfD2y7ULYeKmttfoNgqV9crHMErQ9gYtSBrjJTkYRJEvy3J252UJZcVQth2haCDMoSKo1yiftTpJErQLBcfShNXsMJZv5FhVx92T2R/<0;1>/,[9f40e694/48h/0h/0h/2h]xpub6E9AaLTxxxPGXRd7eB8oC9s5uJUMZVJueBXGgcpQvW6e9puqcxT82bfumGtYQMVVZyLZai6uFCVcwFLwiHFupdRJU9WJSo34n4DMSAQ8UNQ/<0;1>/,[00000000/48h/0h/0h/2h]xpub6FAopVoDqUtob6myxA6iuUWxUb5H176FmjNovn7mik9MyQb9P3vPbEfxT1WNphDVnnRWDmNvtjytCRyqRtX5ChUMCcawaHLHMZsMHQJ5e6M/<0;1>/*))#cprm2dm2

The error happens solely when I attempt to signal with the primary key (b6b630b5) from my trezor. I consider this has to with the way in which I assemble the descriptor, nevertheless I’m not positive the place I went mistaken because the pockets accurately imports to Sparrow, and I used to be in a position to present a signature with one of many different two keys.

Right here is the psbt I’m passing into the Trezor that features the scriptPubKey info:

cHNidP8BAH0CAAAAAba/vJ3hz6deXKlJ5dANs0D46Kx9IuT1xmaz21Sj2EAEAAAAAAD9////AqAPAAAAAAAAFgAU/KntEKoymoEXlBUQ4u0Zgt9Tics1CwAAAAAAACIAIKLnG/vjEHtNwQhh5/ST6syKUZEvqUUgqEraS67QMRO6Sh4NAE8BBIiyH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cAAAAADAAAIAAAACAAAAAgAIAAIAAAAAAAAAAACIGA23BeOZ0pnWd2fFooFAvPhI1TC7sB0uUZ3Unj26HhAZSHLW2MLUwAACAAAAAgAcAAIACAACAAAAAAAAAAAAAAAEBaVIhAjSgpAW++F1x6Li3f7UCPNcj5QrmctErqJZ348brCzKMIQJy4RHsLrzOehhSzBB6vXfuw+/dldB+qixBmxzMbgPzhSEC0NOaIUEkrdr19uH01QxlgrzszJQIO/Znpg1Ch1M/ccpTriICAtDTmiFBJK3a9fbh9NUMZYK87MyUCDv2Z6YNQodTP3HKHAAAAAAwAACAAAAAgAAAAIACAACAAQAAAAAAAAAiAgI0oKQFvvhdcei4t3+1AjzXI+UK5nLRK6iWd+PG6wsyjBwAAAAAMAAAgAAAAIAAAACAAgAAgAEAAAAAAAAAIgICcuER7C68znoYUswQer137sPv3ZXQfqosQZsczG4D84UctbYwtTAAAIAAAACABwAAgAIAAIABAAAAAAAAAAA=

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest Articles