wizardsardine / async-hwi

⚠️ The interface is not finalized 🚧 and currently specific to our needs with Liana
BSD 3-Clause "New" or "Revised" License
28 stars 17 forks source link

Add utils module with bip32_derivation filter #53

Closed edouardparis closed 1 year ago

edouardparis commented 1 year ago

Some devices like Bitbox, sign only the first bip32 derivation that matches the master fingerprint of the device even if a key signed already for this particular derivation or if inputs have differents bip32 derivation order, causing problem if multiple spending paths bip32 derivations are present.

With the struct Bip32DerivationFilter, it is possible to ignore specific derivations the time to sign the psbt.