pysaml2
pysaml2 copied to clipboard
Howto generate signed Response with desired namespaces (saml,samlp,ds, etc...)
Hi, I'd like to use pysaml2 for IdP side implementation.
Code Version
v4.8.0
Expected Behavior
I would like to generate signed Response with saml2 namespaces (saml,saml2,ds ...)
Current Behavior
Signed Response generated with default namespaces (ns0,ns1) With unsigned version I've applied register_prefix on returned response and got Response with desired namespaces, however with signed version I'm getting signed xml string.
Possible Solution
To workaround this I've added prefix registration at sigver.py::signed_instance_factory Is there a way to do it on server.py level? without modifying inner modules?
Thanks
Steps to Reproduce
The solution would be the following https://github.com/IdentityPython/pysaml2/pull/625
It should be merged soon, otherwise you can cherry-pick from my branch to your
Otherwise, got It to work with my pysaml2 fork https://uniauth.readthedocs.io/en/latest/ Enjoy
Thanks a lot
On Sun, Oct 27, 2019 at 3:05 PM Giuseppe De Marco [email protected] wrote:
Otherwise, got It to work with my pysaml2 fork https://uniauth.readthedocs.io/en/latest/ Enjoy
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/IdentityPython/pysaml2/issues/650?email_source=notifications&email_token=ABDWN36XXCCA7UJZS5OQ6K3QQV72DA5CNFSM4JFRALFKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOECK55XQ#issuecomment-546692830, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABDWN3756NVTPCTZHQQ36BDQQV72DANCNFSM4JFRALFA .
--
Any update to this ? I am trying to do the same but its not working Fork of @peppelinux does not seem to exist either ?
You find It here with some more things in https://github.com/peppelinux/pysaml2/tree/pplnx-7.0.1