Browse Source

hw plugins: ledger: bump pinned lib to 0.3.0, raise max_lib to <0.4

closes https://github.com/spesmilo/electrum/issues/9035
master
SomberNight 1 year ago
parent
commit
225ed079a9
No known key found for this signature in database
GPG Key ID: B33B5F232C6271E9
  1. 6
      contrib/deterministic-build/requirements-hw.txt
  2. 4
      contrib/requirements/requirements-hw.txt
  3. 2
      electrum/plugins/ledger/ledger.py

6
contrib/deterministic-build/requirements-hw.txt

@ -283,9 +283,9 @@ keepkey==6.3.1 \
--hash=sha256:88e2b5291c85c8e8567732f675697b88241082884aa1aba32257f35ee722fc09 \ --hash=sha256:88e2b5291c85c8e8567732f675697b88241082884aa1aba32257f35ee722fc09 \
--hash=sha256:cef1e862e195ece3e42640a0f57d15a63086fd1dedc8b5ddfcbc9c2657f0bb1e \ --hash=sha256:cef1e862e195ece3e42640a0f57d15a63086fd1dedc8b5ddfcbc9c2657f0bb1e \
--hash=sha256:f369d640c65fec7fd8e72546304cdc768c04224a6b9b00a19dc2cd06fa9d2a6b --hash=sha256:f369d640c65fec7fd8e72546304cdc768c04224a6b9b00a19dc2cd06fa9d2a6b
ledger-bitcoin==0.2.1 \ ledger-bitcoin==0.3.0 \
--hash=sha256:01697fab6333ceca4d228eb27f7d12f763e033f620b1bfb5949b20ec0b33b6ca \ --hash=sha256:ad9cdeaf33a45562bbd5bae6751025b869a2f81d6eb0267dd062a01f5925a4d5 \
--hash=sha256:1160aa887df9f88539110c3c88535fc838cfff26600a326df23b4a09f09036f1 --hash=sha256:e7c33404d02044c3810b294a510f7ad97bc65ab12dbdd180d873f2b4ebc0711a
ledgercomm==1.2.1 \ ledgercomm==1.2.1 \
--hash=sha256:015cfc05f16b8c59f8cc1d9fc0b8935923f1fcc3806d33eeb6b0e055b44f5a91 \ --hash=sha256:015cfc05f16b8c59f8cc1d9fc0b8935923f1fcc3806d33eeb6b0e055b44f5a91 \
--hash=sha256:8ffef5703355b8ec7b73bca325f70288f4d0dafcb299c09833de9c197fb6dd34 --hash=sha256:8ffef5703355b8ec7b73bca325f70288f4d0dafcb299c09833de9c197fb6dd34

4
contrib/requirements/requirements-hw.txt

@ -11,10 +11,8 @@ keepkey>=6.3.1
# device plugin: ledger # device plugin: ledger
# note: btchip-python only needed for "legacy" protocol and HW.1 support # note: btchip-python only needed for "legacy" protocol and HW.1 support
# note: ledger-bitcoin==0.2.2 added new deps we don't want to bundle. otherwise it should be ok to use.
# see https://github.com/LedgerHQ/app-bitcoin-new/issues/192
btchip-python>=0.1.32 btchip-python>=0.1.32
ledger-bitcoin>=0.2.0,<0.2.2 ledger-bitcoin>=0.2.0
hidapi hidapi
# device plugin: coldcard # device plugin: coldcard

2
electrum/plugins/ledger/ledger.py

@ -1332,7 +1332,7 @@ class Ledger_KeyStore(Hardware_KeyStore):
class LedgerPlugin(HW_PluginBase): class LedgerPlugin(HW_PluginBase):
keystore_class = Ledger_KeyStore keystore_class = Ledger_KeyStore
minimum_library = (0, 2, 0) minimum_library = (0, 2, 0)
maximum_library = (0, 3, 0) maximum_library = (0, 4, 0)
DEVICE_IDS = [(0x2581, 0x1807), # HW.1 legacy btchip DEVICE_IDS = [(0x2581, 0x1807), # HW.1 legacy btchip
(0x2581, 0x2b7c), # HW.1 transitional production (0x2581, 0x2b7c), # HW.1 transitional production
(0x2581, 0x3b7c), # HW.1 ledger production (0x2581, 0x3b7c), # HW.1 ledger production

Loading…
Cancel
Save