diff options
author | Stanislav Laznicka <slaznick@redhat.com> | 2016-12-12 16:59:48 +0100 |
---|---|---|
committer | Martin Basti <mbasti@redhat.com> | 2017-01-12 11:09:46 +0100 |
commit | 721105c53de6fbc0abc7799ec7f48920e02089bd (patch) | |
tree | 6d1f615ea5d5bc1425a6c944427941d6af5179c0 /ipalib | |
parent | 566c86a782bfd7d50938866e9f89faf56cea773f (diff) | |
download | freeipa-721105c53de6fbc0abc7799ec7f48920e02089bd.tar.gz freeipa-721105c53de6fbc0abc7799ec7f48920e02089bd.tar.xz freeipa-721105c53de6fbc0abc7799ec7f48920e02089bd.zip |
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 <cheimes@redhat.com>
Diffstat (limited to 'ipalib')
-rw-r--r-- | ipalib/util.py | 2 |
1 files changed, 1 insertions, 1 deletions
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) |