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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bdb38bb72334de27b11b1eee998475657887f85f47f81a44b31888964d9fe88d
4
- data.tar.gz: c71c4fa7959047645b0508145f3f9e6b9e6ee6fd42a54b009dd2cb5e7c1ef0c9
3
+ metadata.gz: 1b86e2157a0bb7ccb760179614cc9a49f2b4301870838f049aa9802a76cb2dec
4
+ data.tar.gz: ecb0ee7388befd62714e953f89cf2cdaf1d721bf628384dc9f5d3faf09e0d25a
5
5
  SHA512:
6
- metadata.gz: e8e4444acb08913da2359a9780869bdfdad35329a037822552d8f13a9c352fff51388a7070626c394d5ab7bbded237444e859aae68571e871e99d69ff8ad3503
7
- data.tar.gz: 0cd28c7367ab533aa99a5dda6b4dc05485b6a8c79dd35ed68782ba29eb10fe16fe99d067e1bd13d99056cd9539600c228ecb8567f909bf96ffa3e5a5826f4076
6
+ metadata.gz: 2d8269e428c27e72cbc812d8c3201e0d06fc10e650036245b46e5c2f12f37d871a7bdb49a764d10540ba81f86105791e123381ba42dcb60553a4d88299b811ac
7
+ data.tar.gz: 42e81d392df2945a45ec85ffce3e6e3402bc9d2d0e1ad3fd5eef9541102e26ab530abfeb6442d662a8389fea46103bf5112324b9bd5f9478335e7d6cbbdb17e4
@@ -1,14 +1,10 @@
1
1
  language: ruby
2
- sudo: required
3
2
  dist: xenial
4
3
  cache: bundler
5
4
 
6
- before_script:
7
- - gem update --system
8
- - gem install bundler
9
-
10
5
  matrix:
11
6
  include:
7
+ - rvm: 2.3.6
12
8
  - rvm: 2.3
13
9
  - rvm: 2.4
14
10
  - rvm: 2.5
data/Gemfile CHANGED
@@ -8,4 +8,6 @@ gemspec
8
8
  group :development do
9
9
  gem 'async-io'
10
10
  gem 'async-rspec'
11
+
12
+ gem 'async-process'
11
13
  end
@@ -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
 
@@ -19,5 +19,5 @@
19
19
  # THE SOFTWARE.
20
20
 
21
21
  module Localhost
22
- VERSION = "1.1.2"
22
+ VERSION = "1.1.3"
23
23
  end
@@ -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.2
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-10 00:00:00.000000000 Z
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.6
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