counterfeit ULC: need to merge nonce collection in auth logic for proper timings

This commit is contained in:
Philippe Teuwen committed 2026-06-10 00:39:46 +02:00
1 parent 6d8ed745fd
commit 607737e52e
8 files changed
+138 -193

No files matched your search

@@ -575,7 +575,7 @@ def main():
return
common_nonces.append((challenges["challenge_100"], max_occurrence))
else:
p.console(f"hf mfu cauth -c {num_challenges}")
p.console(f"hf mfu cauth --collect --read0 --noauth --reset --retries {num_challenges - 1}")
for line in p.grabbed_output.splitlines():
match = re.search(r"\[=\]\s+([0-9a-fA-F]{16})\s+\(count:\s*(\d+)\)", line)
if match: