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

want_assertions_encrypted should add a validation to require IdP encryption #714

Open
johnnyshields opened this issue Jul 15, 2024 · 0 comments

Comments

@johnnyshields
Copy link
Collaborator

johnnyshields commented Jul 15, 2024

The want_assertions_encrypted currently only controls whether encryption-related certs are included in the SP metadata. There is no validation that the IdP is actually using encryption.

Compare with want_assertions_signed, which does add such a validation:

     # in response.rb
      if settings.security[:want_assertions_signed] && !(signed_elements.include? "Assertion")
        return append_error("The Assertion of the Response is not signed and the SP requires it")
      end
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

No branches or pull requests

1 participant