summaryrefslogtreecommitdiffhomepage
path: root/tests
AgeCommit message (Collapse)Author
2018-03-12Merge branch '2.0' into 2.1Jeff Forcier
2018-03-12Initial tests proving CVE-2018-7750 / #XXXJeff Forcier
2018-03-12Allow overriding test client connect kwargs in Transport test suiteJeff Forcier
2017-09-12Merge branch '2.0' into 2.1Jeff Forcier
2017-09-12Merge branch '2.0' into 1061-intJeff Forcier
2017-08-04AuthHandler: fix the server-mode "gssapi-with-mic" logicAnselm Kruis
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.
2017-08-04Merge branch '2.0-gsskex-hostkeycheck-fix' into 2.1-gsskex-hostkeycheck-fixAnselm Kruis
2017-08-04SSHClient: fix the host key testAnselm Kruis
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.
2017-06-09Merge branch '2.1' into 910-intJeff Forcier
2017-06-09Merge branch '2.0' into 2.1Jeff Forcier
2017-06-09Flake8/etc tweaks re #971 in 2.xJeff Forcier
2017-06-09Allow any buffer type to be written to SFTPFileMartin Packman
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.
2017-06-09Allow any buffer type to be sent to ChannelMartin Packman
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.
2017-06-09Import from py3compat directly in test_clientMartin Packman
2017-06-09Allow any buffer type to written to BufferedFileMartin Packman
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.
2017-06-09Add new skipUnlessBuiltin function for testingMartin Packman
2017-06-09Merge branch '2.0' into 2.1Jeff Forcier
2017-06-09Merge branch '2.0' into 952-intJeff Forcier
2017-06-07tests for host key negotiation when there are multiplePierce Lopez
2017-06-06Merge branch '2.0' into 2.1Jeff Forcier
2017-06-06Hand-picked backport of #912, fixes #741Jeff Forcier
2017-06-05Merge branch '2.0' into 2.1Jeff Forcier
2017-06-05test transport security options can be set to defaultsPierce Lopez
ensures all defaults key/cipher/digest etc types are supported
2017-06-02re-enable client cleanup test for python3Pierce Lopez
2017-06-01Merge branch '2.0' into 2.1Jeff Forcier
2017-06-01Test & impl for truly functional HostKeys.__delitem__Jeff Forcier
2017-06-01Remove unused value from demo/test.Jeff Forcier
Honestly not sure WTF
2017-05-31Merge branch '2.0' into 2.1Jeff Forcier
2017-05-31Even moar parentheses over backslashesJeff Forcier
2017-05-31Additional house style formatting tweaks, mostly re: removal of line ↵Jeff Forcier
continuations
2017-02-20Merge branch '2.0' into 2.1Jeff Forcier
2017-02-20This is awful and I hate my lifeJeff Forcier
2017-02-20Test proving #853, fails on Python 3 but not 2Jeff Forcier
2017-02-20Merge branch '2.0' into 2.1Jeff Forcier
2017-02-20Avoid PacketizerTest.test_closed_3 to fail on platforms where errno.ETIMESofian Brabez
is not defined This changes define the proper Timer expired error message instead of raising AttributeError when errno.ETIME is not available on the platform. fixes #862
2017-01-24Merge branch '2.0' into 2.1Jeff Forcier
2017-01-24untie agian!james mike dupont
2016-12-12Remove code re #398 from 2.0 branch, as it's feature workJeff Forcier
2016-12-05Merge branch '1.18' into 2.0Jeff Forcier
2016-12-05Merge branch '1.17' into 1.18Jeff Forcier
2016-12-05Looks like skipIf was added in 2.7? Dies on 2.6Jeff Forcier
2016-12-05Merge branch '1.18' into 2.0Jeff Forcier
2016-12-05Merge branch '1.17' into 1.18Jeff Forcier
2016-12-05skip test on windows - no SIGALRM.Gabi Davar
2016-12-05Merge branch '1.18' into 2.0Jeff Forcier
2016-12-05Just get rid of the frickin' numbers.Jeff Forcier
Every other merge screws them up anyway.
2016-12-05Add tests for ~ expansion inside proxycommandqqo
2016-12-05Support transmission of environment variablesPhilip Lorenz
The SSH protocol allows the client to transmit environment variables to the server. This is particularly useful if the user wants to modify the environment of an executed command without having to reexecute the actual command from a shell. This patch extends the Client and Channel interface to allow the transmission of environment variables to the server side. In order to use this feature the SSH server must accept environment variables from the client (e.g. the AcceptEnv configuration directive of OpenSSH). FROM BITPROPHET: backport cherry-pick to 1.x line
2016-06-12Merge branch '1.17' into 2.0Jeff Forcier
2016-06-12Merge branch '1.16' into 1.17Jeff Forcier