Skip to content

Commit ddaf3f2

Browse files
Merge pull request #1028 from SuffolkLITLab/add_bandid_13
changed branch to add_bandid_13
2 parents 69ef6db + 666eca2 commit ddaf3f2

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/unittests.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,5 @@ jobs:
1111
runs-on: ubuntu-latest
1212
name: Run python only unit tests
1313
steps:
14-
- uses: SuffolkLITLab/ALActions/pythontests@main
14+
- uses: SuffolkLITLab/ALActions/pythontests@add_bandid_13
15+

docassemble/AssemblyLine/sessions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1714,7 +1714,7 @@ def update_session_metadata(
17141714

17151715
# 2) Derive two signed 32‑bit ints from MD5(session_id|filename|tags)
17161716
key_string = f"{session_id}|{filename}|{metadata_key_name}"
1717-
digest = hashlib.md5(key_string.encode("utf-8")).digest()
1717+
digest = hashlib.md5(key_string.encode("utf-8"), usedforsecurity=False).digest()
17181718
high_u32, low_u32 = struct.unpack(">II", digest[:8])
17191719

17201720
def to_signed_32(x: int) -> int:

0 commit comments

Comments
 (0)