Use keepkey 6.0.1 from keepkey/python-keepkey repo

This commit is contained in:
Andrew Chow 2019-01-10 14:43:34 -05:00
parent 3578ecaee5
commit bf67fc61ce
3 changed files with 6 additions and 3 deletions

View File

@ -15,7 +15,7 @@ pip3 install hidapi # HID API needed in general
pip3 install trezor[hidapi] # Trezor One
pip3 install btchip-python # Ledger Nano S
pip3 install ecdsa # Needed for btchip-python but is not installed by it
pip3 install keepkey # KeepKey
pip3 install git+git://github.com/keepkey/python-keepkey.git@43fe80ae2e54b274c7b8641ff409bce4ebe04914#egg=keepkey # KeepKey. The tags and pypi don't have the right version yet, so lock to a specific commit from their git repo
pip3 install ckcc-protocol[cli] # Coldcard
pip3 install pyaes # For digitalbitbox
```

View File

@ -69,7 +69,7 @@ class KeepkeyClient(HardwareWalletClient):
def get_pubkey_at_path(self, path):
path = path.replace('h', '\'')
path = path.replace('H', '\'')
expanded_path = self.client.expand_path(path)
expanded_path = tools.parse_path(path)
output = self.client.get_public_node(expanded_path)
if self.is_testnet:
return {'xpub':xpub_main_2_test(output.xpub)}

View File

@ -17,11 +17,14 @@ setuptools.setup(
'hidapi', # HID API needed in general
'trezor>=0.11.0', # Trezor One
'btchip-python', # Ledger Nano S
'keepkey', # KeepKey
'keepkey==6.0.1', # KeepKey
'ckcc-protocol[cli]', # Coldcard
'pyaes',
'ecdsa', # Needed for Ledger but their library does not install it
],
dependency_links=[
'https://github.com/keepkey/python-keepkey/tarball/43fe80ae2e54b274c7b8641ff409bce4ebe04914#egg=keepkey-6.0.1' # The tags don't have the right version yet, so lock to a specific commit
],
python_requires='>=3',
classifiers=[
"Programming Language :: Python :: 3",