trezor / trezor-firmware

:lock: Trezor Firmware Monorepo
https://trezor.io
Other
1.33k stars 649 forks source link

Trezor T with 3rd party wallet Qtum-Electrum - unknown path m/44'/88’/0’/0/0 #1471

Closed SereFF1984 closed 3 years ago

SereFF1984 commented 3 years ago

Hello! Trezor Model T, firmware 2.3.5 Trezor One, firmware 1.9.4 Qtum-electrum-v4.0.11

Trezor support Qtum via Qtum-Electrum. 1 In March 2020 was created new wallet in Qtum-electrum 0.18.16 with Trezor. Selected legacy(p2pkh) with default path: m/44’/88’/0’ 7 The wallet was created successfully and I deposit some Qtum coins to it. The coins were deposited successfully. 9 12 Today I tried to send coins from this wallet but I got an unknown path m/44’/88’/0’/0/0 in Trezor T WhatsApp Image 2021-02-11 at 21 46 08 and error in Qtum-Electrum. So coins didn't send. 15 Tried to do something in Trezor One (firmware 1.9.4) but got the following errors: 19 20 and error in Qtum-Electrum: 11 Is there a solution to solve this problem with wrong address part in Trezor?

prusnak commented 3 years ago

According to SLIP-0044 the correct value for QTUM is 2301, not 88

Developers of Qtum fixed that in October 2019 in Qtum-Electrum 4.0.0 - see here https://github.com/qtumproject/qtum-electrum/commit/3e9cd1d78057681da6a0e2c466501580b21cabab

As you can see in your screenshot - there are "trezor compatible" options, you should have picked these during the creation of the wallet.

To get around the limitation you can switch the Trezor safety checks to prompt via:

trezorctl set safety-checks prompt

See https://wiki.trezor.io/Using_trezorctl_commands_with_Trezor#Safety-checks for more info

You can then send your coins to the new correct addresses and then disable the setting back via:

trezorctl set safety-checks strict

icodeface commented 3 years ago

Hi @prusnak, trezorctl set safety-checks prompt seems not work on Trezor One using firmware 1.9.4 , I got Error: DataError: No setting provided.

prusnak commented 3 years ago

@icodeface This works only with Trezor Model T. The setting can't be applied for Trezor One. With Trezor One you have three options:

icodeface commented 3 years ago

@icodeface This works only with Trezor Model T. The setting can't be applied for Trezor One. With Trezor One you have three options:

  • try downgrading to firmware 1.9.0 (trezorctl firmware-update -v 1.9.0)
  • get Trezor Model T and import the seed
  • import the seed into Electrum (not recommended as this exposes all your coins to the computer which might be running malware)

Thanks for replying, is there any possibility add the safety-checks level function to Trezor One in the next firmware release ?

prusnak commented 3 years ago

Thanks for replying, is there any possibility add the safety-checks level function to Trezor One in the next firmware release ?

We'll think about it, but it won't probably be in the next release.