Giter VIP home page Giter VIP logo

Comments (6)

christianbpedersen avatar christianbpedersen commented on July 18, 2024

Very odd - I'm not seeing that when I run the tests here?

from ruby-saml.

ekolve avatar ekolve commented on July 18, 2024

Does validate_doc return true for you? Did you try adding the assert that I added in? What version of ruby are you running?

from ruby-saml.

christianbpedersen avatar christianbpedersen commented on July 18, 2024

ruby 1.8.7 (2009-06-12 patchlevel 174) [universal-darwin10.0]

It's this test,right:

should "should provide getters and settings" do
  base64cert = @document.elements["//ds:X509Certificate"].text
  @document.validate_doc(base64cert, nil)
end

from ruby-saml.

ekolve avatar ekolve commented on July 18, 2024

Correct. What I am seeing is that the statement:

@document.validate_doc(base64cert, nil)

is returning false.

from ruby-saml.

morten avatar morten commented on July 18, 2024

Hi Eric,

The point of the test was to provoke the behavior you reported here https://github.com/onelogin/ruby-saml/issues/issue/1 - so it's not about asserting the outcome of the validate call, it's about not getting an exception. I've rephrased the should statement.

Morten

from ruby-saml.

ekolve avatar ekolve commented on July 18, 2024

Got it, that makes more sense. I am trying to get a validate_doc call to pass to confirm that a signature can be verified, is there some static response that I can use to confirm that this works?

thanks,
eric

from ruby-saml.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.