Skip to content

Commit c7567c7

Browse files
authored
Add semgrep ignore for working dir hash
1 parent 96cd33c commit c7567c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rez/cli/release.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ def command(opts, parser, extra_arg_groups=None):
8484
if config.prompt_release_message and not release_msg and not opts.no_message:
8585
from hashlib import sha1
8686

87-
h = sha1(working_dir.encode("utf8")).hexdigest()
87+
h = sha1(working_dir.encode("utf8")).hexdigest() # nosemgrep: insecure-hash-algorithm-sha1
8888
filename = "rez-release-message-%s.txt" % h
8989
filepath = os.path.join(config.tmpdir, filename)
9090

0 commit comments

Comments
 (0)