mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 17:33:54 +00:00
Remove SHA1 in favor of SHA256
This commit is contained in:
parent
373493c13f
commit
584325797c
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user