From 721105c53de6fbc0abc7799ec7f48920e02089bd Mon Sep 17 00:00:00 2001 From: Stanislav Laznicka Date: Mon, 12 Dec 2016 16:59:48 +0100 Subject: Generate sha256 ssh pubkey fingerprints for hosts Replace md5 with sha256 for host ssh pubkey fingerprints https://fedorahosted.org/freeipa/ticket/5695 Reviewed-By: Christian Heimes --- ipalib/util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ipalib') diff --git a/ipalib/util.py b/ipalib/util.py index 1c00cd748..81c0e9e5e 100644 --- a/ipalib/util.py +++ b/ipalib/util.py @@ -301,7 +301,7 @@ def convert_sshpubkey_post(entry_attrs): except (ValueError, UnicodeDecodeError): continue - fp = pubkey.fingerprint_hex_md5() + fp = pubkey.fingerprint_hex_sha256() comment = pubkey.comment() if comment: fp = u'%s %s' % (fp, comment) -- cgit