summaryrefslogtreecommitdiffstats
path: root/ipapython
diff options
context:
space:
mode:
Diffstat (limited to 'ipapython')
-rw-r--r--ipapython/ssh.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/ipapython/ssh.py b/ipapython/ssh.py
index a625c422c..daa44bdd9 100644
--- a/ipapython/ssh.py
+++ b/ipapython/ssh.py
@@ -203,6 +203,8 @@ class SSHPublicKey(object):
keytype = 2
elif self._keytype.startswith('ecdsa-sha2-') and '@' not in self._keytype:
keytype = 3
+ elif self._keytype == 'ssh-ed25519':
+ keytype = 4
else:
return
fp = fpfunc(self._key).hexdigest().upper()