summaryrefslogtreecommitdiffhomepage
path: root/dsskey.py
diff options
context:
space:
mode:
Diffstat (limited to 'dsskey.py')
-rw-r--r--dsskey.py8
1 files changed, 0 insertions, 8 deletions
diff --git a/dsskey.py b/dsskey.py
index c2031291..f87b7a96 100644
--- a/dsskey.py
+++ b/dsskey.py
@@ -73,14 +73,6 @@ class DSSKey(object):
m.add_string(deflate_long(r, 0) + deflate_long(s, 0))
return str(m)
-
- rsa = RSA.construct((long(self.n), long(self.e), long(self.d)))
- sig = deflate_long(rsa.sign(self.pkcs1imify(hash), '')[0], 0)
- m = Message()
- m.add_string('ssh-rsa')
- m.add_string(sig)
- return str(m)
-
def read_private_key_file(self, filename):
# private key file contains:
# DSAPrivateKey = { version = 0, p, q, g, y, x }