ruby-saml 0.8.8 → 0.8.13
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/Gemfile +11 -1
- data/README.md +5 -2
- data/Rakefile +0 -14
- data/lib/onelogin/ruby-saml/authrequest.rb +86 -20
- data/lib/onelogin/ruby-saml/logoutrequest.rb +95 -20
- data/lib/onelogin/ruby-saml/logoutresponse.rb +5 -28
- data/lib/onelogin/ruby-saml/metadata.rb +5 -5
- data/lib/onelogin/ruby-saml/response.rb +187 -4
- data/lib/onelogin/ruby-saml/setting_error.rb +6 -0
- data/lib/onelogin/ruby-saml/settings.rb +146 -10
- data/lib/onelogin/ruby-saml/slo_logoutresponse.rb +158 -0
- data/lib/onelogin/ruby-saml/utils.rb +169 -0
- data/lib/onelogin/ruby-saml/version.rb +1 -1
- data/lib/ruby-saml.rb +2 -1
- data/lib/xml_security.rb +330 -78
- data/test/certificates/ruby-saml-2.crt +15 -0
- data/test/certificates/ruby-saml.crt +14 -0
- data/test/certificates/ruby-saml.key +15 -0
- data/test/logoutrequest_test.rb +177 -44
- data/test/logoutresponse_test.rb +25 -29
- data/test/request_test.rb +100 -37
- data/test/response_test.rb +213 -111
- data/test/responses/adfs_response_xmlns.xml +45 -0
- data/test/responses/encrypted_new_attack.xml.base64 +1 -0
- data/test/responses/invalids/multiple_signed.xml.base64 +1 -0
- data/test/responses/invalids/no_signature.xml.base64 +1 -0
- data/test/responses/invalids/response_with_concealed_signed_assertion.xml +51 -0
- data/test/responses/invalids/response_with_doubled_signed_assertion.xml +49 -0
- data/test/responses/invalids/signature_wrapping_attack.xml.base64 +1 -0
- data/test/responses/logoutresponse_fixtures.rb +6 -6
- data/test/responses/response_with_concealed_signed_assertion.xml +51 -0
- data/test/responses/response_with_doubled_signed_assertion.xml +49 -0
- data/test/responses/response_with_signed_assertion_3.xml +30 -0
- data/test/responses/response_with_signed_message_and_assertion.xml +34 -0
- data/test/responses/response_with_undefined_recipient.xml.base64 +1 -0
- data/test/responses/response_wrapped.xml.base64 +150 -0
- data/test/responses/valid_response.xml.base64 +1 -0
- data/test/responses/valid_response_without_x509certificate.xml.base64 +1 -0
- data/test/settings_test.rb +7 -7
- data/test/slo_logoutresponse_test.rb +226 -0
- data/test/test_helper.rb +117 -12
- data/test/utils_test.rb +10 -10
- data/test/xml_security_test.rb +310 -68
- metadata +88 -45
metadata
CHANGED
@@ -1,49 +1,54 @@
|
|
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.13
|
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
|
-
|
14
|
-
- !ruby/object:Gem::Dependency
|
11
|
+
date: 2020-07-23 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
15
14
|
name: uuid
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
version: "2.3"
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '2.3'
|
22
20
|
type: :runtime
|
23
|
-
version_requirements: *id001
|
24
|
-
- !ruby/object:Gem::Dependency
|
25
|
-
name: nokogiri
|
26
21
|
prerelease: false
|
27
|
-
|
28
|
-
requirements:
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '2.3'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: nokogiri
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
29
31
|
- - ">="
|
30
|
-
- !ruby/object:Gem::Version
|
32
|
+
- !ruby/object:Gem::Version
|
31
33
|
version: 1.5.0
|
32
34
|
type: :runtime
|
33
|
-
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 1.5.0
|
34
41
|
description: SAML toolkit for Ruby on Rails
|
35
42
|
email: support@onelogin.com
|
36
43
|
executables: []
|
37
|
-
|
38
44
|
extensions: []
|
39
|
-
|
40
|
-
extra_rdoc_files:
|
45
|
+
extra_rdoc_files:
|
41
46
|
- LICENSE
|
42
47
|
- README.md
|
43
|
-
files:
|
44
|
-
- .document
|
45
|
-
- .gitignore
|
46
|
-
- .travis.yml
|
48
|
+
files:
|
49
|
+
- ".document"
|
50
|
+
- ".gitignore"
|
51
|
+
- ".travis.yml"
|
47
52
|
- Gemfile
|
48
53
|
- LICENSE
|
49
54
|
- README.md
|
@@ -56,7 +61,9 @@ files:
|
|
56
61
|
- lib/onelogin/ruby-saml/logoutresponse.rb
|
57
62
|
- lib/onelogin/ruby-saml/metadata.rb
|
58
63
|
- lib/onelogin/ruby-saml/response.rb
|
64
|
+
- lib/onelogin/ruby-saml/setting_error.rb
|
59
65
|
- lib/onelogin/ruby-saml/settings.rb
|
66
|
+
- lib/onelogin/ruby-saml/slo_logoutresponse.rb
|
60
67
|
- lib/onelogin/ruby-saml/utils.rb
|
61
68
|
- lib/onelogin/ruby-saml/validation_error.rb
|
62
69
|
- lib/onelogin/ruby-saml/version.rb
|
@@ -69,6 +76,9 @@ files:
|
|
69
76
|
- ruby-saml.gemspec
|
70
77
|
- test/certificates/certificate1
|
71
78
|
- test/certificates/r1_certificate2_base64
|
79
|
+
- test/certificates/ruby-saml-2.crt
|
80
|
+
- test/certificates/ruby-saml.crt
|
81
|
+
- test/certificates/ruby-saml.key
|
72
82
|
- test/logoutrequest_test.rb
|
73
83
|
- test/logoutresponse_test.rb
|
74
84
|
- test/request_test.rb
|
@@ -77,6 +87,13 @@ files:
|
|
77
87
|
- test/responses/adfs_response_sha256.xml
|
78
88
|
- test/responses/adfs_response_sha384.xml
|
79
89
|
- test/responses/adfs_response_sha512.xml
|
90
|
+
- test/responses/adfs_response_xmlns.xml
|
91
|
+
- test/responses/encrypted_new_attack.xml.base64
|
92
|
+
- test/responses/invalids/multiple_signed.xml.base64
|
93
|
+
- test/responses/invalids/no_signature.xml.base64
|
94
|
+
- test/responses/invalids/response_with_concealed_signed_assertion.xml
|
95
|
+
- test/responses/invalids/response_with_doubled_signed_assertion.xml
|
96
|
+
- test/responses/invalids/signature_wrapping_attack.xml.base64
|
80
97
|
- test/responses/logoutresponse_fixtures.rb
|
81
98
|
- test/responses/no_signature_ns.xml
|
82
99
|
- test/responses/open_saml_response.xml
|
@@ -90,44 +107,54 @@ files:
|
|
90
107
|
- test/responses/response_node_text_attack.xml.base64
|
91
108
|
- test/responses/response_with_ampersands.xml
|
92
109
|
- test/responses/response_with_ampersands.xml.base64
|
110
|
+
- test/responses/response_with_concealed_signed_assertion.xml
|
111
|
+
- test/responses/response_with_doubled_signed_assertion.xml
|
93
112
|
- test/responses/response_with_multiple_attribute_statements.xml
|
94
113
|
- test/responses/response_with_multiple_attribute_values.xml
|
114
|
+
- test/responses/response_with_signed_assertion_3.xml
|
115
|
+
- test/responses/response_with_signed_message_and_assertion.xml
|
116
|
+
- test/responses/response_with_undefined_recipient.xml.base64
|
117
|
+
- test/responses/response_wrapped.xml.base64
|
95
118
|
- test/responses/simple_saml_php.xml
|
96
119
|
- test/responses/starfield_response.xml.base64
|
120
|
+
- test/responses/valid_response.xml.base64
|
121
|
+
- test/responses/valid_response_without_x509certificate.xml.base64
|
97
122
|
- test/responses/wrapped_response_2.xml.base64
|
98
123
|
- test/settings_test.rb
|
124
|
+
- test/slo_logoutresponse_test.rb
|
99
125
|
- test/test_helper.rb
|
100
126
|
- test/utils_test.rb
|
101
127
|
- test/xml_security_test.rb
|
102
128
|
homepage: http://github.com/onelogin/ruby-saml
|
103
129
|
licenses: []
|
104
|
-
|
105
130
|
metadata: {}
|
106
|
-
|
107
131
|
post_install_message:
|
108
|
-
rdoc_options:
|
109
|
-
- --charset=UTF-8
|
110
|
-
require_paths:
|
132
|
+
rdoc_options:
|
133
|
+
- "--charset=UTF-8"
|
134
|
+
require_paths:
|
111
135
|
- lib
|
112
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
113
|
-
requirements:
|
114
|
-
-
|
115
|
-
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
136
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
137
|
+
requirements:
|
138
|
+
- - ">="
|
139
|
+
- !ruby/object:Gem::Version
|
140
|
+
version: '0'
|
141
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - ">="
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: '0'
|
121
146
|
requirements: []
|
122
|
-
|
123
147
|
rubyforge_project: http://www.rubygems.org/gems/ruby-saml
|
124
|
-
rubygems_version: 2.
|
148
|
+
rubygems_version: 2.4.8
|
125
149
|
signing_key:
|
126
150
|
specification_version: 4
|
127
151
|
summary: SAML Ruby Tookit
|
128
|
-
test_files:
|
152
|
+
test_files:
|
129
153
|
- test/certificates/certificate1
|
130
154
|
- test/certificates/r1_certificate2_base64
|
155
|
+
- test/certificates/ruby-saml-2.crt
|
156
|
+
- test/certificates/ruby-saml.crt
|
157
|
+
- test/certificates/ruby-saml.key
|
131
158
|
- test/logoutrequest_test.rb
|
132
159
|
- test/logoutresponse_test.rb
|
133
160
|
- test/request_test.rb
|
@@ -136,6 +163,13 @@ test_files:
|
|
136
163
|
- test/responses/adfs_response_sha256.xml
|
137
164
|
- test/responses/adfs_response_sha384.xml
|
138
165
|
- test/responses/adfs_response_sha512.xml
|
166
|
+
- test/responses/adfs_response_xmlns.xml
|
167
|
+
- test/responses/encrypted_new_attack.xml.base64
|
168
|
+
- test/responses/invalids/multiple_signed.xml.base64
|
169
|
+
- test/responses/invalids/no_signature.xml.base64
|
170
|
+
- test/responses/invalids/response_with_concealed_signed_assertion.xml
|
171
|
+
- test/responses/invalids/response_with_doubled_signed_assertion.xml
|
172
|
+
- test/responses/invalids/signature_wrapping_attack.xml.base64
|
139
173
|
- test/responses/logoutresponse_fixtures.rb
|
140
174
|
- test/responses/no_signature_ns.xml
|
141
175
|
- test/responses/open_saml_response.xml
|
@@ -149,12 +183,21 @@ test_files:
|
|
149
183
|
- test/responses/response_node_text_attack.xml.base64
|
150
184
|
- test/responses/response_with_ampersands.xml
|
151
185
|
- test/responses/response_with_ampersands.xml.base64
|
186
|
+
- test/responses/response_with_concealed_signed_assertion.xml
|
187
|
+
- test/responses/response_with_doubled_signed_assertion.xml
|
152
188
|
- test/responses/response_with_multiple_attribute_statements.xml
|
153
189
|
- test/responses/response_with_multiple_attribute_values.xml
|
190
|
+
- test/responses/response_with_signed_assertion_3.xml
|
191
|
+
- test/responses/response_with_signed_message_and_assertion.xml
|
192
|
+
- test/responses/response_with_undefined_recipient.xml.base64
|
193
|
+
- test/responses/response_wrapped.xml.base64
|
154
194
|
- test/responses/simple_saml_php.xml
|
155
195
|
- test/responses/starfield_response.xml.base64
|
196
|
+
- test/responses/valid_response.xml.base64
|
197
|
+
- test/responses/valid_response_without_x509certificate.xml.base64
|
156
198
|
- test/responses/wrapped_response_2.xml.base64
|
157
199
|
- test/settings_test.rb
|
200
|
+
- test/slo_logoutresponse_test.rb
|
158
201
|
- test/test_helper.rb
|
159
202
|
- test/utils_test.rb
|
160
203
|
- test/xml_security_test.rb
|