projects
/
osm
/
LCM.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix multiple minor security vulnerabilities
[osm/LCM.git]
/
osm_lcm
/
lcm_utils.py
diff --git
a/osm_lcm/lcm_utils.py
b/osm_lcm/lcm_utils.py
index
639c5ec
..
5817b16
100644
(file)
--- a/
osm_lcm/lcm_utils.py
+++ b/
osm_lcm/lcm_utils.py
@@
-236,7
+236,7
@@
class LcmBase:
Returns:
hex digest (str): The hash of the charm file
"""
- filehash = hashlib.
md5
()
+ filehash = hashlib.
sha256
()
with open(zipped_file, mode="rb") as file:
contents = file.read()
filehash.update(contents)