-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AttributeError: module 'lib' has no attribute 'OpenSSL_add_all_algorithms' #160
Comments
With my first trial I can't reproduce it
and this is the pip list
|
I have also re-started the CI online for double check (https://github.com/italia/spid-sp-test/actions/runs/4197673806/jobs/7791968403) which version of python are you using? |
This is the pip list command output
This is the output of the install command
This is the output of the virtualenv command:
|
By my side: not reproducible locally and neither in github actions CI |
@danielegiallonardo do you have news on this? |
HI, |
Durante l'esecuzione dell'ultima versione di spid-sp-test ottengo l'errore in oggetto.
In particolare, eseguendo, da una action github, i seguenti comandi:
sudo apt install -y libxml2-dev libxmlsec1-dev libxmlsec1-openssl xmlsec1 python3-pip
sudo pip install spid-sp-test --upgrade --no-cache
spid_sp_test --metadata-url https://localhost:5001/spid/metadata.xml --authn-url https://localhost:5001/home/login?idpname=SpidSpTest --extra --debug ERROR --profile spid-sp-ag-public-full -tr
Ottengo in output il seguente errore:
Traceback (most recent call last):
File "/usr/local/bin/spid_sp_test", line 9, in
from saml2.metadata import entity_descriptor
File "/usr/local/lib/python3.10/dist-packages/saml2/metadata.py", line 11, in
from saml2.algsupport import algorithm_support_in_metadata
File "/usr/local/lib/python3.10/dist-packages/saml2/algsupport.py", line 6, in
from saml2.sigver import get_xmlsec_binary
File "/usr/local/lib/python3.10/dist-packages/saml2/sigver.py", line 31, in
from OpenSSL import crypto
File "/usr/lib/python3/dist-packages/OpenSSL/init.py", line 8, in
from OpenSSL import crypto, SSL
File "/usr/lib/python3/dist-packages/OpenSSL/crypto.py", line 3279, in
_lib.OpenSSL_add_all_algorithms()
AttributeError: module 'lib' has no attribute 'OpenSSL_add_all_algorithms'
Error: Process completed with exit code 1.
In fase di installazione di spid-sp-test e delle dipendenze sono state scaricate le seguenti versioni:
Downloading spid_sp_test-1.2.13-py3-none-any.whl (2.5 MB)
Downloading spid_compliant_certificates-0.5.4-py3-none-any.whl (36 kB)
The text was updated successfully, but these errors were encountered: