summaryrefslogtreecommitdiffstats
path: root/ipapython/ssh.py
diff options
context:
space:
mode:
Diffstat (limited to 'ipapython/ssh.py')
-rw-r--r--ipapython/ssh.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipapython/ssh.py b/ipapython/ssh.py
index 02f577e8b..a625c422c 100644
--- a/ipapython/ssh.py
+++ b/ipapython/ssh.py
@@ -102,7 +102,7 @@ class SSHPublicKey(object):
try:
key = base64.b64decode(key)
- except (TypeError, binascii.Error):
+ except (TypeError, ValueError):
return False
return self._parse_raw(key)