1
0

trezor: implement "seedless" mode (option during initialization)

This commit is contained in:
SomberNight
2019-02-13 18:59:20 +01:00
parent 2867c2ef7a
commit 7bbec04a06
4 changed files with 74 additions and 33 deletions

View File

@@ -206,6 +206,8 @@ class KeepKeyPlugin(HW_PluginBase):
language = 'english'
devmgr = self.device_manager()
client = devmgr.client_by_id(device_id)
if not client:
raise Exception(_("The device was disconnected."))
if method == TIM_NEW:
strength = 64 * (item + 2) # 128, 192 or 256