zendesk / samlr

Clean room implementation of SAML for Ruby
Apache License 2.0
30 stars 12 forks source link

Support responses without embedded certificate info #5

Closed colonel-sanders closed 11 years ago

colonel-sanders commented 11 years ago

The KeyInfo element within a signature is optional, and some Identity Providers choose to leave it out of a Response. This PR allows such Responses to still be validated through the use of options[:certificate].

The main changes here:

Feedback is appreciated!

morten commented 11 years ago

Very nice. Thanks. Will merge and push v1.1.0 shortly.