| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
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.
|
|
|
|
| |
They moved from Temple Place to Franklin Street in 2005.
|
|
|
|
|
|
| |
Includes a handful of refactors and new semiprivate
attributes on Transport and AuthHandler for better
test visibility.
|
|\ |
|
| | |
|
| | |
|
|\ \
| |/ |
|
| |
| |
| |
| | |
At least, insofar as the new tests pass...!
|
| |
| |
| |
| | |
also sorted py3compat.__all__
|
|/
|
|
|
|
| |
Cannot really get RID of asbytes() though, but that's fine.
Also tweak flow & comments for clarity
|
| |
|
|
|
|
| |
Thanks to bitprophet and ploxiln.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|\
| |
| |
| |
| |
| |
| | |
Conflicts:
paramiko/client.py
paramiko/transport.py
sites/www/changelog.rst
|
| |
| |
| |
| |
| |
| | |
Centralise them to the common module to avoid import cycles.
Also add constants for default values and use them in the
transport class.
|
|\ \
| |/
| |
| |
| |
| | |
Conflicts:
sites/www/changelog.rst
test.py
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| | |
|
|\ \
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Conflicts:
.gitignore
README
demos/demo_simple.py
dev-requirements.txt
paramiko/__init__.py
paramiko/_winapi.py
paramiko/agent.py
paramiko/auth_handler.py
paramiko/ber.py
paramiko/buffered_pipe.py
paramiko/channel.py
paramiko/client.py
paramiko/common.py
paramiko/dsskey.py
paramiko/ecdsakey.py
paramiko/file.py
paramiko/hostkeys.py
paramiko/kex_gex.py
paramiko/kex_group1.py
paramiko/message.py
paramiko/packet.py
paramiko/pkey.py
paramiko/primes.py
paramiko/proxy.py
paramiko/py3compat.py
paramiko/server.py
paramiko/sftp_client.py
paramiko/transport.py
paramiko/util.py
paramiko/win_pageant.py
setup.py
sites/shared_conf.py
sites/www/changelog.rst
sites/www/conf.py
sites/www/index.rst
sites/www/installing.rst
test.py
tests/loop.py
tests/stub_sftp.py
tests/test_auth.py
tests/test_client.py
tests/test_file.py
tests/test_hostkeys.py
tests/test_kex.py
tests/test_message.py
tests/test_packetizer.py
tests/test_pkey.py
tests/test_sftp.py
tests/test_sftp_big.py
tests/test_transport.py
tests/test_util.py
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
authentication with Python 3 support
Add Python 3 support for the GSS-API / SSPI authenticated Diffie-Hellman
Key Exchange and user authentication. This patch supersedes pull request
#250.
|
|/
|
| |
SebastianDeiss:gssapi-py3-support
|
|
|
|
|
| |
Conflicts:
paramiko/proxy.py
|
|
|
|
|
|
|
|
|
| |
Without this, use of agent forwarding causes
high CPU usage on some clients.
(cherry picked from commit 3030589aaafdba0a3b14183e0d03488580d21bf5)
Conflicts:
paramiko/agent.py
|
| |
|
| |
|
|
|
|
| |
merge dwayne litzenberger's fixes for randpool on windows.
|
|
|
|
|
| |
patch from dwayne litzenberger to fix the PRNG to be more resilient when
using windows, and some forking/threading environments.
|
|
|
|
| |
merge tab fix
|
|
|
|
| |
bump copyright year to 2007
|
|
|
|
| |
heh, this import will always fail unless we have 'os' handy
|
|
|
|
| |
update copyright year
|
|
|
|
| |
add more logging to sftp client
|
|
|
|
| |
fix a few windows bugs (and broken str() on SFTPAttributes) reported by grzegorz makarewicz
|
|
|
|
| |
remove unnecessary shebangs, fix import lines to be explicit about imports from within paramiko, and a bit of whitespace cleanup
|
|
|
|
| |
add auth_none and auth_interactive to support 'no auth' and 'keyboard-interactive auth'; for password auth, add a mode where it will try to fallback to keyboard-interactive in a pinch
|
|
|
|
| |
smooth BaseTransport and Transport together, and move the auth stuff into AuthHandler -- an improvement i made in jaramiko and decided deserved to be backported
|