mirror of
https://github.com/saltstack/salt.git
synced 2025-04-16 09:40:20 +00:00
Use SHA256 algorithm for zyppnotify plugin
This commit is contained in:
parent
27001cf4cc
commit
adb832424d
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue