forked from pool/python-paramiko
- update to 2.4.2
- refresh paramiko-test_extend_timeout.patch
* Fix exploit (CVE pending) in Paramiko's server mode (not client mode)
where hostile clients could trick the server into thinking they were
authenticated without actually submitting valid authentication.
* Modify protocol message handling such that Transport does not respond
to MSG_UNIMPLEMENTED with its own MSG_UNIMPLEMENTED
* Updated SSHConfig.lookup <paramiko.config.SSHConfig.lookup> so it returns
a new, type-casting-friendly dict subclass (~paramiko.config.SSHConfigDict)
in lieu of dict literals.
OBS-URL: https://build.opensuse.org/request/show/640130
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-paramiko?expand=0&rev=73
14 lines
542 B
Diff
14 lines
542 B
Diff
Index: paramiko-2.4.2/tests/test_buffered_pipe.py
|
|
===================================================================
|
|
--- paramiko-2.4.2.orig/tests/test_buffered_pipe.py
|
|
+++ paramiko-2.4.2/tests/test_buffered_pipe.py
|
|
@@ -69,7 +69,7 @@ class BufferedPipeTest(unittest.TestCase
|
|
self.assertTrue(False)
|
|
except PipeTimeout:
|
|
pass
|
|
- self.assertEqual(b"b", p.read(1, 1.0))
|
|
+ self.assertEqual(b"b", p.read(1, 3.0))
|
|
self.assertEqual(b"", p.read(1))
|
|
|
|
def test_3_close_while_reading(self):
|