lib/saml/kit/signature.rb in saml-kit-1.0.31 vs lib/saml/kit/signature.rb in saml-kit-1.1.0
- old
+ new
@@ -103,10 +103,10 @@
return if dsignature.valid?(certificate.x509)
dsignature.errors.each do |attribute|
errors.add(attribute, error_message(attribute))
end
- rescue Xmldsig::SchemaError => error
+ rescue StandardError => error
errors.add(:base, error.message)
end
def validate_certificate(now = Time.now.utc)
return unless certificate.present?