r7insight 3.0.2 → 3.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/r7_insight/host/connection.rb +11 -3
- data/r7insight.gemspec +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c7e222795c645d45b1f3a9582c2fdc3a0b7a70cbeffd9bae3db5f756021bb161
|
4
|
+
data.tar.gz: b62d371c9ffa4c80fa9398b563db179f2eb5ef3bd32080d914d961596e1086d5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c6e6c562b06013906e619718cbb2b0dd68167422616f5ce9171861761ea31622cfd1390e2a47a2709cc411bf470e8058646d72392af5a885584ab735cd1be608
|
7
|
+
data.tar.gz: a89dfe8e113d3e4a2d4aa01d8fa45157ecbeb70250e11fc51dea9ced4e8d90ed8d7876ad1955f7d2c06e2fcf33cf5ed9baa3f14476c1e04e2919f200ee7ff355
|
data/Gemfile.lock
CHANGED
@@ -188,9 +188,17 @@ module R7Insight
|
|
188
188
|
ssl_context = OpenSSL::SSL::SSLContext.new
|
189
189
|
ssl_context.cert_store = cert_store
|
190
190
|
|
191
|
-
|
192
|
-
|
193
|
-
|
191
|
+
if OpenSSL::SSL::SSLContext.method_defined? :min_version=
|
192
|
+
ssl_context.min_version = OpenSSL::SSL::TLS1_1_VERSION
|
193
|
+
end
|
194
|
+
if OpenSSL::SSL::SSLContext.method_defined? :max_version=
|
195
|
+
# For older versions of openssl (prior to 1.1.1) missing support for TLSv1.3
|
196
|
+
ssl_context.max_version = if defined?(OpenSSL::SSL::TLS1_3_VERSION)
|
197
|
+
OpenSSL::SSL::TLS1_3_VERSION
|
198
|
+
else
|
199
|
+
OpenSSL::SSL::TLS1_2_VERSION
|
200
|
+
end
|
201
|
+
end
|
194
202
|
ssl_context.verify_mode = OpenSSL::SSL::VERIFY_PEER
|
195
203
|
ssl_socket = OpenSSL::SSL::SSLSocket.new(socket, ssl_context)
|
196
204
|
ssl_socket.hostname = host if ssl_socket.respond_to?(:hostname=)
|
data/r7insight.gemspec
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: r7insight
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rapid7
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-04-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -110,7 +110,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
110
110
|
- !ruby/object:Gem::Version
|
111
111
|
version: '0'
|
112
112
|
requirements: []
|
113
|
-
rubygems_version: 3.0.
|
113
|
+
rubygems_version: 3.0.8
|
114
114
|
signing_key:
|
115
115
|
specification_version: 4
|
116
116
|
summary: Rapid7 Insight Platform logging plugin
|