summaryrefslogtreecommitdiffhomepage
path: root/tests
AgeCommit message (Collapse)Author
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
2014-09-05Add a (failing :() test re: ECDSA private keysJeff Forcier
Re #218
2014-09-05Merge branch 'master' into 184-intJeff Forcier
Conflicts: paramiko/config.py tests/test_util.py
2014-09-05Add quick test re #131Jeff Forcier
2014-09-0580-col tweaksJeff Forcier
2014-08-25Merge branch '1.13' into 1.14Jeff Forcier
2014-08-25Rework re #239 to work off post-1.13 codebase. Closes #239Jeff Forcier
2014-08-25Merge branch '1.13' into 1.14Jeff Forcier
Conflicts: sites/www/changelog.rst
2014-08-25Support passing in "buffer" objects again where bytestrings are expected.Jelmer Vernooij
This fixes bzr's use of paramiko. Fixes issue #343/#285.
2014-08-15Let packetizer handle 0-length sends from channel.Olle Lundberg
If the channel is closed the send method returs a response length of 0. This is not handled correctly by the packetizer and puts it in an infinite loop. (Fixes #156 for real :-) We make sure we don't do more than 10 iteration on a 0 length respose, but raise an EOFError.
2014-08-15Don't end a line with whitespace.Olle Lundberg
This might be stripped by editors at will, which will make some tests brake.
2014-08-15Remove all occurences of ParamikoTest.Olle Lundberg
Sorry paramiko, it's time to put on the big boy pants. You no longer support old as hell versions of python.
2014-08-15Strip whitespace.Olle Lundberg
2014-08-15Strip whitespace.Olle Lundberg
2014-08-15Document what is breaking in the client tests.Olle Lundberg
2014-08-14Use a shorter timeout in banner timeout test.Cory Benfield
2014-08-14Test banner timeout.Cory Benfield
2014-08-14Add sanitation methods for window and packet size.Olle Lundberg
2014-08-14Add a utility method for value clamping.Olle Lundberg
2014-08-13Change window and packet size to match opensshs'.Olle Lundberg
Update tests to match the new numbers.
2014-05-28Merge branch 'master' into gssapi-py3-supportAnselm Kruis
Conflicts: dev-requirements.txt sites/www/changelog.rst
2014-04-24Merge branch '1.13'Jeff Forcier
2014-04-24Fix some trailing whitespaceJeff Forcier
2014-04-24Merge updated a01e449 from al-tonioJeff Forcier
2014-04-24Merge branch '1.13'Jeff Forcier
2014-04-23Merge branch 'paramiko:master' into gssapi-py3-supportSebastian Deiss
Conflicts: sites/www/changelog.rst test.py
2014-04-22Moved get_hosts function into method.Yan Kalchevksiy
2014-04-22Add support quoted values for SSHConfig (#157)Yan Kalchevskiy
2014-04-17BufferedFile.read() now returns byte strings instead of text stringsAntoine Brenner
It is the right thing to do since we have no idea what encoding the file is in, or even if the file is text data. BufferedFile.readline() is unchanged and returns text strings assuming the file is utf-8 encoded. This should fix the following issue: http://comments.gmane.org/gmane.comp.sysutils.backup.obnam/252 Antoine Brenner Conflicts: sites/www/changelog.rst
2014-04-16Merge branch '1.13'Jeff Forcier
2014-04-16Merge branch '1.12' into 1.13Jeff Forcier
Conflicts: paramiko/sftp_client.py sites/www/changelog.rst tests/test_sftp.py
2014-04-16Merge branch '1.11' into 1.12Jeff Forcier
2014-04-16Fix logging error in sftp_client for filenames containing the character.Jeff Forcier
Bug reported here: http://vlists.pepperfish.net/pipermail/obnam-flarn.net/2013-May/000767.html Antoine Brenner Backported to 1.11 by @bitprophet Conflicts: paramiko/sftp_client.py sites/www/changelog.rst tests/test_sftp.py
2014-04-14Merge branch 'master' into use-urandomAlex Gaynor
Conflicts: paramiko/dsskey.py paramiko/ecdsakey.py paramiko/hostkeys.py paramiko/kex_gex.py paramiko/kex_group1.py paramiko/pkey.py paramiko/primes.py paramiko/rsakey.py tests/test_pkey.py
2014-03-29Switch from using PyCrypto's Random to using os.urandom.Alex Gaynor
There's several reasons for this change: 1) It's faster for reads up to 1024 bytes (nearly 10x faster for 16 byte reads) 2) It receives considerably more security review since it's in the kernel. 3) It's yet another step towards running on PyPy. 4) Using userspace CSPRNGs is considered something of an anti-pattern. See: http://sockpuppet.org/blog/2014/02/25/safely-generate-random-numbers/ http://webcache.googleusercontent.com/search?q=cache:2nTvpCgKZXIJ:www.2uo.de/myths-about-urandom/+&cd=3&hl=en&ct=clnk&gl=us
2014-03-29Switched hash functions from PyCrypto to hashlib.Alex Gaynor
There's a few advantages to this: 1) It's probably fast, OpenSSL, which typically backs hashlib, receives far more attention for optimizaitons than PyCrypto. 2) It's the first step to supporting PyPy, where PyCrypto doesn't run.
2014-03-26Merge branch 'master' into gssapi-py3-supportSebastian Deiss
Conflicts: .gitignore README demos/demo_simple.py dev-requirements.txt paramiko/__init__.py paramiko/_winapi.py paramiko/agent.py paramiko/auth_handler.py paramiko/ber.py paramiko/buffered_pipe.py paramiko/channel.py paramiko/client.py paramiko/common.py paramiko/dsskey.py paramiko/ecdsakey.py paramiko/file.py paramiko/hostkeys.py paramiko/kex_gex.py paramiko/kex_group1.py paramiko/message.py paramiko/packet.py paramiko/pkey.py paramiko/primes.py paramiko/proxy.py paramiko/py3compat.py paramiko/server.py paramiko/sftp_client.py paramiko/transport.py paramiko/util.py paramiko/win_pageant.py setup.py sites/shared_conf.py sites/www/changelog.rst sites/www/conf.py sites/www/index.rst sites/www/installing.rst test.py tests/loop.py tests/stub_sftp.py tests/test_auth.py tests/test_client.py tests/test_file.py tests/test_hostkeys.py tests/test_kex.py tests/test_message.py tests/test_packetizer.py tests/test_pkey.py tests/test_sftp.py tests/test_sftp_big.py tests/test_transport.py tests/test_util.py
2014-03-07Fix import * and a bunch of PEP8 formattingScott Maxwell
2014-03-07Start in on star import eradicationJeff Forcier