Skip to content
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

Support servers that #23

Open
matthijsmelissen opened this issue Dec 20, 2017 · 4 comments
Open

Support servers that #23

matthijsmelissen opened this issue Dec 20, 2017 · 4 comments
Labels

Comments

@matthijsmelissen
Copy link

Recently, I have encountered a couple of SAML implementations where the service provider does not accept the output generated by SAMLRaider. I have tested this by making a change in the SAML Raider edit box, undoing that change, and submitting the request, which is rejected by the server. Resubmitting the original code works fine.

Closer inspection shows that this is caused by linebreaks that are inserted by SAMLRaider. It seems the first couple of linebreaks are accepted by the server, but in my case inserting a linebreak (manually, without using SAMLRaider) between ds:SignedInfo and <ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/> triggers an error at the server. This might well be a bug in the SAML implementation rather than in SAMLRaider, but nevertheless something that prevents testing with SAMLRaider.

One implementation that seems to suffer from this is Saml2-js.

Would it be possible to find a solution for this? If it is not possible to find the root cause, would it be possible to add a setting that disables adding the linebreaks?

@dmg2
Copy link

dmg2 commented Mar 28, 2018

I am having the same issue. Any updates regarding this issue? @matthijsmelissen did you find an alternate solution/tool besides saml raider that allowed you to test SAML implementations?

@matthijsmelissen
Copy link
Author

Unfortunately not.

@emanuelduss
Copy link
Member

Thanks for reporting. I'll try to fix this the next time i work on the project.

@lindi2
Copy link

lindi2 commented Dec 12, 2018

This is a duplicate of #12 as far as I can see.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants