Age | Commit message (Collapse) | Author |
|
|
|
Fixes #617.
|
|
Conflicts:
paramiko/client.py
paramiko/transport.py
sites/www/changelog.rst
|
|
Instead of using private methods on the threading class, let the
thread join, but with a low timeout.
|
|
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
|
|
(cherry picked from commit d516fe71ea1d8bdb7b2e278fa519f7f860d7e234)
|
|
(cherry picked from commit 734f3d6f42ef1564f473fee5526e0354fc8196fc)
Conflicts:
test.py
|
|
|
|
split auth tests into their own file, and clean up the remaining transport
tests a bit (use existing refactoring).
|
|
bump copyright year to 2007
|
|
an errant slash was making unit tests unrunnable on windows
|
|
use python from env for unit tests
|
|
clean up test.py a bit and allow filtering from the command line
|
|
add unit tests for SSHClient, and fix a few bugs that uncovered
|
|
oops, don't forget BufferedPipe unit tests
|
|
move sftp big-file tests into a separate class and add one that does a prefetch, then seeks in random order
|
|
add HostKeys, a helper for reading/parsing openssh known_hosts files, including hashed-host support
|
|
experimental util functions for parsing/getting openssh host config, and unit tests (turned out to be pretty easy)
|
|
turn down output for unit tests by default, but add --verbose option to manually crank them back up
|
|
add unit tests for the packetizer, and fix a little locking bug where i think more of the packetizer write function should be inside a lock
|
|
split out Packetizer, fix banner detection bug, new unit test
split out a chunk of BaseTransport into a Packetizer class, which handles
the in/out packet data, ciphers, etc. it didn't make the code any smaller
(transport.py is still close to 1500 lines, which is awful) but it did split
out a coherent chunk of functionality into a discrete unit.
in the process, fixed a bug that alain spineux pointed out: the banner
check was too forgiving and would block forever waiting for an SSH banner.
now it waits 5 seconds for the first line, and 2 seconds for each subsequent
line, before giving up.
added a unit test to test keepalive, since i wasn't sure that was still
working after pulling out Packetizer.
|
|
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.
|
|
make loopback sftp tests the default
change the unit tests to default to always running the sftp tests locally,
and make a -R option to force the tests to run against a remote server.
the tests seem to work fine locally, and it helps test out server mode,
even though there's a danger that they could get isolated from reality
and only test that paramiko can talk to itself.
|
|
loopback sftp test
add ability to turn off more tests, and a secret (for now) -X option to do
the sftp tests via loopback socket. added another symlink sftp test to see
what happens with absolute symlinks.
|
|
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.
|
|
start testing Transport
the beginnings of tests for Transport. only the bare minimum is there right
now.
also started doc'ing things up to ivysaur.
|
|
fix test.py to use options instead of env vars, sftp tests default off
fix up the test framework so that the sftp unit tests aren't always run (you
have to ask for them explicitly) and they take their configuration from
command-line options. they still require a remote server.
|
|
no more Foobar
fix "Foobar" to be "Paramiko" in the one place i missed it in all the gpl
headers. sigh. :)
|
|
add unit tests
add unit tests for BufferedFile and SFTP (it's a start). remove the demo sftp
client because it was 99% copied from the other demos, which makes it kinda
confusing. the unit tests are a much better example.
|