You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to run some example but facing problems:
I'm using windows 2022, I installed with pip install pysaml2 - was ok
Docs I am reading: docs/examples/idp.rst
Example I am trying to run : example/idp2
Problem 1: it says run make_metadata.py idp_conf.py > idp.xml - there is no such file make_metadata.py in the local folder
I found that there is such file ..\..\src\saml2\tools\make_metadata.py and tried with it - > see fail below
# ..\..\src\saml2\tools\make_metadata.py ipd_conf.py > ipd.xml
Traceback (most recent call last):
File "C:\github\pysaml2\src\saml2\tools\make_metadata.py", line 6, in <module>
from saml2.config import Config
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\site-packages\saml2\config.py", line 19, in <module>
from saml2.mdstore import MetadataStore
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\site-packages\saml2\mdstore.py", line 44, in <module>
from saml2.httpbase import HTTPBase
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\site-packages\saml2\httpbase.py", line 15, in <module>
from saml2.pack import make_soap_enveloped_saml_thingy
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\site-packages\saml2\pack.py", line 27, in <module>
from saml2.sigver import REQ_ORDER
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\site-packages\saml2\sigver.py", line 31, in <module>
from OpenSSL import crypto
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\site-packages\OpenSSL\__init__.py", line 8, in <module>
from OpenSSL import SSL, crypto
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\site-packages\OpenSSL\SSL.py", line 19, in <module>
from OpenSSL.crypto import (
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\site-packages\OpenSSL\crypto.py", line 3263, in <module>
utils.deprecated(
TypeError: deprecated() got an unexpected keyword argument 'name'
Code Version
latest master
The text was updated successfully, but these errors were encountered:
I am trying to run some example but facing problems:
I'm using windows 2022, I installed with
pip install pysaml2
- was okDocs I am reading: docs/examples/idp.rst
Example I am trying to run : example/idp2
Problem 1: it says run
make_metadata.py idp_conf.py > idp.xml
- there is no such filemake_metadata.py
in the local folderI found that there is such file
..\..\src\saml2\tools\make_metadata.py
and tried with it - > see fail belowCode Version
latest master
The text was updated successfully, but these errors were encountered: