Robey Pointer
0f3bf86617
[project @ Arch-1:robey@lag.net--2005-master-shake%paramiko--dev--1--patch-54]
...
smooth BaseTransport and Transport together, and move the auth stuff into AuthHandler -- an improvement i made in jaramiko and decided deserved to be backported
2005-08-09 07:40:07 +00:00
Robey Pointer
1fdec8bd06
[project @ Arch-1:robey@lag.net--2005-master-shake%paramiko--dev--1--patch-53]
...
more todo...
2005-08-09 06:31:19 +00:00
Robey Pointer
646db7c787
[project @ Arch-1:robey@lag.net--2005-master-shake%paramiko--dev--1--patch-52]
...
rework init so classes all appear in the right package in docs (yaaaay)
2005-08-09 06:30:59 +00:00
Robey Pointer
7cd7841556
[project @ Arch-1:robey@lag.net--2005-master-shake%paramiko--dev--1--patch-51]
...
rename 3 globals so they're not exposed in docs
2005-08-09 06:30:22 +00:00
Robey Pointer
a4fc5bb8a7
[project @ Arch-1:robey@lag.net--2005-master-shake%paramiko--dev--1--patch-50]
...
add docs to Message
2005-08-09 06:29:59 +00:00
Robey Pointer
7b4cd51b76
[project @ Arch-1:robey@lag.net--2005-master-shake%paramiko--dev--1--patch-49]
...
dumb tiny tweaks
2005-08-03 06:57:51 +00:00
Robey Pointer
eb60811594
[project @ Arch-1:robey@lag.net--2005-master-shake%paramiko--dev--1--patch-48]
...
can use up to 32k buffers here
2005-08-03 06:57:30 +00:00
Robey Pointer
5a5cd201b7
[project @ Arch-1:robey@lag.net--2005-master-shake%paramiko--dev--1--patch-47]
...
bump version number to 1.4 oddish
2005-07-18 06:40:30 +00:00
Robey Pointer
d8ee5e2a4a
[project @ Arch-1:robey@lag.net--2005-master-shake%paramiko--dev--1--patch-46]
...
add SFTPFile.check and server support (and test) -- it's an sftp extension that allows a client to retrieve the hash of part or all of a file without downloading it. we're probably the only ones who implement it yet
2005-07-18 05:43:44 +00:00
Robey Pointer
e9ccd7ea20
[project @ Arch-1:robey@lag.net--2005-master-shake%paramiko--dev--1--patch-45]
...
yeah! figured out the last things that were causing GC cycles and got rid of them: Channels, Transports, SFTPClients, and SFTPFiles can all have __del__ methods now, which auto-close themselves :)
2005-07-17 20:06:29 +00:00
Robey Pointer
f27e625926
[project @ Arch-1:robey@lag.net--2005-master-shake%paramiko--dev--1--patch-44]
...
try to handle utf8 paths in a sane way in SFTPClient: assume incoming strings are already utf8, and encode incoming unicodes -- for return values, use str if an ascii encoding will work, otherwise return a unicode
2005-07-17 07:01:51 +00:00
Robey Pointer
a22719c338
[project @ Arch-1:robey@lag.net--2005-master-shake%paramiko--dev--1--patch-43]
...
allow start_client and start_server to be passed no event object for synchronous behavior
2005-07-16 16:41:39 +00:00
Robey Pointer
458a0de23f
[project @ Arch-1:robey@lag.net--2005-master-shake%paramiko--dev--1--patch-42]
...
don't forget to export Agent
2005-07-16 16:35:25 +00:00
Robey Pointer
37f3775389
[project @ Arch-1:robey@lag.net--2005-master-shake%paramiko--dev--1--patch-41]
...
pull in tiny changes from ralph
Patches applied:
* robey@lag.net--2005/paramiko--dev--1--patch-2
merge laptop work
* robey@lag.net--2005/paramiko--dev--1--patch-3
update from laptop
* robey@lag.net--2005/paramiko--dev--1--patch-4
integrate tons more laptop work
* robey@lag.net--2005/paramiko--dev--1--patch-5
thew has a good point: this is stable software now, not alpha
* robey@lag.net--2005/paramiko--dev--1--patch-6
roll up laptop changes
2005-07-14 02:51:31 +00:00
Robey Pointer
a321fa026d
[project @ Arch-1:robey@lag.net--2005-master-shake%paramiko--dev--1--patch-40]
...
anal tweak of docs
2005-07-14 02:46:35 +00:00
Robey Pointer
1a7868d27f
[project @ Arch-1:robey@lag.net--2005-master-shake%paramiko--dev--1--patch-39]
...
bulletproof the select test in test_transport more
2005-07-14 02:36:56 +00:00
Robey Pointer
4c22409524
[project @ Arch-1:robey@lag.net--2005-master-shake%paramiko--dev--1--patch-38]
...
fix util docs a bit
2005-07-14 02:36:30 +00:00
Robey Pointer
b5f0b3c786
[project @ Arch-1:robey@lag.net--2005-master-shake%paramiko--dev--1--patch-37]
...
remove debug print
2005-07-14 02:36:15 +00:00
Robey Pointer
1a6ba349da
[project @ Arch-1:robey@lag.net--2005-master-shake%paramiko--dev--1--patch-36]
...
move load_host_keys into util where others can use it
2005-07-14 02:19:13 +00:00
Robey Pointer
e12e16858e
[project @ Arch-1:robey@lag.net--2005-master-shake%paramiko--dev--1--patch-35]
...
oooooops, didn't mean to leave posix commented out
2005-07-14 02:18:45 +00:00
Robey Pointer
f565576321
[project @ Arch-1:robey@lag.net--2005-master-shake%paramiko--dev--1--patch-34]
...
fix a comment claiming that channels are closed automatically when GC'd (they aren't and can't be); don't close the pipe until the app explicitly calls close(); signal EOF via the pipe
2005-07-14 02:17:38 +00:00
Robey Pointer
93f3cae64f
[project @ Arch-1:robey@lag.net--2005-master-shake%paramiko--dev--1--patch-33]
...
add SFTPClient.put and SFTPClient.get, and make sftp file objects auto-close on del
2005-07-13 08:35:15 +00:00
Robey Pointer
1f88224239
[project @ Arch-1:robey@lag.net--2005-master-shake%paramiko--dev--1--patch-32]
...
add the concept of a cwd to SFTPClient, and add a unit test for it
2005-07-13 07:59:35 +00:00
Robey Pointer
e6e4c4bff7
[project @ Arch-1:robey@lag.net--2005-master-shake%paramiko--dev--1--patch-31]
...
fix whitespace on a line that bugged me
2005-07-13 07:57:12 +00:00
Robey Pointer
b3ec01f57e
[project @ Arch-1:robey@lag.net--2005-master-shake%paramiko--dev--1--patch-30]
...
fix stupid line that broke dss's unit test... that'll teach me to fuss over pychecker warnings
2005-07-13 07:56:44 +00:00
Robey Pointer
0ac7b0dcbd
[project @ Arch-1:robey@lag.net--2005-master-shake%paramiko--dev--1--patch-29]
...
a bunch of silly changes where i was trying to fix pychecker warnings before i decided it wasnt worth the effort
2005-07-10 09:56:00 +00:00
Robey Pointer
5ba8b47a45
[project @ Arch-1:robey@lag.net--2005-master-shake%paramiko--dev--1--patch-28]
...
forgot to import server
2005-07-09 17:31:09 +00:00
Robey Pointer
fb4e56989a
[project @ Arch-1:robey@lag.net--2005-master-shake%paramiko--dev--1--patch-27]
...
remove now-incorrect comment
2005-07-09 17:30:02 +00:00
Robey Pointer
ae18228d07
[project @ Arch-1:robey@lag.net--2005-master-shake%paramiko--dev--1--patch-26]
...
new ssh agent support! from john rochester. added a bunch of docs to it, and changed demo.py to use an Agent if it finds a working key there.
2005-07-07 01:35:31 +00:00
Robey Pointer
e3ed1616d1
[project @ Arch-1:robey@lag.net--2005-master-shake%paramiko--dev--1--patch-25]
...
cool optimization from john rochester: use cStringIO in Message (and also fix some unit test bugs revealed by the change)
2005-07-07 01:10:57 +00:00
Robey Pointer
0b093e49b4
[project @ Arch-1:robey@lag.net--2005-master-shake%paramiko--dev--1--patch-24]
...
the previous windows pipe fix still didn't work. replace it with a new pipe.py abstraction of pipes (one for posix, one for windows) which appears to finally work on windows. for real this time. also add some more documentation to Channel to explain that after exec_command, invoke_shell, or invoke_subsystem, a Channel can't be reused.
2005-07-07 01:03:49 +00:00
Robey Pointer
de81b40e7d
[project @ Arch-1:robey@lag.net--2005-master-shake%paramiko--dev--1--patch-23]
...
stupid little doc tweaks
2005-07-03 01:31:31 +00:00
Robey Pointer
9d27762720
[project @ Arch-1:robey@lag.net--2005-master-shake%paramiko--dev--1--patch-22]
...
some doc changes; catch socket.error in the transport thread and log it as such instead of as an 'unknown exception'
2005-07-03 01:26:35 +00:00
Robey Pointer
401e37fa23
[project @ Arch-1:robey@lag.net--2005-master-shake%paramiko--dev--1--patch-21]
...
oops, missed changing the version name to nidoran
2005-06-28 08:15:24 +00:00
Robey Pointer
dff128c814
[project @ Arch-1:robey@lag.net--2005-master-shake%paramiko--dev--1--patch-20]
...
fix docs and update version to 1.3.1
2005-06-28 08:00:12 +00:00
Robey Pointer
ac475d4a54
[project @ Arch-1:robey@lag.net--2005-master-shake%paramiko--dev--1--patch-19]
...
2 keys needed for unit tests
2005-06-28 07:24:10 +00:00
Robey Pointer
6ee7921d06
[project @ Arch-1:robey@lag.net--2005-master-shake%paramiko--dev--1--patch-18]
...
tweak random stuff in transport that i forgot what it does
2005-06-28 07:23:41 +00:00
Robey Pointer
727cab9672
[project @ Arch-1:robey@lag.net--2005-master-shake%paramiko--dev--1--patch-17]
...
more unit tests
2005-06-28 06:02:44 +00:00
Robey Pointer
1fb38470aa
[project @ Arch-1:robey@lag.net--2005-master-shake%paramiko--dev--1--patch-16]
...
forgot this one
2005-06-28 03:47:12 +00:00
Robey Pointer
81ba7dccef
[project @ Arch-1:robey@lag.net--2005-master-shake%paramiko--dev--1--patch-15]
...
random doc/comment tweaks
2005-06-28 03:44:25 +00:00
Robey Pointer
c0b22a3aec
[project @ Arch-1:robey@lag.net--2005-master-shake%paramiko--dev--1--patch-14]
...
cute trick i saw openssh do in a network trace: if we're not encrypting, don't waste random bytes for the padding in packetizing
2005-06-28 03:42:57 +00:00
Robey Pointer
c5d2e9904a
[project @ Arch-1:robey@lag.net--2005-master-shake%paramiko--dev--1--patch-13]
...
change pipe method to something that probably works on windows (the old system did not); also fix a race in _unlink
2005-06-28 03:42:14 +00:00
Robey Pointer
139051f815
[project @ Arch-1:robey@lag.net--2005-master-shake%paramiko--dev--1--patch-12]
...
add notes about next version
2005-06-28 03:39:53 +00:00
Robey Pointer
b1a0d8afe9
[project @ Arch-1:robey@lag.net--2005-master-shake%paramiko--dev--1--patch-11]
...
copy over changelog from previous tla archive
2005-05-21 20:42:29 +00:00
Robey Pointer
44239ae077
[project @ Arch-1:robey@lag.net--2005-master-shake%paramiko--dev--1--patch-10]
...
fix stupid bug in kex_group1 which luckily only affected unit tests
2005-05-21 20:35:29 +00:00
Robey Pointer
cb5aa0671b
[project @ Arch-1:robey@lag.net--2005-master-shake%paramiko--dev--1--patch-9]
...
oooh maybe i'll test things before checking them in next time: rekeying was a little bit overzealous. now it's careful to only rekey once and reset the counters in sync
2005-05-14 06:21:36 +00:00
Robey Pointer
366f216e3f
[project @ Arch-1:robey@lag.net--2005-master-shake%paramiko--dev--1--patch-8]
...
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
2005-05-10 17:36:38 +00:00
Robey Pointer
e8efe095a6
[project @ Arch-1:robey@lag.net--2005-master-shake%paramiko--dev--1--patch-7]
...
don't close the socket until the destructor -- we may drop a session before the socket is actually finished
2005-05-04 02:44:00 +00:00
Robey Pointer
2c264c7df5
[project @ Arch-1:robey@lag.net--2005-master-shake%paramiko--dev--1--patch-6]
...
when an auth method is rejected, log the list of acceptable auth methods
2005-05-04 02:43:14 +00:00
Robey Pointer
36055c5ac2
[project @ Arch-1:robey@lag.net--2005-master-shake%paramiko--dev--1--patch-5]
...
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.
2005-05-01 08:04:59 +00:00