summaryrefslogtreecommitdiff
path: root/keys.py
diff options
context:
space:
mode:
Diffstat (limited to 'keys.py')
-rw-r--r--keys.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/keys.py b/keys.py
index 9b6b837..8d3a5b2 100644
--- a/keys.py
+++ b/keys.py
@@ -24,7 +24,7 @@ def load_public_key(key):
24 24
25 if ktype == 'ssh-rsa': 25 if ktype == 'ssh-rsa':
26 e, n = get_packed_mp_ints(remainder, 2) 26 e, n = get_packed_mp_ints(remainder, 2)
27 return hawt.new_pub_key((e, n)) 27 return RSA.new_pub_key((e, n))
28 elif ktype == 'ssh-dss': 28 elif ktype == 'ssh-dss':
29 p, q, g, y = get_packed_mp_ints(remainder, 4) 29 p, q, g, y = get_packed_mp_ints(remainder, 4)
30 return DSA.set_params(p, q, g) 30 return DSA.set_params(p, q, g)