ruby-samlnechotech 0.7.33 → 0.7.34
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 83acf516a41f0c28c18108b8f5b5ffbcc4698e1a
|
|
4
|
+
data.tar.gz: f83184add5a75fcf488b2ff879a5816e0298a2e6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6348a6a9abeb1d41a1851351c473aaa0c9643ace578a811ddd3c3090f960da79b37eba635f5a30bf0ea2b8924e65d6f79d2415a96e164569886922522d73e60f
|
|
7
|
+
data.tar.gz: 45eb2a6a53c8c03977e26038e995a64c544cff803e9a6c47664057889ce383211515ee334af85db7d0ab3bf5bbbb07abfcdeb850daba145af68bb3159dfeb289
|
|
@@ -18,8 +18,6 @@ module Onelogin
|
|
|
18
18
|
request = ""
|
|
19
19
|
request_doc.write(request)
|
|
20
20
|
|
|
21
|
-
Logging.debug "Created AuthnRequest:\n#{request}\n"
|
|
22
|
-
|
|
23
21
|
request = Zlib::Deflate.deflate(request, 9)[2..-5] if settings.compress_request
|
|
24
22
|
base64_request = Base64.encode64(request)
|
|
25
23
|
encoded_request = CGI.escape(base64_request)
|
|
@@ -37,7 +37,6 @@ module Onelogin
|
|
|
37
37
|
cert = OpenSSL::X509::Certificate.new(cert_text)
|
|
38
38
|
# check cert matches registered idp cert
|
|
39
39
|
fingerprint = Digest::SHA1.hexdigest(cert.to_der)
|
|
40
|
-
Logging.debug "Fingerprint:\n#{fingerprint}\n"
|
|
41
40
|
valid_flag = fingerprint == idp_cert_fingerprint.gsub(":", "").downcase
|
|
42
41
|
|
|
43
42
|
return valid_flag if !valid_flag
|
|
@@ -98,7 +97,6 @@ module Onelogin
|
|
|
98
97
|
# Checks the status of the response for a "Success" code
|
|
99
98
|
# (nechotech: ...or a "NoPassive" secondary status code)
|
|
100
99
|
def success?
|
|
101
|
-
log()
|
|
102
100
|
@status_code ||= begin
|
|
103
101
|
node = REXML::XPath.first(document, "/p:Response/p:Status/p:StatusCode", { "p" => PROTOCOL, "a" => ASSERTION })
|
|
104
102
|
primary_status = node.attributes["Value"]
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: ruby-samlnechotech
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.7.
|
|
4
|
+
version: 0.7.34
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- OneLogin LLC, beekermememe
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2013-06-
|
|
11
|
+
date: 2013-06-24 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: canonix
|