summaryrefslogtreecommitdiffhomepage
path: root/tests/test_client.py
AgeCommit message (Collapse)Author
2017-06-09Merge branch '2.1'Jeff Forcier
2017-06-09Merge branch '2.0' into 2.1Jeff Forcier
2017-06-07cleanup/simplify auth_timeout testsPierce Lopez
2017-06-06Merge branch 'master' into 869-intJeff Forcier
2017-06-06Failing test proving need for #857Jeff Forcier
2017-06-03Fixed encoding/decoding of the public key on the wireAlex Gaynor
Public point was accidentally encoded as 32 bytes, with no length prefix.
2017-06-03integration test, with ourselvesAlex Gaynor
2017-06-02re-enable client cleanup test for python3Pierce Lopez
2017-01-24Merge branch '2.0' into 2.1Jeff Forcier
2017-01-24untie agian!james mike dupont
2016-12-23Added a test to check that the auth_timeout argument is passed through and ↵Tim Savage
applied.
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-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-11-30Merge branch 'master' into 398-intJeff Forcier
2016-04-25Add support for ECDSA key sizes 384 and 521 alongside the existing 256.Alex Orange
Previously only 256-bit was handled and in certain cases (private key reading) 384- and 521-bit keys were treated as 256-bit keys causing silent errors. Tests have been added to specifically test the 384 and 521 keysizes. As RFC 5656 defines 256, 384, and 521 as the required keysizes this seems a good set to test. Also, this will cover the branches at ecdsakey.py:55. Test keys were renamed and test_client.py was modified as a result. This also fixes two bugs in ecdsakey.py. First, when calculating bytes needed to store a key, the assumption was made that the key size (in bits) was divisible by 8 (see line 137). This has been fixed by rounding up (wasn't an issue as only 256-bit keys were used before). Another bug was that the key padding in asbytes was being done backwards (was padding on current_length - needed_length bytes).
2016-04-23Merge branch 'master' into switch-to-cryptographyAlex Gaynor
2016-04-23Add regression test protecting against an issue found in #394.Jeff Forcier
Putting it in prior to merge of #394 because it also serves as a good explicit test of behavior which was previously implicit
2016-04-23Set look_for_keys=False in client tests to avoid loading real user keys.Jeff Forcier
Re #394 but also feels like good practice anyways
2015-12-04Merge branch 'master' into switch-to-cryptographyAlex Gaynor
2015-11-06Hacky cleanup of non-gc'd clients in a loopy test.Jeff Forcier
Re #612
2015-11-04Merge branch 'master' into switch-to-cryptographyAlex Gaynor
Conflicts: .travis.yml paramiko/ecdsakey.py paramiko/transport.py
2015-11-03Merge branch 'master' into 502-intJeff Forcier
2015-03-20Commit 838e02ab42 changed the type of the exec command string on python3Anselm Kruis
from unicode to bytes. This commit adapts the test suite accordingly.
2014-12-18Merge branch 'master' into switch-to-cryptographyAlex Gaynor
Conflicts: paramiko/ecdsakey.py paramiko/util.py
2014-12-17Use modern api to check if event is set.Olle Lundberg
Since we are a python2.6+ code base now, we want to be as forward compatible as possible.
2014-10-01Skip the tests on PyPyAlex Gaynor
2014-09-302 is really enoughAlex Gaynor
2014-09-30Try removing some unused code?Alex Gaynor
2014-09-29try with one more GC, just to see if it reproducesAlex Gaynor
2014-09-21Support 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).
2014-09-18Merge branch 'master' into switch-to-cryptographyAlex Gaynor
Conflicts: paramiko/ecdsakey.py tests/test_client.py
2014-09-16Added a comment; used a keyword argument, added pypy to travisAlex Gaynor
2014-09-15Switched everything to use cryptographyAlex Gaynor
2014-09-10Merge branch 'master' into 216-intJeff Forcier
Conflicts: paramiko/transport.py paramiko/util.py tests/test_client.py
2014-09-08Merge branch 'master' into 362-intJeff Forcier
Conflicts: tests/test_client.py
2014-09-08Merge branch 'master' into 373-intJeff Forcier
Conflicts: paramiko/channel.py
2014-09-07Convert SSHClient into a context managerMichael Williamson
2014-09-06Bah humbugJeff Forcier
2014-09-05Yup, that was indeed too fucking clever. Bad bitprophet!Jeff Forcier
2014-09-05Fix a Python 3 encoding dealieJeff Forcier
2014-09-05Forgot to actually implement allowed-keys/reverse testingJeff Forcier
2014-09-05Add a couple more permutationsJeff Forcier
2014-09-05Overhaul multi-key test to set up multiple scenariosJeff Forcier
2014-09-05Factor fingerprint data out of classJeff Forcier
2014-09-05More cleanup to support ECDSA key, and now it works!Jeff Forcier
2014-09-05Add RSA key fingerprint, now that test passesJeff Forcier
2014-09-05Set things up for cleaner test key tomfooleryJeff Forcier
2014-09-05Add an explicit RSA test, which fails (!)Jeff Forcier
2014-09-05Refactor horrible old copypastaJeff Forcier