We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bc8fa9e commit eb70449Copy full SHA for eb70449
test/response_test.rb
@@ -972,6 +972,16 @@ def generate_audience_error(expected, actual)
972
assert_empty response_valid_signed.errors
973
end
974
975
+ it "return true when at least a cert on idp_cert_multi is valid and keys are strings" do
976
+ settings.idp_cert_multi = {
977
+ "signing" => [ruby_saml_cert_text2, ruby_saml_cert_text],
978
+ "encryption" => []
979
+ }
980
+ response_valid_signed.settings = settings
981
+ res = response_valid_signed.send(:validate_signature)
982
+ assert_empty response_valid_signed.errors
983
+ end
984
+
985
it "return false when none cert on idp_cert_multi is valid" do
986
settings.idp_cert_fingerprint = ruby_saml_cert_fingerprint
987
settings.idp_cert_multi = {
0 commit comments