[MacPorts] #63905: py38-cryptography problem with default_backend

MacPorts noreply at macports.org
Wed Nov 10 20:24:40 UTC 2021


#63905: py38-cryptography problem with default_backend
-------------------------------+-------------------------------
 Reporter:  aaronm6            |      Owner:  (none)
     Type:  defect             |     Status:  new
 Priority:  Normal             |  Milestone:
Component:  ports              |    Version:  2.7.1
 Keywords:  pyca cryptography  |       Port:  py38-cryptography
-------------------------------+-------------------------------
 I recently upgraded to py38-cryptography @35.0.0_1.  default_backend from
 cryptography.hazmat.backends now gives an error when called.  Any
 encryption/decryption which requires this method now crashes.  Here is the
 error:


 {{{
 >>> from cryptography.hazmat.backends import default_backend
 >>> default_backend()
 Traceback (most recent call last):
   File "<stdin>", line 1, in <module>
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8
 /site-packages/cryptography/hazmat/backends/__init__.py", line 16, in
 default_backend
     from cryptography.hazmat.backends.openssl.backend import backend
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8
 /site-packages/cryptography/hazmat/backends/openssl/__init__.py", line 6,
 in <module>
     from cryptography.hazmat.backends.openssl.backend import backend
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8
 /site-packages/cryptography/hazmat/backends/openssl/backend.py", line 82,
 in <module>
     from cryptography.hazmat.bindings.openssl import binding
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8
 /site-packages/cryptography/hazmat/bindings/openssl/binding.py", line 14,
 in <module>
     from cryptography.hazmat.bindings._openssl import ffi, lib
 ImportError:
 dlopen(/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8
 /site-packages/cryptography/hazmat/bindings/_openssl.abi3.so, 2): Symbol
 not found: _ERR_new
   Referenced from:
 /opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8
 /site-packages/cryptography/hazmat/bindings/_openssl.abi3.so
   Expected in: flat namespace
  in
 /opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8
 /site-packages/cryptography/hazmat/bindings/_openssl.abi3.so

 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/63905>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list