Use SHA256 algorithm for yumnotify plugin

This commit is contained in:
Bo Maryniuk 2018-09-13 12:00:55 +02:00
parent 7042fc0f75
commit 27001cf4cc

View file

@ -32,7 +32,8 @@ def _get_checksum():
Returns:
hexdigest
"""
digest = hashlib.md5()
digest = hashlib.sha256()
with open(RPM_PATH, "rb") as rpm_db_fh:
while True:
buff = rpm_db_fh.read(0x1000)