module documentation
Tests for ssh/transport.py and the classes therein.
Class |
|
Base case for TransportBase tests. |
Class |
|
curve25519-sha256 tests for TransportBase |
Class |
|
Diffie-Hellman group exchange tests for TransportBase. |
Class |
|
diffie-hellman-group-exchange-sha1 tests for TransportBase. |
Class |
|
diffie-hellman-group-exchange-sha256 tests for TransportBase. |
Class |
|
ecdh-sha2-nistp256 tests for TransportBase |
Class |
|
Test TransportBase. It implements the non-server/client specific parts of the SSH transport protocol. |
Class |
|
Base case for SSHClientTransport tests. |
Class |
|
curve25519-sha256 tests for SSHClientTransport. |
Class |
|
Diffie-Hellman group exchange tests for SSHClientTransport. |
Class |
|
diffie-hellman-group-exchange-sha1 tests for SSHClientTransport. |
Class |
|
diffie-hellman-group-exchange-sha256 tests for SSHClientTransport. |
Class |
|
Elliptic Curve Diffie-Hellman tests for SSHClientTransport. |
Class |
|
ecdh-sha2-nistp256 tests for SSHClientTransport. |
Class |
|
Tests for SSHClientTransport. |
Class |
|
Mixin for curve25519-sha256 tests. |
Class |
|
Mixin for diffie-hellman-group-exchange-sha1 tests. |
Class |
|
Mixin for diffie-hellman-group-exchange-sha256 tests. |
Class |
|
Mixin for elliptic curve diffie-hellman tests. |
Class |
|
Tests for SSHCiphers._getMAC . |
Class |
|
A mocked-up version of twisted.conch.ssh.transport.SSHCiphers. |
Class |
|
A mocked-up compression, based on the zlib interface. Instead of compressing, it reverses the data and adds a 0x66 byte to the end. |
Class |
|
A mocked-up factory based on twisted.conch.ssh.factory.SSHFactory. |
Class |
|
The old SSHFactory returned mappings from key names to cryptography key objects from getPrivateKeys(). We return those here for testing. |
Class |
|
The old SSHFactory returned mappings from key names to strings from getPublicKeys(). We return those here for testing. |
Class |
|
A mocked-up service, based on twisted.conch.ssh.service.SSHService. |
Class |
|
A base class for the client and server protocols. Stores the messages it receives instead of ignoring them. |
Class |
|
Tests that need to be run on both the server and the client. |
Class |
|
Base case for SSHServerTransport tests. |
Class |
|
curve25519-sha256 tests for SSHServerTransport. |
Class |
|
Diffie-Hellman group exchange tests for SSHServerTransport. |
Class |
|
diffie-hellman-group-exchange-sha1 tests for SSHServerTransport. |
Class |
|
diffie-hellman-group-exchange-sha256 tests for SSHServerTransport. |
Class |
|
Elliptic Curve Diffie-Hellman tests for SSHServerTransport. |
Class |
|
ecdh-sha2-nistp256 tests for SSHServerTransport. |
Class |
|
Tests for SSHServerTransport. |
Class |
|
Tests for the SSHCiphers helper class. |
Class |
|
Test the server transport and client transport against each other, |
Class |
|
Base class for transport test cases. |
Function | generate |
Undocumented |
Function | skip |
Undocumented |
Constant | X25519 |
Undocumented |
Variable | cryptography |
Undocumented |
Variable | dependency |
Undocumented |
Variable | pyasn1 |
Undocumented |
Function | _ |
Return the MP version of (x ** y) % z. |