summaryrefslogtreecommitdiffhomepage
path: root/tests
AgeCommit message (Collapse)Author
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-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-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
2013-10-31More type conversionScott Maxwell
2013-10-31More type fixupsScott Maxwell
2013-10-31Setup so we can run test_sftp_big independentlyScott Maxwell
2013-10-31Fix bytes/str type in more placesScott Maxwell
2013-10-30Convert and detect types properly, use helper constants, use StringIO and rangeScott Maxwell
2013-10-30Fix message sendingScott Maxwell
Create constants for byte messages, implement asbytes so many methods can take Message and key objects directly and split get_string into get_text and get_binary. Also, change int handling to use mpint with a flag whenever the int is greater than 32 bits.
2013-10-30Fix dict iters, sorts, exceptions, bytes renames and tuple argsScott Maxwell
2013-10-30Use test_path to avoid relative path issuesScott Maxwell
2013-10-30Fix importsScott Maxwell
2013-10-30Add Py3.2 and Py3.3 to travisScott Maxwell
2013-09-27Merge branch '1.11'Jeff Forcier
2013-09-27Merge branch '1.9' into 1.10Jeff Forcier
2013-09-27Merge branch '1.8' into 1.9Jeff Forcier
2013-09-27Fixed a typo in the license header of most filesJeff Forcier
Conflicts: paramiko/proxy.py
2013-09-27Merge branch '152-int' into 152-real-intJeff Forcier
Conflicts: paramiko/hostkeys.py requirements.txt
2013-09-27Fix #179 - missing host variable in fqdn evaluationJeff Forcier
2013-03-25Introduce ECDSAEthan Glasser-Camp
This just adds tests; hooking this up with paramiko comes in the next commit.
2013-03-04Adding test capturing desired behavior and demonstrating issue #142.Jason R. Coombs
2013-03-04Delint test_sftp (remove unused imports and unused variables, remove excess ↵Jason R. Coombs
whitespace, move imports to top, remove semicolon terminator) --HG-- extra : source : 01df712a396de5fa7e1c0cc265411fdb2bbc5f41
2013-02-28Fix broken test.Olle Lundberg