Fix static-scan findings

This commit is contained in:
Ryan Ahearn
2022-08-26 16:04:30 +00:00
parent 8b6210eedb
commit a2913f8b9c
6 changed files with 25 additions and 25 deletions

View File

@@ -37,7 +37,7 @@ class AssetFingerprinter(object):
return self._cache[asset_path]
def get_asset_fingerprint(self, asset_file_path):
return hashlib.md5(
return hashlib.md5( # nosec B324 - hash value is not verified, so md5 is fine
self.get_asset_file_contents(asset_file_path)
).hexdigest()