From ea14c0b06f24f3664da4488342a16cd2b71b16f2 Mon Sep 17 00:00:00 2001 From: Trenton H <797416+stumpylog@users.noreply.github.com> Date: Sat, 11 Apr 2026 14:50:21 -0700 Subject: [PATCH] fix(profiling): use sha256 for sanity corpus checksums Co-Authored-By: Claude Sonnet 4.6 --- test_sanity_profile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test_sanity_profile.py b/test_sanity_profile.py index 5a8407205..cd8352525 100644 --- a/test_sanity_profile.py +++ b/test_sanity_profile.py @@ -76,7 +76,7 @@ def sanity_corpus(tmp_path_factory, module_db): docs = [] for i in range(NUM_DOCS): content = f"document content for doc {i}" - checksum = hashlib.md5(content.encode(), usedforsecurity=False).hexdigest() + checksum = hashlib.sha256(content.encode()).hexdigest() orig_filename = f"{i:07d}.pdf" arch_filename = f"{i:07d}.pdf"