summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2005-02-06[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-143]Robey Pointer
fix an sftp unit test fix one of the sftp unit tests to actually work.
2005-02-05[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-142]Robey Pointer
fix windows sample script's HOME fix the HOME environ var to work on windows too.
2005-01-25[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-141]Robey Pointer
misc logging fixes change the level of some log messages so interesting stuff gets logged at info instead of debug. fix an oops where channels defaulted to being in ultra debug mode, and make this mode depend on a new Transport method: "set_hexdump".
2005-01-17[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-140]Robey Pointer
more flexible logging some tweaks to make channels etc follow the logger setting of their parent transport, so that setting the log channel for a paramiko transport will cause all sub-logging to branch out from that channel. also, close all open file handles when the sftp server ends.
2005-01-16[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-139]Robey Pointer
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.
2005-01-16[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-138]Robey Pointer
doc fixups little doc fixups that i did obsessively on the train one morning.
2005-01-09[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-137]Robey Pointer
added listdir_attr() add SFTPClient.listdir_attr() to fetch a list of files & their attributes, instead of just their filenames. artur piwko would find this useful.
2004-12-19[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-136]Robey Pointer
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.
2004-12-19[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-135]Robey Pointer
more sftp cleanup oops, this should've been part of the last patch.
2004-12-19[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-134]Robey Pointer
cleanup & docs in sftp add some more docs to SFTPHandle, and give a default implementation for close() that's usually right. add a flush() to the default implementation of write(). document that symlink's args in the sftp protocol are out of order (the spec is wrong).
2004-12-13[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-133]Robey Pointer
unit test madness add some more testy bits and fix up some other bits.
2004-12-13[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-132]Robey Pointer
oops (continued) er, part 2 of that.
2004-12-13[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-131]Robey Pointer
move check_global_request move check_global_request into the server interface -- i missed it during the initial move (oops).
2004-12-13[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-130]Robey Pointer
small fixups move _wait_for_send_window into the right place in Channel. remove outdated note from auth_transport. fix download url in setup.py.
2004-12-12[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-129]Robey Pointer
1.1 (kabuto) edit various files to bump the version to 1.1. also fix to point to the new url.
2004-12-12[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-128]Robey Pointer
more unit tests added unit tests for multi-part auth, exec_command, and invoke_shell.
2004-12-12[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-127]Robey Pointer
doc fixups fix some typos in sftp_client docs
2004-12-12[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-126]Robey Pointer
server support for stderr & exec_command for the server side of my stderr blunder, add send_stderr & sendall_stderr, and make the sending side of makefile_stderr work correctly. also, call check_channel_exec_request on a server object for exec requests on a channel.
2004-12-12[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-125]Robey Pointer
add client-side multi-part auth support added support for multi-part authentication (even though nobody supports it that i've seen). on a successful "partial" auth, the auth_* method will return a list of acceptable means to continue authenticating.
2004-12-11[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-124]Robey Pointer
docs fixup fix a comment typo, and add @since designators to a couple of new methods.
2004-12-11[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-123]Robey Pointer
clean up authentication add new exception "BadAuthenticationType", which is raised when auth fails because your auth type (password or public-key) isn't valid on the server. used this as an excuse to clean up auth_password and auth_publickey so their 'event' arg is optional, and if missing, they block until auth is finished, raising an exception on error. also, don't close the session on failed auth -- the server may let you try again. added some test cases for failed auth.
2004-12-10[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-122]Robey Pointer
symlink, readlink add support for symlink command, and finish support for readlink. (i guess i started readlink a while ago but forgot to add the right method to the SFTPServerInterface class.)
2004-12-10[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-121]Robey Pointer
other part of that last patch oops, forgot this part.
2004-12-10[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-120]Robey Pointer
add stderr support methods big embarrassment: i didn't read the ssh2 docs close enough, and all this time paramiko wasn't handling "extended_data" packets, which contain stderr output. so now, several new functions: recv_stderr_ready() and recv_stderr() to mirror recv_ready() and recv(), and set_combined_stderr() to force stderr to be combined into stdout. also, makefile_stderr() to create a fake file object to represent stderr.
2004-12-10[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-119]Robey Pointer
reformat README reformatted the README to a slightly smaller margin, just because.
2004-12-09[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-118]Robey Pointer
fix SFTPFile gettimeout/settimeout i don't think the gettimeout/settimeout calls on SFTPFile ever worked. also, simplify the implementation of _get_size() since it's nearly identical to stat().
2004-12-09[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-117]Robey Pointer
readme comments add another fixme to the readme
2004-11-26[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-116]Robey Pointer
doc fixups explain "recv_ready" better, and add debug descriptions for the kex codes.
2004-11-25[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-115]Robey Pointer
fix CONNECTION_FAILED_CODE oops, fix typo in channel request failed.
2004-11-22[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-114]Robey Pointer
fix typo in channel fix typo that alain found: pipd_wfd -> pipe_wfd.
2004-11-22[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-113]Robey Pointer
sftp server support! finally check in sftp_handle (file handle abstraction), sftp_si (server interface), and sftp_server (server implementation) -- all of which make a roughly 90% implementation of server-side sftp.
2004-11-22[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-112]Robey Pointer
add finish_subsystem() when a SubsystemHandler is being decomissioned (the client has closed the channel or transport, or the socket went away), make a callback to let the handler do any shutdown it needs to.
2004-11-22[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-111]Robey Pointer
fix extremely unlikely channel counter wrapping Transport's channel counter can overflow after 4 billion some channels are created. make it wrap back around after 16 million instead. also allow the logging channel to be set manually. fix some comments elsewhere.
2004-11-22[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-110]Robey Pointer
fix Transport.get_username() to work in server mode too whenever i split the 'username' field into username and auth_username, i guess that made get_username() stop working for server mode (because the username was stored in a different field). this should fix it.
2004-11-07[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-109]Robey Pointer
v1.0 (jigglypuff) bump all the version numbers up to 1.0 (jigglypuff).
2004-11-07[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-108]Robey Pointer
add filename to SFTPAttributes add filename to the attributes stored in an SFTPAttributes object.
2004-11-07[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-107]Robey Pointer
fix kex_gex fix kex_gex (group-exchange key exchange) to, *cough*, work again, and also layout kex_group1 a little more sanely.
2004-11-07[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-105]Robey Pointer
move ChangeLog move ChangeLog out of the way because tla can autogenerate any useful ChangeLog.
2004-11-07[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-104]Robey Pointer
fix location of SFTPError fix location of SFTPError.
2004-11-07[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-103]Robey Pointer
rename sftp constants replace oddly named sftp constants (FX_OK for example) with names that make a bit more sense when sober (SFTP_OK).
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.
2004-11-07[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-101]Robey Pointer
remove old demo keys the keys are in tests/ now.
2004-11-06[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-100]Robey Pointer
don't forget demo_windows.py update MANIFEST.in to include demo_windows.py and not include the demo keys (they're in tests/ now). clean up the README to explain the demo scripts better now, since there are so many of them. then fix up the demo scripts to look in tests/ for the keys. demo_windows.py doesn't need to call get_pty() (in fact, i think that's blowing openssh's mind) and was executing the wrong command.
2004-11-01[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-99]Robey Pointer
use getpass convert raw_input to getpass as suggested many weeks ago.
2004-11-01[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-98]Robey Pointer
don't unlink a Channel until the server closes it too when close()'ing a Channel, don't immediately unlink it from the Transport. instead, wait for the server to send a close message. this should fix a bug where doing close() on an EOF'd channel would cause the entire transport to be killed, because the server would send an 'exit-status' and 'close' message for a channel that we no longer had a record of.
2004-11-01[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-97]Robey Pointer
better debugging, improve subsytem handler add a list of ssh packet names for debugging. improve the server-mode subsystem handler so it can take extra parameters (list or keyword) and pass them to the subsystem constructor. remove a misleading comment about rekeying (which was already implemented).
2004-11-01[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-96]Robey Pointer
remove key.valid check oops! 'key.valid' no longer works -- catch the SSHException instead, and log it.
2004-10-23[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-95]Robey Pointer
ivysaur 0.9 update ivysaur release date, and add the list of changes to the README file.
2004-10-20[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-94]Robey Pointer
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.
2004-10-18[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-93]Robey Pointer
switch Transport.connect() to using a Pkey object for the host key i suddenly realized that passing "hostkeytype" and "hostkey" as strings to Transport.connect() was pretty silly since i went to all the effort of making a class specifically for holding keys. so Transport.connect() now just takes host-key argument: "hostkey" as a PKey object. updated the demos to use PKey objects when reading the host key file, and to use the new "hostkey" argument.