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 facing some issues while trying to make the djangosaml2 sample work in Windows. I can not sign the request before sending it to the IdP because xmlsec can not read the temporary file with the assertion XML. The problem is that this temporary file keeps opened by python process and the xmlsec process can not open it.
Code Version
pysaml2 7.4.2
djangosaml2 1.8.0
Expected Behavior
The _run_xmlsec method signs the temporary file XML.
Hello:
I am facing some issues while trying to make the djangosaml2 sample work in Windows. I can not sign the request before sending it to the IdP because xmlsec can not read the temporary file with the assertion XML. The problem is that this temporary file keeps opened by python process and the xmlsec process can not open it.
Code Version
pysaml2 7.4.2
djangosaml2 1.8.0
Expected Behavior
The _run_xmlsec method signs the temporary file XML.
Current Behavior
I think the problem is in sigver.py sign_statement function:
The make_temp function does not close the tempfile after creating it, so the xmlsec.exe process can not open it.
I managed to copy the assertion XML to other file and I was able to sign it:
Possible Solution
No idea.
Steps to Reproduce
Just clone the djangosaml2 project, configure it and try to login.
The text was updated successfully, but these errors were encountered: