-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Digital Bitbox fw 6.x fails to sign transactions with pubkeys on certain derivation paths. Multisig UTXOs unspendable #5275
Comments
Ping @digitalbitbox |
I have just tested and p2wsh multisig works for me EDIT: |
Ok, so I've upgraded the firmware to 6.0.3, and am getting the same error.
|
This seems to be some kind of restriction on the derivation path. If the derivation path for the bitbox keystore is This is evidently a change in the firmware. These coins are unspendable using the upgraded firmware, due to these new restrictions. EDIT: Actually IIRC there is a way to extract an xprv from the bitbox, so that would work. |
@SomberNight Even on override to |
Oh, I tested without change outputs. |
We are working on a fix. Thanks for raising the issue. |
@JeffVandrewJr Reproduced the issue with Electrum's default |
@Tomasvrba I had the change address issue using a Trezor and a BitBox together, both |
This issue has been resolved by the new BitBox firmware update: BitBoxSwiss/mcu#268 (comment) |
Urgency Level: I would consider this a fairly critical issue, since it allows the user to create the wallet and deposit funds, however the funds are then stuck in the wallet and cannot be spent. Luckily this did not happen to me as I tested with small transactions first.
Electrum version: 3.3.4
Digital Bitbox Firmware: 6.0.3
Issue: Cannot sign Segwit native multisig. Electrum properly creates the wallet using one or more BitBoxes, however when attempting to sign a transaction, it throws "Invalid Keypath" error.
Description: Electrum properly creates a Segwit native multisig wallet using Digital BitBoxes as one or more signers. However, when later attempting to spend from the wallet, attempts to sign with the BitBox will fail with error message: "Invalid Keypath".
Workarouds tried (and failed): manually set the derivation scheme to
m/48'/0'/0'/1'
andm/84'/0'/0'/0'
(as well as tested with defaultm/48'/0'/0'/2'
). All attempts yielded the exact same error,The text was updated successfully, but these errors were encountered: