summaryrefslogtreecommitdiffhomepage
path: root/tests/test_kex.py
AgeCommit message (Collapse)Author
2017-05-04refactor filesShashank Veerapaneni
2017-05-01Unit testsShashank Veerapaneni
2014-07-16Include sha2 changes in testsMatthias Witte
- let _compute_key default default to sha1 if local_mac is not set instead of setting local_mac explicitly in the unit test - add tests for KexGexSHA256
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-07Fix import * and a bunch of PEP8 formattingScott Maxwell
2014-03-07Start in on star import eradicationJeff Forcier
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-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 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 importsScott Maxwell
2013-09-27Fixed a typo in the license header of most filesJeff Forcier
Conflicts: paramiko/proxy.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
2007-10-28[project @ robey@lag.net-20071029030520-ozmne7y4l6037m8h]Robey Pointer
bug discovered while porting to jaramiko: old-style gex wasn't creating the proper hash. fixed.
2007-02-13[project @ robey@lag.net-20070213191706-v8djxd4jiunb3his]Robey Pointer
bump copyright year to 2007
2006-08-01[project @ robey@lag.net-20060801182143-088ff687e0945937]Robey Pointer
use hexlify in tests
2006-07-23[project @ robey@lag.net-20060723235649-5f757e44908ffb31]Robey Pointer
attempt to implement support for kex-gex 'old' packet type, which is apparently used by putty (this would only affect paramiko in server mode)
2005-07-07[project @ Arch-1:robey@lag.net--2005-master-shake%paramiko--dev--1--patch-25]Robey Pointer
cool optimization from john rochester: use cStringIO in Message (and also fix some unit test bugs revealed by the change)
2005-05-21[project @ Arch-1:robey@lag.net--2005-master-shake%paramiko--dev--1--patch-10]Robey Pointer
fix stupid bug in kex_group1 which luckily only affected unit tests
2005-02-28[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-154]Robey Pointer
even better 1.2 lapras re-bump the version # to 1.2 (with a new date since i added more stuff). add 2005 to the copyright date in a bunch of files.
2004-11-07[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-102]Robey Pointer
add key exchange tests + 1 more sftp test add test suite for key-exchange protocols, since i apparently broke the "gex" protocol recently and never noticed. also add an sftp unit test for mkdir/rmdir.