Use SHA256 algorithm for zyppnotify plugin

This commit is contained in:
Bo Maryniuk 2018-09-13 12:01:04 +02:00
parent 27001cf4cc
commit adb832424d

View file

@ -35,7 +35,7 @@ class DriftDetector(Plugin):
Returns:
hexdigest
'''
digest = hashlib.md5()
digest = hashlib.sha256()
with open(self.rpm_path, "rb") as rpm_db_fh:
while True:
buff = rpm_db_fh.read(0x1000)