summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch '2.1' into 2.2Jeff Forcier2018-03-121-5/+50
|\
| * Merge branch '2.0' into 2.1Jeff Forcier2018-03-121-5/+50
| |\
| | * Initial tests proving CVE-2018-7750 / #XXXJeff Forcier2018-03-121-2/+40
| | |
| | * Allow overriding test client connect kwargs in Transport test suiteJeff Forcier2018-03-121-3/+10
| | |
* | | Test proving #1039 / efficacy of #1051Jeff Forcier2017-11-291-0/+10
| | |
* | | Fix rekeying with GSS-API key exchangeSebastian Deiss2017-09-181-2/+19
| | | | | | | | | | | | | | | | | | | | | | | | When GSS-API key exchange is used a rekey caused a GSS-API MIC failure and closed the transport. This happened because the MIC of the transport session ID (H of the initial kex) was checked against the MIC of the new H created during rekey.
* | | Merge branch '2.1' into 2.2Jeff Forcier2017-09-121-7/+38
|\ \ \ | |/ /
| * | Merge branch '2.0' into 2.1Jeff Forcier2017-09-121-7/+38
| |\ \ | | |/
| | * Merge branch '2.0' into 1061-intJeff Forcier2017-09-121-0/+61
| | |\
| | * | AuthHandler: fix the server-mode "gssapi-with-mic" logicAnselm Kruis2017-08-041-7/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A paramiko server is now able to handle a restart of the user authentication during the GSS-API token exchange. This may occur, if the client detects a local GSSAPI problem (e.g. a missing kerberos ticket) and continues with another authentication method. The added test case test_2_auth_trickledown still fails, because the paramiko client contains a bug too.
* | | | Merge branch '2.1-gsskex-hostkeycheck-fix' into 2.2-gsskex-hostkeycheck-fixAnselm Kruis2017-08-041-0/+61
|\ \ \ \ | |/ / /
| * | | Merge branch '2.0-gsskex-hostkeycheck-fix' into 2.1-gsskex-hostkeycheck-fixAnselm Kruis2017-08-041-0/+61
| |\ \ \ | | | |/ | | |/|
| | * | SSHClient: fix the host key testAnselm Kruis2017-08-041-0/+61
| | |/ | | | | | | | | | | | | | | | | | | | | | | | | Skip the host key check only, if the transport actually used gssapi-keyex. Add tests for the missing-host-key RejectPolicy. Before this change, a man-in-the-middle attack on the paramiko ssh client with gss_kex=True was possible by having a server that does not support gssapi-keyex and gives any or no host key.
* | | WhitespaceJeff Forcier2017-06-131-1/+0
| | |
* | | implement __hash__() method for Ed25519KeyPierce Lopez2017-06-131-1/+10
| | | | | | | | | | | | makes Ed25519Key objs comparable, needed for host keys
* | | Merge branch '2.1'Jeff Forcier2017-06-091-4/+56
|\ \ \ | |/ /
| * | Merge branch '2.1' into 910-intJeff Forcier2017-06-095-19/+188
| |\ \
| * | | tests for host key negotiation when there are multiplePierce Lopez2017-06-071-4/+56
| | | |
* | | | Merge branch '2.1'Jeff Forcier2017-06-094-10/+182
|\ \ \ \ | | |/ / | |/| |
| * | | Merge branch '2.0' into 2.1Jeff Forcier2017-06-095-11/+183
| |\ \ \ | | | |/ | | |/|
| | * | Flake8/etc tweaks re #971 in 2.xJeff Forcier2017-06-091-1/+1
| | | |
| | * | Allow any buffer type to be written to SFTPFileMartin Packman2017-06-091-0/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes #967 #968 Rollup of earlier branches proposed as #969 and #970 with additional fix inside sftp_client. Includes new tests for SFTPFile usage. Change against the 1.17 branch.
| | * | Allow any buffer type to be sent to ChannelMartin Packman2017-06-091-0/+69
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes #968 Changes the behaviour of the underlying asbytes helper to pass along unknown types. Most callers already handle this by passing the bytes along to a file or socket-like object which will raise TypeError anyway. Adds test coverage through the Transport implementation. Change against the 1.17 branch.
| | * | Import from py3compat directly in test_clientMartin Packman2017-06-091-1/+1
| | | |
| | * | Allow any buffer type to written to BufferedFileMartin Packman2017-06-091-10/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes #967 Also adds test coverage for writing various types to BufferedFile which required some small changes to the test LoopbackFile subclass. Change against the 1.17 branch.
| | * | Add new skipUnlessBuiltin function for testingMartin Packman2017-06-091-0/+36
| | | |
* | | | Merge branch '2.1'Jeff Forcier2017-06-091-8/+5
|\ \ \ \ | |/ / /
| * | | Merge branch '2.0' into 2.1Jeff Forcier2017-06-091-8/+5
| |\ \ \ | | |/ / | | | / | | |/ | |/|
| | * Merge branch '2.0' into 952-intJeff Forcier2017-06-092-0/+37
| | |\
| | * | re-enable client cleanup test for python3Pierce Lopez2017-06-021-8/+5
| | | |
* | | | Merge pull request #988 from ploxiln/auth_timeout_tests_cleanupJeff Forcier2017-06-072-25/+13
|\ \ \ \ | | | | | | | | | | cleanup/simplify auth_timeout tests
| * | | | cleanup/simplify auth_timeout testsPierce Lopez2017-06-072-25/+13
| | | | |
* | | | | Missed a merge conflict lololJeff Forcier2017-06-061-4/+0
| | | | |
* | | | | Merge branch '2.1'Jeff Forcier2017-06-061-0/+39
|\ \ \ \ \ | | |/ / / | |/| | |
| * | | | Merge branch '2.0' into 2.1Jeff Forcier2017-06-061-0/+28
| |\ \ \ \ | | | |_|/ | | |/| |
| | * | | Hand-picked backport of #912, fixes #741Jeff Forcier2017-06-061-0/+28
| | | | |
* | | | | Merge branch 'master' into 471-intJeff Forcier2017-06-0625-159/+896
|\ \ \ \ \ | | |_|/ / | |/| | |
| * | | | Merge branch 'master' into 869-intJeff Forcier2017-06-0614-34/+168
| |\ \ \ \
| | * | | | Failing test proving need for #857Jeff Forcier2017-06-061-0/+17
| | | | | |
| | * | | | Merge branch 'master' into 951-intJeff Forcier2017-06-0611-28/+77
| | |\ \ \ \
| | | * \ \ \ Merge branch '2.1'Jeff Forcier2017-06-051-0/+9
| | | |\ \ \ \ | | | | |/ / /
| | | | * | | Merge branch '2.0' into 2.1Jeff Forcier2017-06-051-0/+9
| | | | |\ \ \ | | | | | |/ /
| | | | | * | test transport security options can be set to defaultsPierce Lopez2017-06-051-0/+9
| | | | | |/ | | | | | | | | | | | | | | | | | | ensures all defaults key/cipher/digest etc types are supported
| | | * | | Fixed encoding/decoding of the public key on the wireAlex Gaynor2017-06-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Public point was accidentally encoded as 32 bytes, with no length prefix.
| | | * | | integration test, with ourselvesAlex Gaynor2017-06-031-0/+4
| | | | | |
| | | * | | py3kAlex Gaynor2017-06-031-1/+1
| | | | | |
| | | * | | Support decrypting keysAlex Gaynor2017-06-033-9/+26
| | | |/ /
| | | * | Merge branch '2.0' into 2.1Jeff Forcier2017-06-012-3/+13
| | | |\ \ | | | | |/
| | | | * Test & impl for truly functional HostKeys.__delitem__Jeff Forcier2017-06-011-0/+12
| | | | |
| | | | * Remove unused value from demo/test.Jeff Forcier2017-06-011-3/+1
| | | | | | | | | | | | | | | | | | | | Honestly not sure WTF