Commit Graph

321 Commits

Author SHA1 Message Date
Robey Pointer 1df0e7e629 [project @ robey@lag.net-20060411074019-1c4ec3497399bf11]
oops, don't forget BufferedPipe unit tests
2006-04-11 00:40:19 -07:00
Robey Pointer 9e14a3bf58 [project @ robey@lag.net-20060411073946-8830b560b276266f]
factor out BufferedPipe into its own class
2006-04-11 00:39:46 -07:00
Robey Pointer 017d315bce [project @ robey@lag.net-20060409073938-bcbb9a13a6f311c2]
changes to win_pageant from todd whiteman which avoid using ctypes and apparently makes the pageant agent work
2006-04-09 00:39:38 -07:00
Robey Pointer 8087fa5a29 [project @ robey@lag.net-20060408222456-d3813e0206a2cda7]
assertTrue doesn't exist in py23
2006-04-08 15:24:56 -07:00
Robey Pointer ccc1046a5c [project @ robey@lag.net-20060406181821-68f9bc13b3580d37]
some fixes for win32: potential fix for lockup during failed tests; don't try chmod/chown or symlinks; fix canonicalize to convert dos-style path separators to '/'; open local files in binary mode; close a file before erasing it
2006-04-06 11:18:21 -07:00
Robey Pointer d7b28ac257 [project @ robey@lag.net-20060327001936-9dd7d3b155614bbf]
allow multiple prefetches to happen in rapid succession
2006-03-26 16:19:36 -08:00
Robey Pointer 0cee90eeca [project @ robey@lag.net-20060327001726-7ccb095fd5c416f5]
roll in some changes from bzr that may be necessary to get stub_sftp to work on windows
2006-03-26 16:17:26 -08:00
Robey Pointer 4120a15823 [project @ robey@lag.net-20060326235536-31da9988fb7a06be]
slightly more docs to hostkeys
2006-03-26 15:55:36 -08:00
Robey Pointer b12d10fd72 [project @ robey@lag.net-20060326204635-1c5418c54187b95d]
fix exception-catching error found by alexander belchenko
2006-03-26 12:46:35 -08:00
Robey Pointer 016060388a [project @ robey@lag.net-20060324174423-1d310608680dd29b]
try out john's win_pageant code
2006-03-24 09:44:23 -08:00
Robey Pointer 62c9588365 [project @ robey@lag.net-20060312043043-a96ec6e03210f476]
fix Makefile :)
2006-03-11 20:30:43 -08:00
Robey Pointer 4eb0b9ac3e [project @ robey@lag.net-20060312042905-752c324bdc1ac2cf]
bump version to 1.5.4
2006-03-11 20:29:05 -08:00
Robey Pointer 82d8ca6e11 [project @ robey@lag.net-20060312040732-8d16f6c42f12f138]
document readv, fix thinko, and add a readv unit test
2006-03-11 20:07:32 -08:00
Robey Pointer ece62093bd [project @ robey@lag.net-20060312040633-92b1c78bf815905d]
add test to verify that 'for x in hostkeys' works
2006-03-11 20:06:33 -08:00
Robey Pointer 862e1f48e3 [project @ robey@lag.net-20060310022234-c183ad0b3f31eb28]
generalize the prefetching a bit so that it can be reused for a readv method
2006-03-09 18:22:34 -08:00
Robey Pointer a98c5cf627 [project @ robey@lag.net-20060309082830-ea89d2b2259098a2]
revise the prefetch machinery so that it doesn't assert if you seek to earlier than the prefetched buffers.  also, keep around any prefetched data that has been seeked around, so that jumping around in the file will still get the benefit of prefetch, though only the first time any chunk is read.
2006-03-09 00:28:30 -08:00
Robey Pointer bbcf7687aa [project @ robey@lag.net-20060309082217-438047d0007d5a5b]
reads were being rounded up to an 8k buffer size, even with no buffering specified when the file was opened.  i traced this back to the old ChannelFile where it worked correctly.  fix to only buffer when asked to.
2006-03-09 00:22:17 -08:00
Robey Pointer 284614a857 [project @ robey@lag.net-20060309081619-4ec529d524744e14]
fix up the manifest
2006-03-09 00:16:19 -08:00
Robey Pointer 89e39a4559 [project @ robey@lag.net-20060309081455-84be2ae54f98e897]
move sftp big-file tests into a separate class and add one that does a prefetch, then seeks in random order
2006-03-09 00:14:55 -08:00
Robey Pointer de6315b9c5 [project @ robey@lag.net-20060309080450-bad95b03d60d3d4f]
improve HostKeys so that it more correctly emulates a dict, and add a unit test to verify that
2006-03-09 00:04:50 -08:00
Robey Pointer 90a577c775 [project @ robey@lag.net-20060228030121-67362d86a18a352b]
heh, this import will always fail unless we have 'os' handy
2006-02-27 19:01:21 -08:00
Robey Pointer 860edff9f4 [project @ robey@lag.net-20060228030048-ca579e8c53c9c4b7]
this demo doesn't need to import interactive
2006-02-27 19:00:48 -08:00
Robey Pointer 5b7957ce39 [project @ robey@lag.net-20060220072303-cdc3bc647d5732b0]
bump version to 1.5.3
2006-02-19 23:23:03 -08:00
Robey Pointer 2103553ff5 [project @ robey@lag.net-20060220040447-d7b79989d3b680ed]
remove @since that predate 1.0
2006-02-19 20:04:47 -08:00
Robey Pointer 6459365f50 [project @ robey@lag.net-20060220040343-f13904d9c97035e3]
explain why paths aren't, and can't be, unicode strings when passed to SFTPServerInterface
2006-02-19 20:03:43 -08:00
Robey Pointer 4be91d1c4d [project @ robey@lag.net-20060220031741-3227438ff1b03a29]
add SFTPClient.truncate.  add chmod, chown, utime, and truncate to SFTPFile.  and of course tests.
2006-02-19 19:17:41 -08:00
Robey Pointer 8446c0bda1 [project @ robey@lag.net-20060220005934-58d0df2920e799b5]
update copyright year
2006-02-19 16:59:34 -08:00
Robey Pointer 409c4fc482 [project @ robey@lag.net-20060220003513-aa54e3e771a530fd]
add HostKeys, a helper for reading/parsing openssh known_hosts files, including hashed-host support
2006-02-19 16:35:13 -08:00
Robey Pointer 08c9efc86a [project @ robey@lag.net-20060213181724-ba80fa329c5be7f4]
not all sftp servers obey the 'all filenames are utf8' requirement, so if both ascii and utf8 codecs fail, just return the filename as a byte string
2006-02-13 10:17:24 -08:00
Robey Pointer 97496845bb [project @ robey@master-shake.local-20060210175613-e7a1fccdcc4e689c]
this del is also useless
2006-02-10 09:56:13 -08:00
Robey Pointer 12efdd7ca1 [project @ robey@master-shake.local-20060209073516-77f30d55aee054ea]
packetizer doesn't need a __del__, and the keepalive should use a weakref
2006-02-08 23:35:16 -08:00
Robey Pointer 07dfbd5808 [project @ robey@master-shake.local-20060209030347-a7238bae41dad9d7]
doing a close() on Transport.__del__ is useless: because a Transport can't go away until all its Channels are collected, it will never make a difference.  so don't do it, cuz __del__ is pretty hairy.
2006-02-08 19:03:47 -08:00
Robey Pointer 27ccd56af7 [project @ robey@master-shake.local-20060209030112-ab9669fa6d1d3d26]
avoid really obvious/brainfart reference loop.  found by andrew bennetts
2006-02-08 19:01:12 -08:00
Robey Pointer 619192814d [project @ robey@master-shake.local-20060206064228-23198d2e82bd7248]
add getpeername() call to make asyncore work better
2006-02-05 22:42:28 -08:00
Robey Pointer 2853a7ae05 [project @ robey@master-shake.local-20060203180829-27d4707bf572ac5b]
Transport doesn't need HMAC
2006-02-03 10:08:29 -08:00
Robey Pointer 0627f09494 [project @ robey@dhcp-192-168-1-88.danger.com-20060202005930-3248b8be189d5d23]
reorder the event check so that a positive event is noticed before a closed channel
2006-02-01 16:59:30 -08:00
Robey Pointer 2262f7f188 [project @ robey@master-shake.local-20060201193536-86f3fd393e7ef8f9]
don't clear the select pipe when the recv buffer is cleared out, if we're at EOF (found by thomas steinacher)
2006-02-01 11:35:36 -08:00
Robey Pointer c091dff994 [project @ robey@master-shake.local-20060131005629-3f1bfead54bd5283]
add more logging to sftp client
2006-01-30 16:56:29 -08:00
Robey Pointer eeb76522ea [project @ robey@master-shake.local-20060130182053-0d5b7aba9dc9d9b3]
tone down the packet logging
2006-01-30 10:20:53 -08:00
Robey Pointer 3596251856 [project @ robey@master-shake.local-20060130182024-4f0c84964b65cb72]
describe auth types better in logs
2006-01-30 10:20:24 -08:00
Robey Pointer e4dd1bf935 [project @ robey@master-shake.local-20060127181925-3e7e5133b20d2f5b]
add a demo for sftp
2006-01-27 10:19:25 -08:00
Robey Pointer cf0c5c7720 [project @ robey@master-shake.local-20060127035453-c91a77a5aa6d2136]
a few more pychecker warning fixups
2006-01-26 19:54:53 -08:00
Robey Pointer 1a469d97fd [project @ robey@master-shake.local-20060127035342-a7bb21c598c8136d]
(possibly misguided) attempt to reduce paramiko's exports
2006-01-26 19:53:42 -08:00
Robey Pointer b955ee02cc [project @ robey@master-shake.local-20060127031302-7bb0582ea98a60bd]
move another demo script in, and do a bit more cleanup
2006-01-26 19:13:02 -08:00
Robey Pointer 77eada9fb4 [project @ robey@master-shake.local-20060127031139-0ca8125e66edccc5]
i'm a dork, actually these are needed to login to the demo server
2006-01-26 19:11:39 -08:00
Robey Pointer c8738fe17c [project @ robey@master-shake.local-20060127030513-a5bafc0a07b1afdc]
no longer need these
2006-01-26 19:05:13 -08:00
Robey Pointer e9e695aa4e [project @ robey@master-shake.local-20060127030342-c9c50eae5c4ebe17]
add 'clean' rule
2006-01-26 19:03:42 -08:00
Robey Pointer 0efdc8af5f [project @ robey@master-shake.local-20060127030114-b6810c4c29964a4e]
code from mike looijmans for a windows interactive shell -- while i'm mucking around in here, clean up the demos a bit too
2006-01-26 19:01:14 -08:00
Robey Pointer 7058195e38 [project @ robey@master-shake.local-20060126205008-cbf83d6697711e37]
when setting a new log channel, pass that info on to the packetizer
2006-01-26 12:50:08 -08:00
Robey Pointer d44035e716 [project @ robey@master-shake.local-20060126204925-3cc14de36a8c5c1f]
winscp doesn't like it if the server sends version info before the client does
2006-01-26 12:49:25 -08:00