-
-
Notifications
You must be signed in to change notification settings - Fork 566
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
undefined method 'empty?' for an instance of OpenSSL::X509::Certificate with version 1.17.0 #723
Comments
certificate and private_key are related with the SP. In order to validate the SAMLResponse, you need to provide the idp_certificate. |
Correct, but this does not seem to be the issue here. I've just realized that there actually was a related change introduced with 1.17.0 (sorry, haven't seen this earlier). The real issue here is that I'm passing an instance of Now with 1.17.0, Question is: should |
@tobiasamft , Can you check if this change solves your issue?
|
Works partially, then you have another issue with
There might be additional methods with this problem. |
If you want to support both, |
Ok please, send that PR and will review it. If it was working in the past, it makes sense to keep it. |
Finally found some time to open PR #726. |
Hi, I'm observing the following error after updating ruby-saml from 1.16.0 to 1.17.0:
I've tested the following code snippet:
I've used the certificate, key, and xml from this repo to test it:
(My assumption is that ruby-saml.crt and ruby-saml.key have been used for encryption, otherwise I would get another error with version 1.16.0 like
OpenSSL::PKey::PKeyError: EVP_PKEY_decrypt: failed to decrypt
)Any idea why this fails after updating from 1.16.0 to 1.17.0? Code in settings.rb hasn't been changed with the new version.
With version 1.16.0, a valid response is rendered. I've tested with Ruby 3.3.4 and 3.3.5.
The text was updated successfully, but these errors were encountered: