localhost 1.1.2 → 1.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +1 -5
- data/Gemfile +2 -0
- data/lib/localhost/authority.rb +5 -1
- data/lib/localhost/version.rb +1 -1
- data/localhost.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: 1b86e2157a0bb7ccb760179614cc9a49f2b4301870838f049aa9802a76cb2dec
|
4
|
+
data.tar.gz: ecb0ee7388befd62714e953f89cf2cdaf1d721bf628384dc9f5d3faf09e0d25a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2d8269e428c27e72cbc812d8c3201e0d06fc10e650036245b46e5c2f12f37d871a7bdb49a764d10540ba81f86105791e123381ba42dcb60553a4d88299b811ac
|
7
|
+
data.tar.gz: 42e81d392df2945a45ec85ffce3e6e3402bc9d2d0e1ad3fd5eef9541102e26ab530abfeb6442d662a8389fea46103bf5112324b9bd5f9478335e7d6cbbdb17e4
|
data/.travis.yml
CHANGED
data/Gemfile
CHANGED
data/lib/localhost/authority.rb
CHANGED
@@ -102,6 +102,8 @@ module Localhost
|
|
102
102
|
end
|
103
103
|
end
|
104
104
|
|
105
|
+
SERVER_CIPHERS = "EECDH+CHACHA20:EECDH+AES128:RSA+AES128:EECDH+AES256:RSA+AES256:EECDH+3DES:RSA+3DES:!MD5".freeze
|
106
|
+
|
105
107
|
def server_context(*args)
|
106
108
|
OpenSSL::SSL::SSLContext.new(*args).tap do |context|
|
107
109
|
context.key = self.key
|
@@ -109,7 +111,9 @@ module Localhost
|
|
109
111
|
|
110
112
|
context.session_id_context = "localhost"
|
111
113
|
|
112
|
-
context.set_params
|
114
|
+
context.set_params(
|
115
|
+
ciphers: SERVER_CIPHERS
|
116
|
+
)
|
113
117
|
end
|
114
118
|
end
|
115
119
|
|
data/lib/localhost/version.rb
CHANGED
data/localhost.gemspec
CHANGED
@@ -15,7 +15,7 @@ Gem::Specification.new do |spec|
|
|
15
15
|
end
|
16
16
|
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
17
17
|
spec.require_paths = ["lib"]
|
18
|
-
|
18
|
+
|
19
19
|
spec.add_development_dependency "bundler", "~> 1.16"
|
20
20
|
spec.add_development_dependency "rake", "~> 10.0"
|
21
21
|
spec.add_development_dependency "rspec", "~> 3.0"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: localhost
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Samuel Williams
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-08-
|
11
|
+
date: 2018-08-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -90,7 +90,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
90
90
|
version: '0'
|
91
91
|
requirements: []
|
92
92
|
rubyforge_project:
|
93
|
-
rubygems_version: 2.7.
|
93
|
+
rubygems_version: 2.7.7
|
94
94
|
signing_key:
|
95
95
|
specification_version: 4
|
96
96
|
summary: Manage a local certificate authority for self-signed localhost development
|