ncouture / MockSSH

Mock an SSH server and define all commands it supports (Python, Twisted)
Other
123 stars 23 forks source link

add support for Diffie-Hellman prime groups as required by twisted.conch.ssh.factory #13

Closed ncouture closed 8 years ago

ncouture commented 8 years ago

As raised in #12, MockSSH does not work with recent versions of Twisted due to the lack of support for Diffie-Hellman prime groups as required by twisted.conch.ssh.factory (getDHPrime).

With this fix primes are made available after parsing the moduli file (twisted.conch.openssh_compat.primes).