mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-05-05 16:38:59 -04:00
Fix static-scan findings
This commit is contained in:
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user