Remove SHA1 in favor of SHA256

This commit is contained in:
Bo Maryniuk 2016-02-12 17:11:19 +01:00
parent 373493c13f
commit 584325797c

View File

@ -2485,7 +2485,7 @@ def request_minion_cachedir(
if not fingerprint:
if pubkey is not None:
fingerprint = salt.utils.pem_finger(key=pubkey, sum_type=(opts and opts.get('hash_type') or 'sha1'))
fingerprint = salt.utils.pem_finger(key=pubkey, sum_type=(opts and opts.get('hash_type') or 'sha256'))
init_cachedir(base)