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

Messed up with a valid response and it still tests as valid. #546

Closed

Conversation

HendrikJan
Copy link
Contributor

Description

I am unsure if this new test shows a bug in the response validation.

For this test I copied the valid response valid/response.root-signed.assertion-signed.xml and replaced the text "https://evil-corp.com" for "https://hacker-corp.com".
I placed this invalid response in invalid/response.root-invalidly-signed.assertion-signed.xml.

This new file should be an invalid response (because I have tempered with the contents).
Therefore the test should result in "Invalid signature", but what it does return is: "SAML assertion expired".

Is this an error, or am I missing something here?

Checklist:

  • Issue Addressed: [ ]
  • Link to SAML spec: [ ]
  • Tests included? [x]
  • Documentation updated? [ ]

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

Successfully merging this pull request may close these issues.

1 participant