Electron-Cash: "cannot pair trezor" with Electron-Cash-4.1.0-fusion

using Electron-Cash-4.1.0-fusion-1-74-g12dd3338e-x86_64.AppImage I cannot pair my trezor.

Traceback (most recent call last):
  File "/tmp/.mount_Electr481Czl/usr/lib/python3.6/site-packages/electroncash_gui/qt/util.py", line 949, in run
    result = task.task()
  File "/tmp/.mount_Electr481Czl/usr/lib/python3.6/site-packages/electroncash/wallet.py", line 2469, in sign_message
    return self.keystore.sign_message(index, message, password)
  File "/tmp/.mount_Electr481Czl/usr/lib/python3.6/site-packages/electroncash_plugins/trezor/trezor.py", line 62, in sign_message
    client = self.get_client()
  File "/tmp/.mount_Electr481Czl/usr/lib/python3.6/site-packages/electroncash_plugins/trezor/trezor.py", line 56, in get_client
    return self.plugin.get_client(self, force_pair)
  File "/tmp/.mount_Electr481Czl/usr/lib/python3.6/site-packages/electroncash_plugins/trezor/trezor.py", line 185, in get_client
    client = devmgr.client_for_keystore(self, handler, keystore, force_pair)
  File "/tmp/.mount_Electr481Czl/usr/lib/python3.6/site-packages/electroncash/plugins.py", line 878, in client_for_keystore
    client = self.force_pair_xpub(plugin, handler, info, xpub, derivation, devices)
  File "/tmp/.mount_Electr481Czl/usr/lib/python3.6/site-packages/electroncash/plugins.py", line 923, in force_pair_xpub
    'receive will be unspendable.').format(plugin.device))
electroncash.plugins.DeviceUnpairableError: Electron Cash cannot pair with your Trezor.

Before you request bitcoins to be sent to addresses in this wallet, ensure you can pair with your device, or that you have its seed (and passphrase, if any).  Otherwise all bitcoins you receive will be unspendable.

I verified passphrase is correct by using older, non-cashfusion version (tried many times)

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 22

Most upvoted comments

I’ll also do some testing with Keepkey and Ledger.

Thanks @EchterAgo for the bisect refresher, it’s been a long time…

this commit that made things go sour: d6a4d28279bf522a89b3d923b017d6076000c1b9

d6a4d28279bf522a89b3d923b017d6076000c1b9 is the first bad commit
commit d6a4d28279bf522a89b3d923b017d6076000c1b9
Author: Calin Culianu <calin.culianu@gmail.com>
Date:   Mon Feb 10 17:27:40 2020 +0200

    Refactor mnemonic.py; resurrect BIP39 seed generation

I didn’t regenerate python env between steps, I hope that’s not the issue.

Edit: I hope we don’t have to keep that old mnemonic implementation around just for trezor?!?