From 47efae3390a598365022a9de86ba2949b7585dc3 Mon Sep 17 00:00:00 2001 From: EliseCastle23 <109446148+EliseCastle23@users.noreply.github.com> Date: Sun, 26 Jan 2025 19:40:34 -0700 Subject: [PATCH] Update blueprint.py Update script to not block md5 due to FIPs. --- indexd/index/blueprint.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indexd/index/blueprint.py b/indexd/index/blueprint.py index 7c79513f..7f43d3e8 100644 --- a/indexd/index/blueprint.py +++ b/indexd/index/blueprint.py @@ -681,7 +681,7 @@ def compute_checksum(checksums): checksums.sort() checksum = "".join(checksums) return { - "checksum": hashlib.md5(checksum.encode("utf-8")).hexdigest(), + "checksum": hashlib.md5(checksum.encode("utf-8"), usedforsecurity=False).hexdigest(), "type": "md5", }