summaryrefslogtreecommitdiffhomepage
path: root/tests/test_util.py
AgeCommit message (Collapse)Author
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-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
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-19Use 'with' for opening most file and SFTPFIle objectsScott Maxwell
2013-11-02Fix some deprecation and resource warningsScott 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 dict iters, sorts, exceptions, bytes renames and tuple argsScott Maxwell
2013-10-30Fix importsScott Maxwell
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-27Fix #179 - missing host variable in fqdn evaluationJeff Forcier
2013-02-28Fix broken test.Olle Lundberg
2013-02-28Add tests for identityfile parsing.Olle Lundberg
2013-02-28Whitespace fixes.Olle Lundberg
2013-02-28Add tests for proxycommand parsing.Olle Lundberg
2013-02-28Add test for host negation.Olle Lundberg
2013-02-28Updated tests for new ssh config format.Olle Lundberg
2012-11-05Implement (& test for) ProxyCommand interpolation.Jeff Forcier
Forgot this earlier.
2012-11-05Add failing test(s) re ProxyCommand config parsingJeff Forcier
2012-10-15Refactoring: it's a thing. Re #85Jeff Forcier
2012-09-25Fix module import in testsJeff Forcier
2012-09-24Handle/fix handling of EINTR errors in a few places.Douglas Turk
(cherry picked from commit 351bdb72e539c373985e108c89f61839f3acdd2a) Conflicts: paramiko/agent.py paramiko/client.py paramiko/transport.py
2012-09-23Fix #33 - parse config as described by manpageJan Brauer
(cherry picked from commit 011805eae07ee7be6140b95f6d8669763c55b3d9)
2012-09-23Fix broken testsJeff Forcier
(cherry picked from commit 00e1072ee5abbc92b5df57e10cadb638d583d971) Conflicts: tests/test_util.py
2010-08-03Use Crypto.Random rather than Crypto.Util.RandomPool.Gary van der Merwe
2009-07-19fix my email address to be the current one.Robey Pointer
2008-02-19[project @ robey@lag.net-20080220060030-jih2gfguzp6jbwog]Robey Pointer
verify WarningPolicy is exported
2008-02-17[project @ robey@lag.net-20080218051229-xtylb1poe246k2ci]Robey Pointer
merge patch from Dwayne Litzenberger to fix unit tests on python 2.3.
2008-02-17[project @ robey@lag.net-20080218024139-i2t8y0f0dd93xjo1]Robey Pointer
bug 189466: fix typo in osrandom.py (from patch in bug report) and add a friggin' unit test.
2007-02-13[project @ robey@lag.net-20070213191706-v8djxd4jiunb3his]Robey Pointer
bump copyright year to 2007
2006-08-13[project @ robey@lag.net-20060813195045-ca4148e233794d4b]Robey Pointer
add a unit test to verify that all the paramiko symbols are exported correctly
2006-08-01[project @ robey@lag.net-20060801182143-088ff687e0945937]Robey Pointer
use hexlify in tests
2006-05-07[project @ robey@lag.net-20060508005224-a8a04cd59f9fa016]Robey Pointer
pulled out openssh config parsing into its own class
2006-02-19[project @ robey@lag.net-20060220003513-aa54e3e771a530fd]Robey Pointer
add HostKeys, a helper for reading/parsing openssh known_hosts files, including hashed-host support
2005-12-04[project @ robey@lag.net-20051204090414-7c8318ab735f6188]Robey Pointer
experimental util functions for parsing/getting openssh host config, and unit tests (turned out to be pretty easy)