1
0

wizard: add non-hardened derivation path check for digital bitbox, re-add rescan button in choose hw device,

clear clipboard before confirming seed.
This commit is contained in:
Sander van Grieken
2023-09-14 12:10:28 +02:00
parent 7313259815
commit 4101946ff5
4 changed files with 25 additions and 1 deletions

View File

@@ -120,6 +120,10 @@ class DigitalBitbox_Client(HardwareClientBase):
def get_xpub(self, bip32_path, xtype):
assert xtype in self.plugin.SUPPORTED_XTYPES
if is_all_public_derivation(bip32_path):
raise UserFacingException(_('This device does not reveal xpubs corresponding to non-hardened paths'))
reply = self._get_xpub(bip32_path)
if reply:
xpub = reply['xpub']