1
0

KeepKey: Implement secure recovery from seed

This method relies on having a large screen so only
works with KeepKey firmware.
This commit is contained in:
Neil Booth
2016-01-23 12:09:52 +09:00
parent eb865779eb
commit 889976915a
5 changed files with 123 additions and 4 deletions

View File

@@ -66,6 +66,11 @@ class GuiMixin(object):
# Unfortunately the device can't handle self.proto.Cancel()
return self.proto.WordAck(word=word)
def callback_CharacterRequest(self, msg):
char_info = self.handler.get_char(msg)
if not char_info:
return self.proto.Cancel()
return self.proto.CharacterAck(**char_info)
class TrezorClientBase(GuiMixin, PrintError):