From 584325797c407ab036fd85b46f5dbd5c3a861836 Mon Sep 17 00:00:00 2001 From: Bo Maryniuk Date: Fri, 12 Feb 2016 17:11:19 +0100 Subject: [PATCH] Remove SHA1 in favor of SHA256 --- salt/utils/cloud.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/salt/utils/cloud.py b/salt/utils/cloud.py index abb848f028..df9550cc6c 100644 --- a/salt/utils/cloud.py +++ b/salt/utils/cloud.py @@ -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)