Skip to content

Commit 7e53596

Browse files
committed
fix(espsecure): Fix printing key digest in signature info
1 parent a160468 commit 7e53596

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

espsecure/__init__.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1166,9 +1166,8 @@ def signature_info_v2(datafile: IO):
11661166
)
11671167

11681168
log.print(
1169-
f"Public key digest for block {sig_blk_num}: ".join(
1170-
f"{c:02x}" for c in bytearray(key_digest)
1171-
)
1169+
f"Public key digest for block {sig_blk_num}: "
1170+
f"{' '.join(f'{c:02x}' for c in bytearray(key_digest))}"
11721171
)
11731172

11741173

0 commit comments

Comments
 (0)