samlr 2.6.1 → 2.6.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/samlr/response.rb +4 -0
- data/lib/samlr/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 73828b8885191ce12e35df0b06cebf4d7c9feafc
|
4
|
+
data.tar.gz: 25569776617ff39d7ae61065976f6931802f58f3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6009e7056c91b0575d8cd9505686c052fbf57b826b0ab9ea08ae8f5d0b4fcc5448edfbab8facd352d32b82e9ee59a25cc2ffe2cd92fbe61dcfbce772f7da8a85
|
7
|
+
data.tar.gz: 8b9a3d9817eeff042ae0c7f16d23918cf837f8f293ab7b2bef376bac36365baabe0999a7c6a7ff2c2ed3b2eda234706111da3a8c2c5327b1b39a5add5b9ff5ee
|
data/lib/samlr/response.rb
CHANGED
@@ -22,6 +22,10 @@ module Samlr
|
|
22
22
|
raise Samlr::SignatureError.new("Neither response nor assertion signed with a certificate")
|
23
23
|
end
|
24
24
|
|
25
|
+
if document.xpath("//samlp:Response", Samlr::NS_MAP).size > 1
|
26
|
+
raise Samlr::FormatError.new("multiple responses")
|
27
|
+
end
|
28
|
+
|
25
29
|
signature.verify! unless signature.missing?
|
26
30
|
assertion.verify!
|
27
31
|
|
data/lib/samlr/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: samlr
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.6.
|
4
|
+
version: 2.6.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Morten Primdahl
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-07-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: nokogiri
|
@@ -155,7 +155,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
155
155
|
version: '0'
|
156
156
|
requirements: []
|
157
157
|
rubyforge_project:
|
158
|
-
rubygems_version: 2.
|
158
|
+
rubygems_version: 2.5.1
|
159
159
|
signing_key:
|
160
160
|
specification_version: 4
|
161
161
|
summary: Ruby tools for SAML
|