diff options
author | Robey Pointer <robey@lag.net> | 2003-11-07 10:36:42 +0000 |
---|---|---|
committer | Robey Pointer <robey@lag.net> | 2003-11-07 10:36:42 +0000 |
commit | 7d4d90a8c52a722accd7bfedb84d5a6c62d3fc97 (patch) | |
tree | 5284941d9889cc4584e1f332ea81b44e925cad97 /dsskey.py | |
parent | 14d7a745a7c42877545f2621459877da1c72a765 (diff) |
[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-3]
remove some leftover garbage from dsskey
leftover from a cut & paste i was doing a few days ago. bad robey.
Diffstat (limited to 'dsskey.py')
-rw-r--r-- | dsskey.py | 8 |
1 files changed, 0 insertions, 8 deletions
@@ -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 } |