1
0

plugins: ledger: rm support for hw.1

This removes support for Ledger HW.1 and "Nano" (non-S) devices.
These were manufactured/sold around 2015-2016, and are long unsupported by the upstream vendor.

We previously added a deprecation warning to the GUI [0] released in 4.3.3 (2023-01-02), to warn owners of these devices.
This PR now fully removes support.

As a consequence, the unmaintained btchip-python dependency can now be removed, which solves [1].

[0]: 9b82eb6d06
[1]: https://github.com/spesmilo/electrum/issues/9370#issuecomment-2593675364
This commit is contained in:
SomberNight
2025-03-18 16:18:49 +00:00
parent 7737dbf795
commit 154adf0081
7 changed files with 21 additions and 359 deletions

View File

@@ -41,7 +41,6 @@ datas = [
datas += collect_data_files(f"{PYPKG}.plugins")
datas += collect_data_files('trezorlib') # TODO is this needed? and same question for other hww libs
datas += collect_data_files('safetlib')
datas += collect_data_files('btchip')
datas += collect_data_files('ckcc')
datas += collect_data_files('bitbox02')

View File

@@ -4,8 +4,6 @@ base58==2.1.1 \
bitbox02==6.2.0 \
--hash=sha256:5a8290bd270468ccdf2e6ff7174d25ea2b2f191e19734a79aa573c2b982c266f \
--hash=sha256:cede06e399c98ed536fed6d8a421208daa00f97b697bd8363a941ac5f33309bf
btchip-python==0.1.32 \
--hash=sha256:34f5e0c161c08f65dc0d070ba2ff4c315ed21c4b7e0faa32a46862d0dc1b8f55
cbor2==5.4.6 \
--hash=sha256:b893500db0fe033e570c3adc956af6eefc57e280026bd2d86fd53da9f1e594d7
certifi==2024.2.2 \

View File

@@ -44,7 +44,6 @@ datas = [
datas += collect_data_files(f"{PYPKG}.plugins")
datas += collect_data_files('trezorlib') # TODO is this needed? and same question for other hww libs
datas += collect_data_files('safetlib')
datas += collect_data_files('btchip')
datas += collect_data_files('ckcc')
datas += collect_data_files('bitbox02')

View File

@@ -14,8 +14,6 @@ hidapi>=0.7.99.post15
libusb1>=1.6
# device plugin: ledger
# note: btchip-python only needed for "legacy" protocol and HW.1 support
btchip-python>=0.1.32
ledger-bitcoin>=0.2.0
hidapi