nabla-c0d3 / nassl

Experimental OpenSSL wrapper for Python 3.8+ and SSLyze.
GNU Affero General Public License v3.0
39 stars 35 forks source link

Nassl 3.0.0 compatibility with Python3.8? #68

Closed javixeneize closed 3 years ago

javixeneize commented 3 years ago

Hi

Is Nassl compatible with python 3.8? Im having this error

ImportError: dlopen(/Users/javi/Library/Python/3.8/lib/python/site-packages/nassl/_nassl.cpython-38-darwin.so, 2): Symbol not found: ____chkstk_darwin Referenced from: /Users/javi/Library/Python/3.8/lib/python/site-packages/nassl/_nassl.cpython-38-darwin.so Expected in: /usr/lib/libSystem.B.dylib in /Users/javi/Library/Python/3.8/lib/python/site-packages/nassl/_nassl.cpython-38-darwin.so

Thanks

nabla-c0d3 commented 3 years ago

Hello, How did you install nassl and which version of macOS are you running?

javixeneize commented 3 years ago

Hi I have high Sierra I installed it as a dependency of sslyze via pip. Looks like it’s related to the Xcode version

I downgraded python to 3.7.7 and again I had another error saying there is no package available for this distribution.

Thanks

rushter commented 3 years ago

You need to compile it from scratch. This happens because you are running an outdated macOS (from 2017). Newer versions of macOS changed some APIs and precompiled wheels will not work In some cases.

I had the same problem and compiling from scratch works as expected.

nabla-c0d3 commented 3 years ago

Fixed by having the macOS wheels built automatically via GitHub Actions: https://github.com/nabla-c0d3/nassl/blob/release/.github/workflows/build_wheels.yml

nabla-c0d3 commented 3 years ago

Fixed in v4.0.0.