From 7164f9fd6ea9f13a88ebbb4836162e9417f249a1 Mon Sep 17 00:00:00 2001 From: Marko Bencun Date: Tue, 30 May 2023 23:55:21 +0200 Subject: [PATCH] bitbox02: update to 6.2.0 6.2.0 was released to put a minimum requirement on hidapi 0.14.0, which includes the fix for this issue: https://github.com/libusb/hidapi/issues/531 That bug caused hidapi on macOS 13.3 to report 0 as the interface number for all hid devices, which led to the bitbox02 multi edition being listed twice instead of once - once for the main HW wallet interface and once erroneously For the U2F interface (which should not be listed). --- contrib/requirements/requirements-hw.txt | 2 +- electrum/plugins/bitbox02/bitbox02.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/requirements/requirements-hw.txt b/contrib/requirements/requirements-hw.txt index 05cff1acc502..36f310eedaae 100644 --- a/contrib/requirements/requirements-hw.txt +++ b/contrib/requirements/requirements-hw.txt @@ -22,7 +22,7 @@ hidapi ckcc-protocol>=0.7.7 # device plugin: bitbox02 -bitbox02>=6.0.0 +bitbox02>=6.2.0 # device plugin: jade cbor>=1.0.0,<2.0.0 diff --git a/electrum/plugins/bitbox02/bitbox02.py b/electrum/plugins/bitbox02/bitbox02.py index e07544213339..1095c39da980 100644 --- a/electrum/plugins/bitbox02/bitbox02.py +++ b/electrum/plugins/bitbox02/bitbox02.py @@ -631,7 +631,7 @@ def show_address( class BitBox02Plugin(HW_PluginBase): keystore_class = BitBox02_KeyStore - minimum_library = (6, 0, 0) + minimum_library = (6, 2, 0) DEVICE_IDS = [(0x03EB, 0x2403)] SUPPORTED_XTYPES = ("p2wpkh-p2sh", "p2wpkh", "p2wsh", "p2wsh-p2sh")