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 +4 -4
- data/lib/saml/bindings/soap.rb +10 -1
- data/lib/saml/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f9b7ad8629b65a5ff1cff879fcb9c14860367c50
|
4
|
+
data.tar.gz: 369ec5e80d51ef48ec4f687cf832a226b80ff157
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d0d4a3d3d68478258c784401ed8023cb98c7cdb3b8c0ceb2a9014e235efb9de53407ca49d32f6845f63694703fe1578ebba82867ba2a52483a8e9d68627fc765
|
7
|
+
data.tar.gz: 9512d33685f71602956dc0eefc9e062b4ae8e31a242ae99b9946c6c356048bf96220fd49fb94555d4ffdd04aea9bad4122bbd2891d63941937c4c3853f3ea6ae
|
data/lib/saml/bindings/soap.rb
CHANGED
@@ -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
|
-
|
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
|
data/lib/saml/version.rb
CHANGED
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.
|
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-
|
11
|
+
date: 2018-10-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|