basic security checks with bandit
Fixes: https://pagure.io/koji/issue/3042
This commit is contained in:
parent
0e2ebb4e25
commit
ba2e1e520b
13 changed files with 42 additions and 29 deletions
|
|
@ -53,7 +53,7 @@ def md5_constructor(*args, **kwargs):
|
|||
# do not care about FIPS we need md5 for signatures and older hashes
|
||||
# It is still used for *some* security
|
||||
kwargs['usedforsecurity'] = False
|
||||
return hashlib.md5(*args, **kwargs)
|
||||
return hashlib.md5(*args, **kwargs) # nosec
|
||||
|
||||
# END kojikamid dup #
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue