libsaml 3.2.2 → 3.2.3

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: dbada4b215e191b20ac43b7f660357488aa3f653
4
- data.tar.gz: 441f6279105d4bbe5c979c86236dc12e1a8513e7
3
+ metadata.gz: f9b7ad8629b65a5ff1cff879fcb9c14860367c50
4
+ data.tar.gz: 369ec5e80d51ef48ec4f687cf832a226b80ff157
5
5
  SHA512:
6
- metadata.gz: 25f52d94c02793dc5199921bb2a5f126d686f945aa2d72d2672ed7e9994acb568a1c1a008e59cf0ba94bbda4b432e539d1faf85bb809d28c77fd4fe00690d129
7
- data.tar.gz: 268fa8e37192828053a4735c9b9376d8b80266b448d6a1f0df4e7000fbf5766cfa6639ebd93d775e57294a224503b370a1912a9f07d916cdd00be136d1cea764
6
+ metadata.gz: d0d4a3d3d68478258c784401ed8023cb98c7cdb3b8c0ceb2a9014e235efb9de53407ca49d32f6845f63694703fe1578ebba82867ba2a52483a8e9d68627fc765
7
+ data.tar.gz: 9512d33685f71602956dc0eefc9e062b4ae8e31a242ae99b9946c6c356048bf96220fd49fb94555d4ffdd04aea9bad4122bbd2891d63941937c4c3853f3ea6ae
@@ -29,7 +29,16 @@ module Saml
29
29
  notify('receive_message', raw_xml)
30
30
  message = Saml.parse_message(raw_xml, type)
31
31
 
32
- Saml::Util.verify_xml(message, raw_xml)
32
+ skip_signature_verification = (
33
+ message.is_a?(Saml::AuthnRequest) &&
34
+ !message.provider.authn_requests_signed?
35
+ )
36
+
37
+ if skip_signature_verification
38
+ message
39
+ else
40
+ Saml::Util.verify_xml(message, raw_xml)
41
+ end
33
42
  end
34
43
  end
35
44
  end
@@ -1,3 +1,3 @@
1
1
  module Saml
2
- VERSION = '3.2.2'
2
+ VERSION = '3.2.3'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: libsaml
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.2.2
4
+ version: 3.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Benoist Claassen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-04-24 00:00:00.000000000 Z
11
+ date: 2018-10-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport