Comments (6)
Very odd - I'm not seeing that when I run the tests here?
from ruby-saml.
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.
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.
Correct. What I am seeing is that the statement:
@document.validate_doc(base64cert, nil)
is returning false.
from ruby-saml.
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.
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)
- Parse Remote Chooses POST over Redirect HOT 3
- Validate signature of published federation metadata HOT 3
- This project is currently not under active development HOT 5
- SAML Request signing broken due to `strip!` method HOT 7
- Add secure channel for security incident reporting
- Homepage in gemspec points to "Page not found"
- Update Readme how to use parser's options HOT 4
- Remove OneLogin namespace (in a major version upgrade) HOT 2
- Using ECDSA private key causes OpenSSL::PKey::RSAError
- ArgumentError: key must be 32 bytes HOT 2
- Link on Rubygems page is wrong
- ruby toolkit sample code has incorrect module name HOT 1
- Fun & games with AWS Identity center HOT 9
- Missing name id for valid SloLogoutrequest HOT 3
- Assertion Consumer Service URL vs Recipient HOT 2
- v2.1: Improve check_idp_cert_expiration behavior
- v2.1: Validate certificate vs private_key HOT 3
- POST binding should not use compression by default HOT 2
- How to pick which binding to use when parsing metadata? HOT 1
- Add `base64` gem dependency for Ruby 3.4 compatibility HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ruby-saml.