Add a message for which dongle file we're looking at.

This commit is contained in:
Jennifer Taylor 2021-02-26 02:00:42 +00:00
parent 3ab2a85bbb
commit 5daf418a00
1 changed files with 2 additions and 0 deletions

View File

@ -291,6 +291,8 @@ def main() -> int:
with open(args.dongle, "rb") as fp:
data = fp.read()
print(f"Examining {args.dongle}...")
# 3 Enclaves consisting of an 8-byte ID, 8-byte password and 48 byte enclave.
# A single ROM ID at the end of the file.
if len(data) != (8 + (3 * (48 + 8 + 8))):