From 53e361b70b68e7d5992ca3ec43d7ff1bbc627663 Mon Sep 17 00:00:00 2001 From: Kenneth Heutmaker Date: Thu, 7 Jan 2016 12:21:58 -0800 Subject: [PATCH] Added code to make trezor-agent work with keepkey. --- trezorlib/client.py | 2 +- trezorlib/transport_hid.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/trezorlib/client.py b/trezorlib/client.py index 173bb54..df13fe2 100644 --- a/trezorlib/client.py +++ b/trezorlib/client.py @@ -343,7 +343,7 @@ class DebugLinkMixin(object): class ProtocolMixin(object): PRIME_DERIVATION_FLAG = 0x80000000 - VENDORS = ('bitcointrezor.com',) + VENDORS = ('bitcointrezor.com', 'keepkey.com',) def __init__(self, *args, **kwargs): super(ProtocolMixin, self).__init__(*args, **kwargs) diff --git a/trezorlib/transport_hid.py b/trezorlib/transport_hid.py index 63a679c..3cfbd8b 100644 --- a/trezorlib/transport_hid.py +++ b/trezorlib/transport_hid.py @@ -8,6 +8,7 @@ from transport import Transport, ConnectionError, NotImplementedException DEVICE_IDS = [ (0x10c4, 0xea80), # Shield (0x534c, 0x0001), # Trezor + (0x2b24, 0x0001), # KeepKey ] class FakeRead(object):