ruby-saml 0.8.4 → 0.8.5
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of ruby-saml might be problematic. Click here for more details.
- checksums.yaml +7 -7
- data/.travis.yml +6 -0
- data/Gemfile +1 -1
- data/lib/onelogin/ruby-saml/authrequest.rb +5 -1
- data/lib/onelogin/ruby-saml/logoutrequest.rb +5 -1
- data/lib/onelogin/ruby-saml/version.rb +1 -1
- metadata +45 -48
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
|
-
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
5
|
-
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
1
|
+
---
|
2
|
+
SHA512:
|
3
|
+
metadata.gz: 8489326fd3207aa709c005557141665444ef5653c4850520908e7bbc16cb8cb6529fe6bf7d85ee7cb7f896a441ac078fa8eca87341c1737bbb8cc2c6a1712e54
|
4
|
+
data.tar.gz: dc7006007ed9e9bfa190401c4e003992ff66786854dfac4725b956714281eba2503d83814653674f171a02885c136adc078d5c13e3d6277f9677989591c6d375
|
5
|
+
SHA256:
|
6
|
+
metadata.gz: 024d00094972f6386863705f834f4ecb2c4e42d5b462181573151493211cfd52
|
7
|
+
data.tar.gz: 7346f35e9750a26de6b4d1079817ef148945c4949bdaa05ba0249e72ecac0a64
|
data/.travis.yml
CHANGED
data/Gemfile
CHANGED
@@ -21,7 +21,11 @@ module OneLogin
|
|
21
21
|
Logging.debug "Created AuthnRequest: #{request}"
|
22
22
|
|
23
23
|
request = Zlib::Deflate.deflate(request, 9)[2..-5] if settings.compress_request
|
24
|
-
|
24
|
+
if Base64.respond_to?('strict_encode64')
|
25
|
+
base64_request = Base64.strict_encode64(request)
|
26
|
+
else
|
27
|
+
base64_request = Base64.encode64(request).gsub(/\n/, "")
|
28
|
+
end
|
25
29
|
encoded_request = CGI.escape(base64_request)
|
26
30
|
params_prefix = (settings.idp_sso_target_url =~ /\?/) ? '&' : '?'
|
27
31
|
request_params = "#{params_prefix}SAMLRequest=#{encoded_request}"
|
@@ -20,7 +20,11 @@ module OneLogin
|
|
20
20
|
request_doc.write(request)
|
21
21
|
|
22
22
|
deflated_request = Zlib::Deflate.deflate(request, 9)[2..-5]
|
23
|
-
|
23
|
+
if Base64.respond_to?('strict_encode64')
|
24
|
+
base64_request = Base64.strict_encode64(deflated_request)
|
25
|
+
else
|
26
|
+
base64_request = Base64.encode64(deflated_request).gsub(/\n/, "")
|
27
|
+
end
|
24
28
|
encoded_request = CGI.escape(base64_request)
|
25
29
|
|
26
30
|
params_prefix = (settings.idp_slo_target_url =~ /\?/) ? '&' : '?'
|
metadata
CHANGED
@@ -1,54 +1,49 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruby-saml
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.8.5
|
5
5
|
platform: ruby
|
6
|
-
authors:
|
6
|
+
authors:
|
7
7
|
- OneLogin LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
|
12
|
-
|
13
|
-
|
11
|
+
|
12
|
+
date: 2018-09-12 00:00:00 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
14
15
|
name: uuid
|
15
|
-
requirement: !ruby/object:Gem::Requirement
|
16
|
-
requirements:
|
17
|
-
- - "~>"
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: '2.3'
|
20
|
-
type: :runtime
|
21
16
|
prerelease: false
|
22
|
-
|
23
|
-
requirements:
|
24
|
-
- -
|
25
|
-
- !ruby/object:Gem::Version
|
26
|
-
version:
|
27
|
-
- !ruby/object:Gem::Dependency
|
28
|
-
name: nokogiri
|
29
|
-
requirement: !ruby/object:Gem::Requirement
|
30
|
-
requirements:
|
31
|
-
- - ">="
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: 1.5.0
|
17
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
18
|
+
requirements:
|
19
|
+
- - ~>
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: "2.3"
|
34
22
|
type: :runtime
|
23
|
+
version_requirements: *id001
|
24
|
+
- !ruby/object:Gem::Dependency
|
25
|
+
name: nokogiri
|
35
26
|
prerelease: false
|
36
|
-
|
37
|
-
requirements:
|
27
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
28
|
+
requirements:
|
38
29
|
- - ">="
|
39
|
-
- !ruby/object:Gem::Version
|
30
|
+
- !ruby/object:Gem::Version
|
40
31
|
version: 1.5.0
|
32
|
+
type: :runtime
|
33
|
+
version_requirements: *id002
|
41
34
|
description: SAML toolkit for Ruby on Rails
|
42
35
|
email: support@onelogin.com
|
43
36
|
executables: []
|
37
|
+
|
44
38
|
extensions: []
|
45
|
-
|
39
|
+
|
40
|
+
extra_rdoc_files:
|
46
41
|
- LICENSE
|
47
42
|
- README.md
|
48
|
-
files:
|
49
|
-
-
|
50
|
-
-
|
51
|
-
-
|
43
|
+
files:
|
44
|
+
- .document
|
45
|
+
- .gitignore
|
46
|
+
- .travis.yml
|
52
47
|
- Gemfile
|
53
48
|
- LICENSE
|
54
49
|
- README.md
|
@@ -103,29 +98,31 @@ files:
|
|
103
98
|
- test/xml_security_test.rb
|
104
99
|
homepage: http://github.com/onelogin/ruby-saml
|
105
100
|
licenses: []
|
101
|
+
|
106
102
|
metadata: {}
|
103
|
+
|
107
104
|
post_install_message:
|
108
|
-
rdoc_options:
|
109
|
-
-
|
110
|
-
require_paths:
|
105
|
+
rdoc_options:
|
106
|
+
- --charset=UTF-8
|
107
|
+
require_paths:
|
111
108
|
- lib
|
112
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
113
|
-
requirements:
|
114
|
-
-
|
115
|
-
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
version: '0'
|
109
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
110
|
+
requirements:
|
111
|
+
- &id003
|
112
|
+
- ">="
|
113
|
+
- !ruby/object:Gem::Version
|
114
|
+
version: "0"
|
115
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
116
|
+
requirements:
|
117
|
+
- *id003
|
122
118
|
requirements: []
|
119
|
+
|
123
120
|
rubyforge_project: http://www.rubygems.org/gems/ruby-saml
|
124
|
-
rubygems_version: 2.
|
121
|
+
rubygems_version: 2.7.7
|
125
122
|
signing_key:
|
126
123
|
specification_version: 4
|
127
124
|
summary: SAML Ruby Tookit
|
128
|
-
test_files:
|
125
|
+
test_files:
|
129
126
|
- test/certificates/certificate1
|
130
127
|
- test/certificates/r1_certificate2_base64
|
131
128
|
- test/logoutrequest_test.rb
|