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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 71dca6d647a7700a531309e35833e8578bf29580
4
- data.tar.gz: 560cec6e7c0526c3912e619a51de99687661a50b
3
+ metadata.gz: 73828b8885191ce12e35df0b06cebf4d7c9feafc
4
+ data.tar.gz: 25569776617ff39d7ae61065976f6931802f58f3
5
5
  SHA512:
6
- metadata.gz: aa999f934b6db50e724189269539e82ec2118577a53fa7822a59b4db2409a1b36bb41edffc90fc912abdec7cd781564ab925acb3b7a417e47fd7b735945b3934
7
- data.tar.gz: c7785ad716252b467e05589209e0aab7c438766d4e28958db14a708813f1b8e456c91b75d05f137b694cf534f18dbdc8d93caa5bdf2ba349763dea80b899ae6c
6
+ metadata.gz: 6009e7056c91b0575d8cd9505686c052fbf57b826b0ab9ea08ae8f5d0b4fcc5448edfbab8facd352d32b82e9ee59a25cc2ffe2cd92fbe61dcfbce772f7da8a85
7
+ data.tar.gz: 8b9a3d9817eeff042ae0c7f16d23918cf837f8f293ab7b2bef376bac36365baabe0999a7c6a7ff2c2ed3b2eda234706111da3a8c2c5327b1b39a5add5b9ff5ee
@@ -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
 
@@ -1,3 +1,3 @@
1
1
  module Samlr
2
- VERSION = "2.6.1"
2
+ VERSION = "2.6.2"
3
3
  end
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.1
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: 2017-06-09 00:00:00.000000000 Z
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.4.5.1
158
+ rubygems_version: 2.5.1
159
159
  signing_key:
160
160
  specification_version: 4
161
161
  summary: Ruby tools for SAML