Source: twisted Version: 26.4.0-2 Severity: important Control: affects -1 src:foolscap Control: forwarded -1 https://github.com/twisted/twisted/issues/12660 Control: tags -1 upstream
Likely fixed by https://github.com/twisted/twisted/pull/12661 (theoretically more changes may be needed, I didn't check if the upstream CI runs with this pyopenssl). pyopenssl 26.3.0 is available in experimental. [ERROR] Traceback (most recent call last): File "/usr/lib/python3/dist-packages/foolscap/appserver/cli.py", line 124, in run a = AppServer(basedir, stdout) File "/usr/lib/python3/dist-packages/foolscap/appserver/server.py", line 74, in __init__ self.tub = Tub(certFile=os.path.join(basedir, "tub.pem")) File "/usr/lib/python3/dist-packages/foolscap/pb.py", line 192, in __init__ self.setupEncryptionFile(certFile) File "/usr/lib/python3/dist-packages/foolscap/pb.py", line 204, in setupEncryptionFile self.setupEncryption(certData) File "/usr/lib/python3/dist-packages/foolscap/pb.py", line 215, in setupEncryption cert = self.createCertificate() File "/usr/lib/python3/dist-packages/foolscap/pb.py", line 419, in createCertificate return crypto.createCertificate() File "/usr/lib/python3/dist-packages/foolscap/crypto.py", line 77, in createCertificate req = keypair.certificateRequest(dn, digestAlgorithm="sha256") File "/usr/lib/python3/dist-packages/twisted/internet/_sslverify.py", line 731, in certificateRequest return self.requestObject(distinguishedName, digestAlgorithm).dump(format) File "/usr/lib/python3/dist-packages/twisted/internet/_sslverify.py", line 717, in requestObject req = crypto.X509Req() File "/usr/lib/python3/dist-packages/cryptography/utils.py", line 76, in __getattr__ obj = getattr(self._module, name) builtins.AttributeError: module 'OpenSSL.crypto' has no attribute 'X509Req' -- System Information: Debian Release: forky/sid APT prefers unstable-debug APT policy: (500, 'unstable-debug'), (500, 'unstable'), (500, 'testing'), (101, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 7.0.12+deb14.1-amd64 (SMP w/16 CPU threads; PREEMPT) Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled

