1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-16 03:18:09 +00:00

Merge pull request #9 from hiviah/decrypt_value

decrypt_keyvalue in cmdtr.py takes value in hex from command line
This commit is contained in:
Pavol Rusnak 2014-08-16 23:11:21 +02:00
commit ac5c6d79c6

View File

@ -174,7 +174,7 @@ class Commands(object):
def decrypt_keyvalue(self, args): def decrypt_keyvalue(self, args):
address_n = self.client.expand_path(args.n) address_n = self.client.expand_path(args.n)
ret = self.client.decrypt_keyvalue(address_n, args.key, args.value) ret = self.client.decrypt_keyvalue(address_n, args.key, args.value.decode("hex"))
return ret return ret
def firmware_update(self, args): def firmware_update(self, args):