summaryrefslogtreecommitdiffhomepage
path: root/tests/test_transport.py
AgeCommit message (Collapse)Author
2023-01-24[DATALAD RUNCMD] Run codespell -wYaroslav Halchenko
=== Do not change lines below === { "chain": [], "cmd": "codespell -w", "exit": 0, "extra_inputs": [], "inputs": [], "outputs": [], "pwd": "." } ^^^ Do not change lines above ^^^
2023-01-16well that's just super()!Jeff Forcier
2023-01-12We live in the future nowJeff Forcier
2023-01-11blackenJeff Forcier
2023-01-09s/mock/unittest.mock/gJeff Forcier
2023-01-09py3compat.bytes -> builtin or literal dependingJeff Forcier
2023-01-09Migrate some byte related helpers aroundJeff Forcier
I feel like we should be able to just nuke byte_chr and friends at this point, but it's not entirely obvious, so let's rock that boat later.
2022-04-26replace blowfish with different cipher in testMike Roest
2022-04-26Remove blowfish from transport ciphersMike Roest
2022-04-25Merge branch '2.10'Jeff Forcier
2022-04-25Merge branch '2.9' into 2.10Jeff Forcier
2022-04-25threading related deprecation fixes for python 3.10Narendra-Neerukonda
2022-04-25Merge branch '2.10'Jeff Forcier
2022-04-22Add -cert-v01@openssh.com variants to accepted host key algorithmsJeff Forcier
Solves #2035
2022-03-25Refactor sha1 test skipping a tadJeff Forcier
2022-03-21blackenPaul Howarth
2022-03-20Skip tests requiring sha1 signing if the backend doesn't support thatPaul Howarth
Red Hat Enterprise Linux 9 will have SHA-1 signatures disabled by default. It is likely that SHA-1 signatures will disappear elsewhere over time too. This change detects if sha1 signatures are not supported by the backend and skips tests that rely on that functionality. This is a workaround for #2004. It would be good to reduce the reliance of the test suite on sha1 signatures except in the cases where that is explicitly being tested, and the markers added here give a decent starting point for seeing where to change things.
2022-03-15Fix Free Software Foundation addressPaul Howarth
They moved from Temple Place to Franklin Street in 2005.
2021-12-24Changelog and test re #1955Jeff Forcier
2021-12-23Add support for RSA SHA2 host and public keysJeff Forcier
Includes a handful of refactors and new semiprivate attributes on Transport and AuthHandler for better test visibility.
2021-12-09Weird typos introduced 2 years ago, bahJeff Forcier
Test currently passes on my workstation tho
2019-06-21Extend new algorithm disabling to compressionsJeff Forcier
2019-06-21Spot check use of new algorithm propertiesJeff Forcier
2019-06-21Rename to disableD_algorithms everywhere for consistencyJeff Forcier
Having it feel verb-y isn't that much better than the alternative, and consistency is a nice hobgoblin
2019-06-21Basic impl of algorithm filteringJeff Forcier
Not actually leveraged anywhere yet
2019-06-08flake8 now applied to tests, huzzahJeff Forcier
2019-06-08Clean up shitty old test names of form test_[9-0A-Z]+_.*Jeff Forcier
2018-09-18Fix and changelog re #1283Jeff Forcier
2018-09-18Fix a pseudo-bug re: responding to MSG_UNIMPLEMENTED w/ itselfJeff Forcier
2018-09-17Blacken 2.0 with black 18.6b4Jeff Forcier
2018-09-17Mark known slow tests as 'slow' pytest marker, and skip them by defaultJeff Forcier
2018-09-17Import cleanup, mostly focused on s/tests/./Jeff Forcier
2018-09-17Rename util func that trips pytest's default discovery.Jeff Forcier
Wouldn't matter as much under pytest-relaxed discovery, but, eh
2018-03-12Initial tests proving CVE-2018-7750 / #1175Jeff Forcier
2018-03-12Allow overriding test client connect kwargs in Transport test suiteJeff Forcier
2017-06-09Allow any buffer type to be sent to ChannelMartin Packman
Fixes #968 Changes the behaviour of the underlying asbytes helper to pass along unknown types. Most callers already handle this by passing the bytes along to a file or socket-like object which will raise TypeError anyway. Adds test coverage through the Transport implementation. Change against the 1.17 branch.
2017-06-05test transport security options can be set to defaultsPierce Lopez
ensures all defaults key/cipher/digest etc types are supported
2017-05-31Additional house style formatting tweaks, mostly re: removal of line ↵Jeff Forcier
continuations
2016-06-09Issue #537 reproduction test and fixKrzysztof Rusek
2016-04-22Merge branch '1.15' into 1.16Jeff Forcier
2016-04-22Hack in a sleep() to avoid race conditions during timeout test.Jeff Forcier
(HOPEFULLY) closes #612
2015-11-03Merge branch 'master' into 502-intJeff Forcier
2015-10-30Merge branch 'master' into 596-intJeff Forcier
2015-03-20Commit 838e02ab42 changed the type of the exec command string on python3Anselm Kruis
from unicode to bytes. This commit adapts the test suite accordingly.
2015-03-20According to RFC 4254 sec 6.5 the "command" string of an "exec" channelAnselm Kruis
request is a byte-string. Previously paramiko assumed "command" to be UTF-8 encoded. Invalid UTF-8 sequences caused an UnicodeDecodeError. This commit changes a test case to uses a non UTF-8 string and fixes the bug.
2015-02-24Expose handshake timeout in the transport API.Olle Lundberg
This is a reimplementation of #62.
2014-12-17Suggest a MIN_WINDOW_SIZE and MIN_PACKET_SIZEJeff Quast
Not fully confident with this change, though I will describe my findings fully in the pull request. The OpenSSH client requests a maximum packet size of 16384, but this MIN_PACKET_SIZE value of 32768 causes its request to be "clamped" up to 32768, later causing an error to stderr on the OpenSSH client. Suggest then, to delineate MIN_WINDOW_SIZE from MIN_PACKET_SIZE, as they are applied. I don't think there is any minimum value of MIN_PACKET_SIZE, however we can suggest a value of 4096 for now.
2014-12-17Use modern api to check if event is set.Olle Lundberg
Since we are a python2.6+ code base now, we want to be as forward compatible as possible.
2014-11-25Merge upstream branch 'master' into add_sha2_supportMatthias Witte
Conflicts: paramiko/transport.py tests/test_transport.py
2014-09-10Merge branch 'master' into 216-intJeff Forcier
Conflicts: paramiko/transport.py paramiko/util.py tests/test_client.py