Skip to content

Commit

Permalink
feat: use md5 instead of sh256 for spec-files (#50)
Browse files Browse the repository at this point in the history
This PR addresses issue #34 <#34>
  • Loading branch information
christian-monch authored Nov 14, 2024
2 parents 09274d0 + db8333a commit 0e725dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion datalad_remake/commands/make_cmd.py
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ def write_spec(
) -> str:
# create the specification and hash it
spec = build_json(method, input_pattern, output_pattern, parameters)
hasher = hashlib.sha256()
hasher = hashlib.md5() # noqa S324
hasher.update(spec.encode())
digest = hasher.hexdigest()

Expand Down

0 comments on commit 0e725dc

Please sign in to comment.