summaryrefslogtreecommitdiffhomepage
path: root/tests
AgeCommit message (Collapse)Author
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
2014-03-07Skip failing test on Py3Jeff Forcier
2014-02-11GSS-API / SSPI authenticated Diffie-Hellman Key Exchange and userSebastian Deiss
authentication with Python 3 support Add Python 3 support for the GSS-API / SSPI authenticated Diffie-Hellman Key Exchange and user authentication. This patch supersedes pull request #250.
2014-02-11Merge branch scottkmaxwell:py3-support-without-py25 intoSebastian Deiss
SebastianDeiss:gssapi-py3-support
2014-01-16Fix new test for Py3 and start server in tests instead of in setUp so we can ↵Scott Maxwell
skip starting server for test 5
2014-01-16Merge remote-tracking branch 'master/master' into py3-support-without-py25Scott Maxwell
Conflicts: paramiko/__init__.py setup.py tests/test_client.py
2014-01-16Add getcwd testScott Maxwell
2014-01-08Merge branch '1.11' into 1.12Jeff Forcier
Conflicts: NEWS
2014-01-08Saner (to me) positive assertionJeff Forcier
2014-01-08Small refactorJeff Forcier
2014-01-08No need for 'self.tc' within a single test :)Jeff Forcier
2014-01-08Add a testcase for client.save_host_keys.Martin Blumenstingl
2013-11-19Remove byte conversions and unhexlify calls that we only needed for Py2.5 ↵Scott Maxwell
support and use the `b` byte string marker instead
2013-11-19Remove `from __future__ import with_statement`Scott Maxwell
2013-11-19Remove unnecessary vars for openScott Maxwell
2013-11-19Use 'with' for opening most file and SFTPFIle objectsScott Maxwell
2013-11-19Remove eval that was required for Py25 supportScott Maxwell
2013-11-19Change all exceptions to modern format (not Py2.5 compatible)Scott Maxwell
2013-11-19Change conditional from PY3 to PY2 to be better prepared for a possible Py4.Scott Maxwell
2013-11-02Fix message to handle long properly, even on Py3Scott Maxwell
2013-11-02Fix some deprecation and resource warningsScott Maxwell
2013-11-02Make sftp.open handle binary and text, more type conversionScott Maxwell
2013-11-01Changes inspired by the nischu7 branchScott Maxwell
2013-11-01Have to use u'' format in test_sftp so this test won't run on Py3.2 unless ↵Scott Maxwell
we find a solution
2013-11-01Fixes for Python 2.5 and Python 3.2 supportScott Maxwell
2013-11-01Eliminate all uses of b'' syntax to allow for Python 2.5 supportScott Maxwell
2013-10-31More type fixesScott Maxwell
2013-10-31Fixes for test_sftpScott Maxwell