Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | blacken | Jeff Forcier | 2023-01-18 | 1 | -1/+1 |
| | |||||
* | Merge branch '2165-int' into 3.0 | Jeff Forcier | 2023-01-16 | 1 | -1/+1 |
|\ | |||||
| * | Improve performance by reducing expensive bytes conversion | Alex Gaynor | 2023-01-10 | 1 | -1/+1 |
| | | | | | | | | | | | | In two core parts of the codebase, complex type-switch based code is used to convert a value to bytes. However, in all cases (except for one, fixed in this PR), the caller is specifying a Message instance. We can make this code much simpler by directly calling the correct method on Message. In #2110 this is measured to massively speed up large SFTP transfers. | ||||
* | | Nuke retry_on_signal, pointless on modern Py3 | Jeff Forcier | 2023-01-16 | 1 | -11/+0 |
| | | | | | | | | | | Additionally, other bits of code that retry EINTR can similarly just go away. | ||||
* | | No more (object)ions | Jeff Forcier | 2023-01-16 | 1 | -1/+1 |
|/ | |||||
* | Move b, u helpers to util module for now | Jeff Forcier | 2023-01-09 | 1 | -2/+1 |
| | | | | Later on we can likely nuke many uses of these | ||||
* | Migrate some byte related helpers around | Jeff Forcier | 2023-01-09 | 1 | -2/+3 |
| | | | | | 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. | ||||
* | Fix Free Software Foundation address | Paul Howarth | 2022-03-15 | 1 | -1/+1 |
| | | | | They moved from Temple Place to Franklin Street in 2005. | ||||
* | Tighten up some logic/flow in the new ETM packet code | Jeff Forcier | 2019-06-09 | 1 | -23/+12 |
| | |||||
* | Merge branch 'master' into 1233-int | Jeff Forcier | 2019-06-09 | 1 | -0/+1 |
|\ | |||||
| * | Bump black up to 18.6b4 | Jeff Forcier | 2018-08-22 | 1 | -0/+1 |
| | | |||||
* | | Make black - py36 happy. | Edgar Sousa | 2018-06-12 | 1 | -1/+1 |
| | | |||||
* | | Make black - py36 happy. | edgsousa | 2018-06-12 | 1 | -9/+19 |
| | | |||||
* | | flake8 warnings | edgsousa | 2018-06-12 | 1 | -14/+21 |
| | | | | | | | | Change order of preference of -etm hmac algos (fixes test_transport zlib) | ||||
* | | Add hmac-sha2-256-etm@openssh.com and hmac-sha2-512-etm@openssh.com support | edgsousa | 2018-06-12 | 1 | -17/+60 |
|/ | |||||
* | Blacken under black 18.5b0 | Jeff Forcier | 2018-05-29 | 1 | -26/+19 |
| | |||||
* | Blacken Paramiko on 2.4 | Chris Rose | 2018-05-17 | 1 | -47/+74 |
| | |||||
* | Fix some oopses from previous changes | Jeff Forcier | 2017-10-13 | 1 | -2/+2 |
| | |||||
* | flake8 for previous changeset | Jeff Forcier | 2017-10-11 | 1 | -4/+8 |
| | |||||
* | String format modernization, part 11070-remove-python26-and-33 | Jeff Forcier | 2017-10-10 | 1 | -9/+14 |
| | | | | | | | Choosing to skip it in some edge/corner cases where it's more harmful than helpful. Also choosing to replace many non-%s specifiers with regular old {} since I don't see why one would normally care. Again, eschewing that in spots where it seems like it might matter. | ||||
* | Move to 'inv sites' style doc nitpicking. | Jeff Forcier | 2017-06-05 | 1 | -4/+8 |
| | | | | | | | Existing just-warnings setup was old and not as rigorous as my usual. Required a lot of stupid little changes, but now same tooling for all projects, toot toot. | ||||
* | Even moar parentheses over backslashes | Jeff Forcier | 2017-05-31 | 1 | -6/+10 |
| | |||||
* | Seriously, folks? Refactor some silly crap. | Jeff Forcier | 2017-05-31 | 1 | -10/+14 |
| | |||||
* | Additional house style formatting tweaks, mostly re: removal of line ↵ | Jeff Forcier | 2017-05-31 | 1 | -2/+4 |
| | | | | continuations | ||||
* | Even more flake8. | Dorian Pula | 2017-05-31 | 1 | -31/+63 |
| | |||||
* | Merge branch '1.17' into 2.0 | Jeff Forcier | 2016-06-11 | 1 | -0/+4 |
|\ | |||||
| * | Experimental fix re #520 | Jeff Forcier | 2016-06-11 | 1 | -0/+4 |
| | | |||||
* | | Merge branch 'master' into switch-to-cryptography | Alex Gaynor | 2015-12-16 | 1 | -3/+4 |
|\ \ | |/ | |||||
| * | Merge branch '1.15' into 1.16 | Jeff Forcier | 2015-12-06 | 1 | -3/+4 |
| |\ | |||||
| | * | Docstring reformat | Jeff Forcier | 2015-11-06 | 1 | -3/+4 |
| | | | |||||
* | | | Merge branch 'master' into switch-to-cryptography | Alex Gaynor | 2015-11-04 | 1 | -1/+47 |
|\ \ \ | |/ / | | | | | | | | | | | | | | | | Conflicts: .travis.yml paramiko/ecdsakey.py paramiko/transport.py | ||||
| * | | Formatting | Jeff Forcier | 2015-11-01 | 1 | -1/+2 |
| |/ | |||||
| * | Add support for signaling a handshake process in packetizer. | Olle Lundberg | 2015-02-24 | 1 | -0/+45 |
| | | | | | | | | | | This makes it possible to raise an EOFError if the handshake process has started but takes too long time to finish. | ||||
* | | Switched everything to use cryptography | Alex Gaynor | 2014-09-15 | 1 | -3/+3 |
|/ | |||||
* | Let packetizer handle 0-length sends from channel. | Olle Lundberg | 2014-08-15 | 1 | -0/+10 |
| | | | | | | | | | If the channel is closed the send method returs a response length of 0. This is not handled correctly by the packetizer and puts it in an infinite loop. (Fixes #156 for real :-) We make sure we don't do more than 10 iteration on a 0 length respose, but raise an EOFError. | ||||
* | Merge branch 'master' into use-urandom | Alex Gaynor | 2014-04-14 | 1 | -7/+2 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | 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 | ||||
| * | Switched hash functions from PyCrypto to hashlib. | Alex Gaynor | 2014-03-29 | 1 | -7/+2 |
| | | | | | | | | | | | | | | | | 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. | ||||
* | | Switch from using PyCrypto's Random to using os.urandom. | Alex Gaynor | 2014-03-29 | 1 | -2/+3 |
|/ | | | | | | | | | | | 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 | ||||
* | Fix import * and a bunch of PEP8 formatting | Scott Maxwell | 2014-03-07 | 1 | -54/+18 |
| | |||||
* | Merge remote-tracking branch 'scottkmaxwell/py3-support-without-py25' into ↵ | Jeff Forcier | 2014-03-05 | 1 | -20/+22 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | python3 Conflicts: dev-requirements.txt paramiko/__init__.py paramiko/file.py paramiko/hostkeys.py paramiko/message.py paramiko/proxy.py paramiko/server.py paramiko/transport.py paramiko/util.py paramiko/win_pageant.py setup.py | ||||
| * | Change all exceptions to modern format (not Py2.5 compatible) | Scott Maxwell | 2013-11-19 | 1 | -6/+3 |
| | | |||||
| * | Make sftp.open handle binary and text, more type conversion | Scott Maxwell | 2013-11-02 | 1 | -3/+3 |
| | | |||||
| * | Changes inspired by the nischu7 branch | Scott Maxwell | 2013-11-01 | 1 | -2/+3 |
| | | |||||
| * | Fix bytes/str type in more places | Scott Maxwell | 2013-10-31 | 1 | -2/+2 |
| | | |||||
| * | Convert and detect types properly, use helper constants, use StringIO and range | Scott Maxwell | 2013-10-30 | 1 | -15/+16 |
| | | |||||
| * | Fix dict iters, sorts, exceptions, bytes renames and tuple args | Scott Maxwell | 2013-10-30 | 1 | -3/+6 |
| | | |||||
* | | Merge branch '1.10' into 1.11 | Jeff Forcier | 2014-03-03 | 1 | -14/+11 |
|\ \ | | | | | | | | | | | | | | | | Conflicts: fabfile.py paramiko/__init__.py | ||||
| * | | Bunch more info fields | Jeff Forcier | 2014-02-26 | 1 | -8/+5 |
| | | | |||||
| * | | s/python/Python/, c'mon son! | Jeff Forcier | 2014-02-21 | 1 | -1/+1 |
| | | | |||||
| * | | Docstring tweak | Jeff Forcier | 2014-02-21 | 1 | -1/+1 |
| | | |