reel 0.5.0 → 0.6.0.pre1
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of reel might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/.rspec +0 -1
- data/.travis.yml +3 -4
- data/CHANGES.md +25 -5
- data/Gemfile +3 -3
- data/Guardfile +13 -23
- data/examples/roundtrip.rb +15 -5
- data/lib/reel.rb +1 -0
- data/lib/reel/connection.rb +4 -2
- data/lib/reel/request.rb +2 -2
- data/lib/reel/request/body.rb +4 -0
- data/lib/reel/request/info.rb +7 -2
- data/lib/reel/request/parser.rb +5 -1
- data/lib/reel/response.rb +2 -2
- data/lib/reel/response/writer.rb +1 -1
- data/lib/reel/server.rb +21 -10
- data/lib/reel/server/http.rb +1 -1
- data/lib/reel/server/https.rb +6 -18
- data/lib/reel/server/unix.rb +18 -0
- data/lib/reel/spy.rb +2 -1
- data/lib/reel/stream.rb +2 -2
- data/lib/reel/version.rb +2 -2
- data/lib/reel/websocket.rb +77 -44
- data/reel.gemspec +4 -1
- data/spec/reel/connection_spec.rb +85 -66
- data/spec/reel/http_server_spec.rb +8 -11
- data/spec/reel/https_server_spec.rb +22 -33
- data/spec/reel/response/writer_spec.rb +1 -1
- data/spec/reel/response_spec.rb +2 -2
- data/spec/reel/unix_server_spec.rb +41 -0
- data/spec/reel/websocket_spec.rb +95 -20
- data/spec/spec_helper.rb +26 -4
- data/spec/support/create_certs.rb +73 -0
- metadata +65 -43
- data/spec/fixtures/ca.crt +0 -27
- data/spec/fixtures/ca.key +0 -27
- data/spec/fixtures/client.crt +0 -83
- data/spec/fixtures/client.key +0 -27
- data/spec/fixtures/client.unsigned.crt +0 -22
- data/spec/fixtures/server.crt +0 -82
- data/spec/fixtures/server.key +0 -27
@@ -0,0 +1,73 @@
|
|
1
|
+
require 'fileutils'
|
2
|
+
require 'certificate_authority'
|
3
|
+
|
4
|
+
FileUtils.mkdir_p(certs_dir)
|
5
|
+
|
6
|
+
#
|
7
|
+
# Certificate Authority
|
8
|
+
#
|
9
|
+
|
10
|
+
ca = CertificateAuthority::Certificate.new
|
11
|
+
|
12
|
+
ca.subject.common_name = 'honestachmed.com'
|
13
|
+
ca.serial_number.number = 1
|
14
|
+
ca.key_material.generate_key
|
15
|
+
ca.signing_entity = true
|
16
|
+
|
17
|
+
ca.sign! 'extensions' => { 'keyUsage' => { 'usage' => %w(critical keyCertSign) } }
|
18
|
+
|
19
|
+
ca_cert_path = File.join(certs_dir, 'ca.crt')
|
20
|
+
ca_key_path = File.join(certs_dir, 'ca.key')
|
21
|
+
|
22
|
+
File.write ca_cert_path, ca.to_pem
|
23
|
+
File.write ca_key_path, ca.key_material.private_key.to_pem
|
24
|
+
|
25
|
+
#
|
26
|
+
# Server Certificate
|
27
|
+
#
|
28
|
+
|
29
|
+
server_cert = CertificateAuthority::Certificate.new
|
30
|
+
server_cert.subject.common_name = '127.0.0.1'
|
31
|
+
server_cert.serial_number.number = 1
|
32
|
+
server_cert.key_material.generate_key
|
33
|
+
server_cert.parent = ca
|
34
|
+
server_cert.sign!
|
35
|
+
|
36
|
+
server_cert_path = File.join(certs_dir, 'server.crt')
|
37
|
+
server_key_path = File.join(certs_dir, 'server.key')
|
38
|
+
|
39
|
+
File.write server_cert_path, server_cert.to_pem
|
40
|
+
File.write server_key_path, server_cert.key_material.private_key.to_pem
|
41
|
+
|
42
|
+
#
|
43
|
+
# Client Certificate
|
44
|
+
#
|
45
|
+
|
46
|
+
client_cert = CertificateAuthority::Certificate.new
|
47
|
+
client_cert.subject.common_name = '127.0.0.1'
|
48
|
+
client_cert.serial_number.number = 1
|
49
|
+
client_cert.key_material.generate_key
|
50
|
+
client_cert.parent = ca
|
51
|
+
client_cert.sign!
|
52
|
+
|
53
|
+
client_cert_path = File.join(certs_dir, 'client.crt')
|
54
|
+
client_key_path = File.join(certs_dir, 'client.key')
|
55
|
+
|
56
|
+
File.write client_cert_path, client_cert.to_pem
|
57
|
+
File.write client_key_path, client_cert.key_material.private_key.to_pem
|
58
|
+
|
59
|
+
#
|
60
|
+
# Self-Signed Client Cert
|
61
|
+
#
|
62
|
+
|
63
|
+
client_unsigned_cert = CertificateAuthority::Certificate.new
|
64
|
+
client_unsigned_cert.subject.common_name = '127.0.0.1'
|
65
|
+
client_unsigned_cert.serial_number.number = 1
|
66
|
+
client_unsigned_cert.key_material.generate_key
|
67
|
+
client_unsigned_cert.sign!
|
68
|
+
|
69
|
+
client_unsigned_cert_path = File.join(certs_dir, 'client.unsigned.crt')
|
70
|
+
client_unsigned_key_path = File.join(certs_dir, 'client.unsigned.key')
|
71
|
+
|
72
|
+
File.write client_unsigned_cert_path, client_unsigned_cert.to_pem
|
73
|
+
File.write client_unsigned_key_path, client_unsigned_cert.key_material.private_key.to_pem
|
metadata
CHANGED
@@ -1,113 +1,155 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: reel
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.6.0.pre1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tony Arcieri
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-03-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
+
type: :runtime
|
14
15
|
name: celluloid
|
16
|
+
prerelease: false
|
15
17
|
requirement: !ruby/object:Gem::Requirement
|
16
18
|
requirements:
|
17
19
|
- - ">="
|
18
20
|
- !ruby/object:Gem::Version
|
19
21
|
version: 0.15.1
|
20
|
-
type: :runtime
|
21
|
-
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: 0.15.1
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
+
type: :runtime
|
28
29
|
name: celluloid-io
|
30
|
+
prerelease: false
|
29
31
|
requirement: !ruby/object:Gem::Requirement
|
30
32
|
requirements:
|
31
33
|
- - ">="
|
32
34
|
- !ruby/object:Gem::Version
|
33
35
|
version: 0.15.0
|
34
|
-
type: :runtime
|
35
|
-
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: 0.15.0
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
|
+
type: :runtime
|
42
43
|
name: http
|
44
|
+
prerelease: false
|
43
45
|
requirement: !ruby/object:Gem::Requirement
|
44
46
|
requirements:
|
45
47
|
- - ">="
|
46
48
|
- !ruby/object:Gem::Version
|
47
49
|
version: 0.6.0.pre
|
48
|
-
type: :runtime
|
49
|
-
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: 0.6.0.pre
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
|
+
type: :runtime
|
56
57
|
name: http_parser.rb
|
58
|
+
prerelease: false
|
57
59
|
requirement: !ruby/object:Gem::Requirement
|
58
60
|
requirements:
|
59
61
|
- - ">="
|
60
62
|
- !ruby/object:Gem::Version
|
61
63
|
version: 0.6.0
|
62
|
-
type: :runtime
|
63
|
-
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - ">="
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: 0.6.0
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
|
-
|
70
|
+
type: :runtime
|
71
|
+
name: websocket-driver
|
72
|
+
prerelease: false
|
71
73
|
requirement: !ruby/object:Gem::Requirement
|
72
74
|
requirements:
|
73
75
|
- - ">="
|
74
76
|
- !ruby/object:Gem::Version
|
75
|
-
version: 0.1
|
77
|
+
version: 0.5.1
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: 0.5.1
|
83
|
+
- !ruby/object:Gem::Dependency
|
76
84
|
type: :runtime
|
85
|
+
name: rack
|
77
86
|
prerelease: false
|
87
|
+
requirement: !ruby/object:Gem::Requirement
|
88
|
+
requirements:
|
89
|
+
- - ">="
|
90
|
+
- !ruby/object:Gem::Version
|
91
|
+
version: '0'
|
78
92
|
version_requirements: !ruby/object:Gem::Requirement
|
79
93
|
requirements:
|
80
94
|
- - ">="
|
81
95
|
- !ruby/object:Gem::Version
|
82
|
-
version: 0
|
96
|
+
version: '0'
|
83
97
|
- !ruby/object:Gem::Dependency
|
98
|
+
type: :development
|
84
99
|
name: rake
|
100
|
+
prerelease: false
|
85
101
|
requirement: !ruby/object:Gem::Requirement
|
86
102
|
requirements:
|
87
103
|
- - ">="
|
88
104
|
- !ruby/object:Gem::Version
|
89
105
|
version: '0'
|
90
|
-
type: :development
|
91
|
-
prerelease: false
|
92
106
|
version_requirements: !ruby/object:Gem::Requirement
|
93
107
|
requirements:
|
94
108
|
- - ">="
|
95
109
|
- !ruby/object:Gem::Version
|
96
110
|
version: '0'
|
97
111
|
- !ruby/object:Gem::Dependency
|
112
|
+
type: :development
|
98
113
|
name: rspec
|
114
|
+
prerelease: false
|
99
115
|
requirement: !ruby/object:Gem::Requirement
|
100
116
|
requirements:
|
101
117
|
- - ">="
|
102
118
|
- !ruby/object:Gem::Version
|
103
119
|
version: 2.11.0
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - ">="
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: 2.11.0
|
125
|
+
- !ruby/object:Gem::Dependency
|
104
126
|
type: :development
|
127
|
+
name: certificate_authority
|
105
128
|
prerelease: false
|
129
|
+
requirement: !ruby/object:Gem::Requirement
|
130
|
+
requirements:
|
131
|
+
- - ">="
|
132
|
+
- !ruby/object:Gem::Version
|
133
|
+
version: '0'
|
106
134
|
version_requirements: !ruby/object:Gem::Requirement
|
107
135
|
requirements:
|
108
136
|
- - ">="
|
109
137
|
- !ruby/object:Gem::Version
|
110
|
-
version:
|
138
|
+
version: '0'
|
139
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
type: :development
|
141
|
+
name: websocket_parser
|
142
|
+
prerelease: false
|
143
|
+
requirement: !ruby/object:Gem::Requirement
|
144
|
+
requirements:
|
145
|
+
- - ">="
|
146
|
+
- !ruby/object:Gem::Version
|
147
|
+
version: 0.1.6
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - ">="
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: 0.1.6
|
111
153
|
description: A Celluloid::IO-powered HTTP server
|
112
154
|
email:
|
113
155
|
- tony.arcieri@gmail.com
|
@@ -149,6 +191,7 @@ files:
|
|
149
191
|
- lib/reel/server.rb
|
150
192
|
- lib/reel/server/http.rb
|
151
193
|
- lib/reel/server/https.rb
|
194
|
+
- lib/reel/server/unix.rb
|
152
195
|
- lib/reel/spy.rb
|
153
196
|
- lib/reel/stream.rb
|
154
197
|
- lib/reel/version.rb
|
@@ -156,21 +199,16 @@ files:
|
|
156
199
|
- log/.gitignore
|
157
200
|
- logo.png
|
158
201
|
- reel.gemspec
|
159
|
-
- spec/fixtures/ca.crt
|
160
|
-
- spec/fixtures/ca.key
|
161
|
-
- spec/fixtures/client.crt
|
162
|
-
- spec/fixtures/client.key
|
163
|
-
- spec/fixtures/client.unsigned.crt
|
164
202
|
- spec/fixtures/example.txt
|
165
|
-
- spec/fixtures/server.crt
|
166
|
-
- spec/fixtures/server.key
|
167
203
|
- spec/reel/connection_spec.rb
|
168
204
|
- spec/reel/http_server_spec.rb
|
169
205
|
- spec/reel/https_server_spec.rb
|
170
206
|
- spec/reel/response/writer_spec.rb
|
171
207
|
- spec/reel/response_spec.rb
|
208
|
+
- spec/reel/unix_server_spec.rb
|
172
209
|
- spec/reel/websocket_spec.rb
|
173
210
|
- spec/spec_helper.rb
|
211
|
+
- spec/support/create_certs.rb
|
174
212
|
- spec/support/example_request.rb
|
175
213
|
- tasks/rspec.rake
|
176
214
|
homepage: https://github.com/celluloid/reel
|
@@ -187,29 +225,13 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
187
225
|
version: '0'
|
188
226
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
189
227
|
requirements:
|
190
|
-
- - "
|
228
|
+
- - ">"
|
191
229
|
- !ruby/object:Gem::Version
|
192
|
-
version:
|
230
|
+
version: 1.3.1
|
193
231
|
requirements: []
|
194
232
|
rubyforge_project:
|
195
|
-
rubygems_version: 2.
|
233
|
+
rubygems_version: 2.4.6
|
196
234
|
signing_key:
|
197
235
|
specification_version: 4
|
198
236
|
summary: A Reel good HTTP server
|
199
|
-
test_files:
|
200
|
-
- spec/fixtures/ca.crt
|
201
|
-
- spec/fixtures/ca.key
|
202
|
-
- spec/fixtures/client.crt
|
203
|
-
- spec/fixtures/client.key
|
204
|
-
- spec/fixtures/client.unsigned.crt
|
205
|
-
- spec/fixtures/example.txt
|
206
|
-
- spec/fixtures/server.crt
|
207
|
-
- spec/fixtures/server.key
|
208
|
-
- spec/reel/connection_spec.rb
|
209
|
-
- spec/reel/http_server_spec.rb
|
210
|
-
- spec/reel/https_server_spec.rb
|
211
|
-
- spec/reel/response/writer_spec.rb
|
212
|
-
- spec/reel/response_spec.rb
|
213
|
-
- spec/reel/websocket_spec.rb
|
214
|
-
- spec/spec_helper.rb
|
215
|
-
- spec/support/example_request.rb
|
237
|
+
test_files: []
|
data/spec/fixtures/ca.crt
DELETED
@@ -1,27 +0,0 @@
|
|
1
|
-
-----BEGIN CERTIFICATE-----
|
2
|
-
MIIEgDCCA2igAwIBAgIJAPs+Pcx3Ws69MA0GCSqGSIb3DQEBBQUAMIGGMQswCQYD
|
3
|
-
VQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMNU2FuIEZyYW5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LGtc9gZtDYI/Q56KqgenojDQROYUz35MSbCjxwFZaDAcZ
|
23
|
-
WGPlHsQUawqJ5KLBxjZTZjCuKktZgmviyFC7GCj4mhzBlx6pAkRE28ysJl8rHqrb
|
24
|
-
5Wd9wQKBgQCX6cLNz8HzBzJDBcZN/0ipqdSSNj4GCVaZCD2S+2uqAvwEud/0slRo
|
25
|
-
1Pgi9o9BXSq6TGnXX6zcoWWXbMnlC2Oq61FFI+Q0+DnHxwwhasrULKTmeHzLN84s
|
26
|
-
QMUVu3CbaokYg2VBKPiyW2sLE3KOBViO1cQFBFvcPIMwoB9BzeG6ig==
|
27
|
-
-----END RSA PRIVATE KEY-----
|
data/spec/fixtures/client.crt
DELETED
@@ -1,83 +0,0 @@
|
|
1
|
-
Certificate:
|
2
|
-
Data:
|
3
|
-
Version: 3 (0x2)
|
4
|
-
Serial Number: 1 (0x1)
|
5
|
-
Signature Algorithm: sha1WithRSAEncryption
|
6
|
-
Issuer: C=US, ST=California, L=San Francisco, O=Celluloid, CN=ca.example.com/emailAddress=ca@example.com
|
7
|
-
Validity
|
8
|
-
Not Before: Nov 7 23:23:12 2013 GMT
|
9
|
-
Not After : Nov 7 23:23:12 2014 GMT
|
10
|
-
Subject: C=US, ST=California, O=Celluloid, CN=client.example.com/emailAddress=client@example.com
|
11
|
-
Subject Public Key Info:
|
12
|
-
Public Key Algorithm: rsaEncryption
|
13
|
-
RSA Public Key: (2048 bit)
|
14
|
-
Modulus (2048 bit):
|
15
|
-
00:d5:eb:3c:e9:90:02:17:e0:58:a3:9f:2b:57:f3:
|
16
|
-
81:a0:1d:bf:21:61:d3:49:02:7f:bd:83:9e:d7:1a:
|
17
|
-
ba:ad:00:7e:81:94:ba:00:34:59:78:9f:ff:b2:9c:
|
18
|
-
44:30:06:a9:6b:36:77:ec:b4:fa:df:ee:c3:de:cf:
|
19
|
-
2b:67:b5:25:72:b9:f4:84:f8:b1:94:18:12:40:fe:
|
20
|
-
3c:a3:40:23:1c:11:ef:3e:e1:b7:ce:0b:66:61:0a:
|
21
|
-
9b:e7:23:67:4a:34:ac:2c:98:cf:83:c9:6b:3f:3d:
|
22
|
-
59:7b:5c:40:19:17:63:f8:89:0f:1e:18:b5:45:8e:
|
23
|
-
98:7e:28:0f:c3:ef:d7:07:90:87:86:b7:81:44:03:
|
24
|
-
8c:49:5a:a2:9f:f8:a8:df:b7:1a:35:70:1a:8b:c7:
|
25
|
-
67:54:8a:e7:11:2f:bb:6f:6b:78:a7:80:0a:98:4a:
|
26
|
-
cf:e2:f3:68:ca:2c:69:63:ed:f7:51:33:2b:4e:c7:
|
27
|
-
ce:cd:86:cd:f9:45:6a:6e:eb:a9:7b:86:fa:5e:b7:
|
28
|
-
1d:ed:db:05:36:a1:b2:8e:cc:a8:52:e3:27:1a:67:
|
29
|
-
60:29:b4:40:cd:5c:a6:81:4d:0e:65:7a:34:91:c4:
|
30
|
-
50:42:a5:84:2d:aa:69:1d:d1:b3:06:fd:3e:59:7d:
|
31
|
-
70:b8:e5:ac:63:f5:ad:ab:8f:c0:0a:65:cb:7e:98:
|
32
|
-
b0:b3
|
33
|
-
Exponent: 65537 (0x10001)
|
34
|
-
X509v3 extensions:
|
35
|
-
X509v3 Basic Constraints:
|
36
|
-
CA:FALSE
|
37
|
-
Netscape Comment:
|
38
|
-
OpenSSL Generated Certificate
|
39
|
-
X509v3 Subject Key Identifier:
|
40
|
-
74:EA:7C:F5:79:ED:5A:ED:B3:95:13:1C:5A:1A:C8:2E:63:12:EF:5D
|
41
|
-
X509v3 Authority Key Identifier:
|
42
|
-
keyid:AA:86:7C:26:D1:5F:D6:58:04:1C:07:DC:57:33:B5:BA:B3:68:2D:AC
|
43
|
-
|
44
|
-
Signature Algorithm: sha1WithRSAEncryption
|
45
|
-
38:9d:aa:2c:40:cf:a2:79:0e:17:a1:4b:07:0e:8f:c9:8b:5f:
|
46
|
-
8c:d4:34:14:00:e0:df:7d:9a:a4:d2:ec:b2:3f:ca:a4:e5:31:
|
47
|
-
03:17:74:3e:03:56:69:3d:d0:c4:fc:e9:11:62:63:3d:02:24:
|
48
|
-
37:f0:50:bf:c1:4e:a8:6f:e3:7d:24:16:9e:2d:cf:93:f3:c2:
|
49
|
-
ba:4a:76:f4:09:d9:44:44:80:19:5a:16:f5:b4:8c:13:bf:0a:
|
50
|
-
19:e9:2b:6f:e0:eb:d6:8a:f3:b3:1d:ba:46:51:7c:44:df:11:
|
51
|
-
af:59:a1:2b:d4:58:6d:a8:28:47:26:7a:af:84:30:0f:a0:91:
|
52
|
-
0b:94:f0:2a:a5:9e:2b:19:af:0c:16:34:fd:49:0c:ee:8d:31:
|
53
|
-
00:9f:b8:00:dc:9b:9f:38:b0:c0:c1:37:37:96:9a:18:07:b0:
|
54
|
-
c6:50:ff:28:3b:f7:84:8e:d5:b3:df:97:4f:91:c0:91:a4:af:
|
55
|
-
f8:a0:ef:83:0c:37:1b:2c:aa:57:66:1c:cf:89:28:5e:b9:33:
|
56
|
-
ab:87:35:78:e7:10:64:90:22:35:e8:02:cf:61:71:52:5a:84:
|
57
|
-
3a:1e:8a:71:cb:c2:63:32:c4:e8:d6:1b:ff:d5:18:18:50:b7:
|
58
|
-
c6:8c:c2:32:eb:7e:5e:44:b0:e2:03:5d:30:07:6b:ae:09:83:
|
59
|
-
a3:26:f1:78
|
60
|
-
-----BEGIN CERTIFICATE-----
|
61
|
-
MIID8zCCAtugAwIBAgIBATANBgkqhkiG9w0BAQUFADCBhjELMAkGA1UEBhMCVVMx
|
62
|
-
EzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNhbiBGcmFuY2lzY28xEjAQ
|
63
|
-
BgNVBAoTCUNlbGx1bG9pZDEXMBUGA1UEAxMOY2EuZXhhbXBsZS5jb20xHTAbBgkq
|
64
|
-
hkiG9w0BCQEWDmNhQGV4YW1wbGUuY29tMB4XDTEzMTEwNzIzMjMxMloXDTE0MTEw
|
65
|
-
NzIzMjMxMlowdjELMAkGA1UEBhMCVVMxEzARBgNVBAgTCk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