X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FLCM.git;a=blobdiff_plain;f=osm_lcm%2Flcm_utils.py;fp=osm_lcm%2Flcm_utils.py;h=5817b16a701d8d8cedbb4dcce69f65d87701bfdb;hp=639c5ecb6897d3cb2a0ffdcbd1eff11a820bef03;hb=4c0e6805c44f9ed1d0bb35161bf69645f5b84151;hpb=9e9a923448e6673fc0396265732115b55f1df9da diff --git a/osm_lcm/lcm_utils.py b/osm_lcm/lcm_utils.py index 639c5ec..5817b16 100644 --- 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)