forked from pool/python-Twisted
* Features
+ twisted.internet.defer.maybeDeferred will now schedule a coroutine
result as asynchronous operation and return a Deferred that fires with
the result of the coroutine.
+ Twisted now works with Cryptography versions 37 and above, and as a
result, its minimum TLS protocol version has been upgraded to TLSv1.2.
+ The systemd: endpoint parser now supports "named" file descriptors. This
is a more reliable mechanism for choosing among several inherited
descriptors.
* Bugfixes
+ twisted.internet.base.DelayedCall.__repr__ will no longer raise
AttributeError if the DelayedCall was created before debug mode was
enabled. As a side-effect, twisted.internet.base.DelayedCall.creator is
now defined as None in cases where previously it was undefined.
+ twisted.internet.iocpreactor.udp now properly re-queues its listener
when there is a failure condition on the read from the socket.
+ twisted.internet.defer.inlineCallbacks no longer causes confusing
StopIteration tracebacks to be added to the top of tracebacks
originating in triggered callbacks.
+ The typing of twisted.internet.task.react no longer constrains the
type of argv.
+ ContextVar.reset() now works correctly inside inlineCallbacks functions
and coroutines.
+ Implement twisted.python.failure._Code.co_positions for compatibility
with Python 3.11.
+ twisted.pair.tuntap._TUNSETIFF and ._TUNGETIFF values are now correct
parisc, powerpc and sparc architectures.
+ twisted.web.vhost.NameVirtualHost will no longerreturn a NoResource
error. (bsc#1204781, CVE-2022-39348)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Twisted?expand=0&rev=125
26 lines
1013 B
Diff
26 lines
1013 B
Diff
---
|
|
src/twisted/conch/test/test_keys.py | 3 +++
|
|
1 file changed, 3 insertions(+)
|
|
|
|
Index: Twisted-22.10.0/src/twisted/conch/test/test_keys.py
|
|
===================================================================
|
|
--- Twisted-22.10.0.orig/src/twisted/conch/test/test_keys.py
|
|
+++ Twisted-22.10.0/src/twisted/conch/test/test_keys.py
|
|
@@ -15,6 +15,7 @@ from twisted.python import randbytes
|
|
from twisted.python.filepath import FilePath
|
|
from twisted.python.reflect import requireModule
|
|
from twisted.trial import unittest
|
|
+import unittest as pyunit
|
|
|
|
cryptography = requireModule("cryptography")
|
|
if cryptography is None:
|
|
@@ -259,6 +260,8 @@ class KeyTests(unittest.TestCase):
|
|
for k, v in data.items():
|
|
self.assertEqual(privateKey.data()[k], v)
|
|
|
|
+ @pyunit.skip('Upstream ticket https://twistedmatrix.com/trac/ticket/9665' +
|
|
+ ' has still not been resolved.')
|
|
def test_fromOpenSSH(self):
|
|
"""
|
|
Test that keys are correctly generated from OpenSSH strings.
|