mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-13 19:18:56 +00:00
tools: fix bug in keyctl introduced by last commit
This commit is contained in:
parent
706ddda1a7
commit
11245a82ea
@ -126,6 +126,7 @@ def sign(index, filename, global_commit, seckey):
|
||||
@click.argument('global_commit')
|
||||
@click.argument('signatures', nargs=-1)
|
||||
def global_sign(index, filename, global_commit, signatures):
|
||||
index = indexmap[index]
|
||||
data = open(filename, 'rb').read()
|
||||
data = header_to_sign(index, data)
|
||||
digest = pyblake2.blake2s(data).digest()
|
||||
|
Loading…
Reference in New Issue
Block a user