electrum icon indicating copy to clipboard operation
electrum copied to clipboard

MultiSign wallet with multiple hardware wallets detection issue

Open ElucGeek opened this issue 3 years ago • 4 comments

I try to create a multi sign wallet using 3 different hardware wallets. The first hardware wallet is detected without issue but either the second or third is never detected. When I try again in a different order, starting from the one that was not detected, it's again working with the first but then either the second or third is not detected. So it's not related to the hardware wallet as all can be detected at least once depending on the order used. If I create a standard single sign wallet with any of the 3 hardware wallet it's every time detected without issue.

OS: Ubuntu 22.04 Electrum version: 4.2.2 AppImage Hardware wallet: Ledger Nano S, Trezor One and KeepKey, all with latest firmware.

ElucGeek avatar Jul 08 '22 09:07 ElucGeek

Could you please include detailed steps to reproduce? E.g.

  • which device is plugged/unplugged at any given time,
  • which buttons are you clicking (screenshots might help),
  • starting from when you start the program (open the application),
  • and also, when you created the wallet file, in which order were the devices added as cosigners (which might or might not be relevant),

SomberNight avatar Jul 08 '22 10:07 SomberNight

Hi thanks for the reply. Here are the steps:

No hardware wallet connected. Start Electrum.

step A-1. Creation of a new wallet, enter a name, click next. image

step A-2. Select Multi-signature wallet, click next. image

step A-3. Select 3 cosigners with 2 signatures required. Click next. image

step A-4. Select Use a hardware device. Plugin a Trezor One hardware wallet. Click next. image

step A-5. Hardware wallet is listed. Click next. image

step A-6. Enter PIN to unlock the Trezor. (no screenshot)

step A-7. Leave default derivation path (native segwit multisign). Click next. image

step A-8. Screen with the master public key, made a backup. Click next. (no screenshot).

step A-9. Add cosigner 2 of 3, select cosign with hardware device. Unplug Trezor. Plug Ledger Nano S. Unlock with PIN. Start Bitcoin app on Ledger. Click next. image

step A-10. No hardware device detected. Stuck on this screen no matter what. image

step A-11. I cancel the wallet creation by going back twice or closing the windows.


step B-1. Start Electrum again. Do the same steps as above but with still the Ledger Nano S plugged in. On screen "add cosigner 1 of 3" select use hardware device. Click next. image

step B-2. Hardware keystore show my Ledger and is pre-selected. Click next. image

step B-3. Continue as before until "add cosigner 2 of 3". Select Cosign with hardware device. Unplug Ledger. Plug Trezor. Click next.

step B-4. Trezor found in the list. Pre-selected. Click next. image

step B-5. Enter PIN. Select derivation path. Click next.

step B-6. Add cosigner 3 of 3. Select "Cosign with hardware device". Unplug Trezor. Plug Keepkey. Click next. image

step B-7. No hardware device detected. Stuck on this screen. image


In both case I could not complete the creation of the multisign wallet as at least once it fails to detect the newly connected hardware wallet.

Just to be sure that the Keepkey is working, I start over again still with KeepKey plugged in. Do the same and it sees the KeepKey. image

I hope it's more clear now. Any idea why it can never connect all hardware wallet during the creation process but can always detected them one by one?

ElucGeek avatar Jul 08 '22 14:07 ElucGeek

OK, it feels dumb but I found a work-a-round. If I use 3 USB cables to connect the 3 hardware wallets at once before even starting Electrum, then I can create the wallet as they are all 3 visible at each steps. Still I would keep the bug open as it's really confusing for users that would normally assume that you should connect them one by one.

ElucGeek avatar Jul 08 '22 20:07 ElucGeek

Thanks for the detailed description. I've numbered your paragraphs.

step A-10. No hardware device detected. Stuck on this screen no matter what. image

step A-11. I cancel the wallet creation by going back twice or closing the windows.

Is the keepkey (or any other hw device) connected at this point, during step A-10? Did you try clicking Next one or more times, like the message suggests (to trigger a rescan)?

I found a work-a-round. If I use 3 USB cables to connect the 3 hardware wallets at once before even starting Electrum, then I can create the wallet as they are all 3 visible at each steps.

It should definitely also work if connecting them one-by-one. As above, you might have to trigger rescans manually though.

Given that you have got it to work when all devices are connected, I am a bit unsure if there might be anything interesting in the logs when trying one-by-one, but in case you are willing to try and check out the debug logs, here is how to enable them.

SomberNight avatar Jul 08 '22 23:07 SomberNight