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

Error when installing from git clone #34

Closed KozbialP closed 6 years ago

KozbialP commented 6 years ago

I wanted to install newest nassl version, which is required to install sslyze. Newest version in pip is 1.03 so i tried to install from git clone. When running command python sample_client.py i got error: Traceback (most recent call last): File "sample_client.py", line 7, in <module> from nassl.ssl_client import OpenSslVersionEnum, SslClient File "/home/kali/nassl/nassl/ssl_client.py", line 7, in <module> from nassl import _nassl # type: ignore ImportError: /home/kali/nassl/nassl/_nassl.so: undefined symbol: SSL_SESSION_set_max_early_data

Building from scratch also didn't work for me. Any ideas what to do with that?

nabla-c0d3 commented 6 years ago

Which OS and version of Python?

KozbialP commented 6 years ago

Kali Linux kernel 4.4.0-43 Python version Python 2.7.14+

nabla-c0d3 commented 6 years ago

Something is wrong with the nassl Linux wheel for 2.7. If possible you should switch to python 3.6.