Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Oct 2022 23:31:18 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 267162] security/py-openssl: cannot import name 'x509' from 'cryptography.hazmat.bindings._rust'
Message-ID:  <bug-267162-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D267162

            Bug ID: 267162
           Summary: security/py-openssl: cannot import name 'x509' from
                    'cryptography.hazmat.bindings._rust'
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: sbz@FreeBSD.org
          Reporter: yuri@freebsd.org
          Assignee: sbz@FreeBSD.org
             Flags: maintainer-feedback?(sbz@FreeBSD.org)

misc/veles fails with this message:
```
Traceback (most recent call last):
  File "/usr/local/bin/veles-server", line 23, in <module>
    from veles.server.proto import (create_unix_server, create_tcp_server,
  File "/usr/local/lib/python3.9/site-packages/veles/server/proto.py", line=
 27,
in <module>
    from OpenSSL import crypto
  File "/usr/local/lib/python3.9/site-packages/OpenSSL/__init__.py", line 8=
, in
<module>
    from OpenSSL import crypto, SSL
  File "/usr/local/lib/python3.9/site-packages/OpenSSL/crypto.py", line 14,=
 in
<module>
    from cryptography import utils, x509
  File "/usr/local/lib/python3.9/site-packages/cryptography/x509/__init__.p=
y",
line 6, in <module>
    from cryptography.x509 import certificate_transparency
  File
"/usr/local/lib/python3.9/site-packages/cryptography/x509/certificate_trans=
parency.py",
line 10, in <module>
    from cryptography.hazmat.bindings._rust import x509 as rust_x509
ImportError: cannot import name 'x509' from
'cryptography.hazmat.bindings._rust' (unknown location)
Process of locally created server finished. Exit code: 1.
NetworkClient: Disconnect.
```


This makes me think that security/py-openssl is broken.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-267162-7788>