diff options
author | Robey Pointer <robey@lag.net> | 2003-12-24 20:49:38 +0000 |
---|---|---|
committer | Robey Pointer <robey@lag.net> | 2003-12-24 20:49:38 +0000 |
commit | 02319afd5ac24ebeed0d4f671179128c4fc39596 (patch) | |
tree | 117f99db047e245e72319d655e9f07a1fb49bfc9 /transport.py | |
parent | e7715095b649fd9582de4dff9930d9ee42013a6e (diff) |
[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-12]
fix dss key signing
(expanded on a patch from fred gansevles)
add a demo dss key for server mode, and fix some bugs that had caused the dss
signing stuff to never work before. the demo_server is a bit more verbose
now, too. both key types (RSAKey & DSSKey) now have a function to return the
fingerprint of the key, and both versions of read_private_key_file() now raise
exceptions on failure, instead of just silently setting "valid" to false.
Diffstat (limited to 'transport.py')
-rw-r--r-- | transport.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/transport.py b/transport.py index 9e439344..a646b58f 100644 --- a/transport.py +++ b/transport.py @@ -532,7 +532,7 @@ class BaseTransport(threading.Thread): m.add_byte(chr(MSG_KEXINIT)) m.add_bytes(randpool.get_bytes(16)) m.add(','.join(self.preferred_kex)) - m.add(','.join(self.available_server_keys)) + m.add(','.join(available_server_keys)) m.add(','.join(self.preferred_ciphers)) m.add(','.join(self.preferred_ciphers)) m.add(','.join(self.preferred_macs)) |