Skip to content

Commit

Permalink
Switch to SHA-1
Browse files Browse the repository at this point in the history
  • Loading branch information
Viktor Dick committed Feb 26, 2024
1 parent dc6253d commit dbf70b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion perfact/zodbsync/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ def process(path):
files = sorted(entry.path for entry in entries if entry.is_file())
dirs = sorted(entry.path for entry in entries if entry.is_dir())
if files:
h = hashlib.sha512()
h = hashlib.sha1()
for file in files:
h.update(file.encode('utf-8') + b'\n')
h.update(b'\n')
Expand Down

0 comments on commit dbf70b7

Please sign in to comment.