Jeff Forcier
a69abd4606
Merge pull request #127 from mwilliamson/sftp-file-context-manager
...
Turn SFTPFile into a context manager
2013-02-27 15:50:48 -08:00
Jeff Forcier
f493a00c11
Merge branch 'master' of github.com:paramiko/paramiko
2013-02-27 15:32:27 -08:00
Jeff Forcier
ac9370d3e0
Changelog re #116
2013-02-27 15:32:19 -08:00
Jeff Forcier
37d0247301
Merge pull request #116 from mvschaik/patch-1
...
Limit memory allocation of get_bytes to 1MB
2013-02-27 15:31:20 -08:00
Jeff Forcier
e761502e8e
Add changelog entry re #115
2013-02-03 12:54:53 -08:00
Jeff Forcier
6b5d748358
Merge pull request #115 from mvanderkolff/master
...
Add get_pty named argument to SSHClient.exec_command()
2013-02-03 12:53:35 -08:00
Jeff Forcier
0d38f3f1f2
Merge remote-tracking branch 'origin/master'
2013-02-03 11:53:13 -08:00
Jeff Forcier
0c56e2a40b
Merge branch '1.9'
2013-02-03 11:52:36 -08:00
Jeff Forcier
6284666cfd
Merge branch '1.8' into 1.9
2013-02-03 11:52:30 -08:00
Jeff Forcier
bf87cd124d
Update explicitly-stated Python version reqs to 2.5+
2013-02-03 11:52:11 -08:00
Jeff Forcier
235050a67c
Merge pull request #105 from clarete/master
...
tox structure
2013-02-03 11:22:25 -08:00
Michael Williamson
08109136b4
Replace useless version check with import from __future__
2013-01-05 00:15:26 +00:00
Michael Williamson
0b6aebb8a9
Verify Python version >= 2.6 before running context manager test
2013-01-05 00:05:58 +00:00
Michael Williamson
602250fdf9
Turn SFTPFile into a context manager
2013-01-04 23:43:15 +00:00
Jeff Forcier
21cb9a2d86
Merge branch '1.9'
2012-12-31 16:54:00 -05:00
Jeff Forcier
876c9bdbda
Merge branch '1.8' into 1.9
2012-12-31 16:53:55 -05:00
Jeff Forcier
d5edad63a3
New year
2012-12-31 16:53:51 -05:00
Maarten
3bbcf808d8
Limit memory allocation of get_bytes to 1MB
...
If get_bytes() can pad unlimited, a RSA pub key could be crafted
that would allocate GB's of nulls, thereby forming a DoS-vector.
2012-11-30 15:14:49 +01:00
Michael van der Kolff
cd51bfc031
Add support for get_pty to SSHClient.exec_command()
2012-11-30 22:02:09 +11:00
Jeff Forcier
0ae0e9800c
Changelog re #71
2012-11-29 18:06:38 -08:00
Jeff Forcier
2cbe383080
Apply put() version of #90
2012-11-29 16:16:35 -08:00
Eric Buehl
9c0d467667
allow uploading of files from an open file object
2012-11-29 16:09:47 -08:00
Jeff Forcier
70fce374b4
Merge branch '1.9'
2012-11-29 15:37:28 -08:00
Jeff Forcier
5073b7236d
Merge branch '1.8' into 1.9
2012-11-29 15:37:25 -08:00
Jeff Forcier
7255dcf042
Update Travis settings:
...
* Don't email me, I'll see it on IRC if I'm online
* Ping #paramiko, not #fabric, as it now exists
2012-11-29 15:37:22 -08:00
Jeff Forcier
531606b0d6
Revert "Make send() and recv() fail when channel is closed"
...
This reverts commit 23f3099b6f
.
2012-11-29 15:19:56 -08:00
Jeff Forcier
2223aa10cc
Revert "Forgot to import errno"
...
This reverts commit 668870aa83
.
2012-11-29 15:19:50 -08:00
Jeff Forcier
2ae06c70af
Merge branch '1.9'
2012-11-29 15:19:20 -08:00
Jeff Forcier
287f9c3423
Revert "Forgot to import errno"
...
This reverts commit 203c7379ac
.
2012-11-29 15:19:15 -08:00
Jeff Forcier
bda161330f
Revert "Make send() and recv() fail when channel is closed"
...
This reverts commit 8496eff0b7
.
2012-11-29 15:19:07 -08:00
Jeff Forcier
03c350903e
Merge branch '1.8' into 1.9
2012-11-29 15:18:53 -08:00
Jeff Forcier
682a3eff84
Revert "Forgot to import errno"
...
This reverts commit 537f95dbb3
.
2012-11-29 15:18:48 -08:00
Jeff Forcier
7a4d3c4e42
Revert "Make send() and recv() fail when channel is closed"
...
This reverts commit bc3674d0f0
.
2012-11-29 15:18:40 -08:00
Tomer Filiba
203c7379ac
Forgot to import errno
2012-11-29 14:55:34 -08:00
Tomer Filiba
8496eff0b7
Make send() and recv() fail when channel is closed
...
``sendall()`` was checking if the channel has been closed,
and failed accordingly, but ``send()`` and ``recv()`` did not.
This meant that ``chan.send("foo")`` when the channel was already
closed, just blocked forever.
2012-11-29 14:55:31 -08:00
Tomer Filiba
537f95dbb3
Forgot to import errno
2012-11-29 14:38:33 -08:00
Tomer Filiba
bc3674d0f0
Make send() and recv() fail when channel is closed
...
``sendall()`` was checking if the channel has been closed,
and failed accordingly, but ``send()`` and ``recv()`` did not.
This meant that ``chan.send("foo")`` when the channel was already
closed, just blocked forever.
2012-11-29 14:38:23 -08:00
Jeff Forcier
962d4a3cec
Merge pull request #99 from tomerfiliba/patch-1
...
Make send() and recv() fail when channel is closed
2012-11-29 14:35:19 -08:00
Jeff Forcier
f6ed6a8bbf
Changelog re #80 , fixes #80
2012-11-29 08:55:43 -08:00
Jeff Forcier
b9c39fc1d2
Merge pull request #95 from Bockit/master
...
Add a closed property to BufferedFile
2012-11-29 08:53:53 -08:00
Jeff Forcier
2575b3efc4
Fix #94
2012-11-29 08:52:39 -08:00
Jeff Forcier
d47e6b9e7f
Merge branch '1.9'
2012-11-28 22:29:22 -08:00
Jeff Forcier
5ed0e11a7f
Merge branch '1.8' into 1.9
2012-11-28 22:22:58 -08:00
Jeff Forcier
2832f3c60f
Make docs target build whenever Paramiko files change
2012-11-28 22:22:54 -08:00
Jeff Forcier
2403504b44
Fix #113 : add timeout passthru to exec_command
2012-11-28 22:22:33 -08:00
Jeff Forcier
10c51e2726
Bump dev version to 1.10
2012-11-28 22:18:44 -08:00
Jeff Forcier
c4d4818cdd
Make docs target build whenever Paramiko files change
2012-11-28 22:18:31 -08:00
Olle Lundberg
a07a339006
Create a copy of the identityfile list.
...
The copy is needed else the original
identityfile list is in the internal
config list is updated when we modify
the return dictionary.
2012-11-20 12:43:40 +01:00
Olle Lundberg
5670e111c9
Add tests for identityfile parsing.
2012-11-20 12:42:29 +01:00
Olle Lundberg
78654e82ec
DRY up the code for populating the return list
2012-11-20 00:45:32 +01:00