sslshake 1.2.0 → 1.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: c1714a8b994b22bb44e4d0e4a30a6ad841e73711
4
- data.tar.gz: 13475fefddfdf9a560cbe78b26a5c1b0c37702f8
2
+ SHA256:
3
+ metadata.gz: 37184978da20c58b2649eba4057122bc1bb2b77c785c7af547973fb2b27302e0
4
+ data.tar.gz: 3ebe8a2ea46eb69d5d6161ea51afc6593d6a82a2a142d626feb96ed573108f3b
5
5
  SHA512:
6
- metadata.gz: 9872f6705841d9abcaa690d93cd1aaafef063852338a25399124876047f61dbc839129300758b3f7a90f0cb9c3f5085ffa00551654fa1852a72085bbe4777477
7
- data.tar.gz: b65f5f536cb94bcfcf002b4c43da0fd2b9c05fcd4525fdf91edeba585df5c3278ccbef81d9e0df60b888dfa5837d857900e078a8ce4974b8ff7b8e1e7aac9b0e
6
+ metadata.gz: 2722410eeddb50ebd48bd8bce5b2b0cef95b4d7021782c554e218c20f885b7eb8cdc9395da741c5967b4d9e022bf8d489f4ec591cef38bb9a8ef323f589117c3
7
+ data.tar.gz: bcda1b5c82930b8f126d24577794d4c33d241b2744613e5826aa9e06a7a25998b9f166ed3203150044f81ce78df7199272afe0fb77de55f8edb4c44db1b7c66b
data/Rakefile ADDED
@@ -0,0 +1,21 @@
1
+ #!/usr/bin/env rake
2
+ # encoding: utf-8
3
+
4
+ require 'bundler'
5
+ require 'bundler/gem_tasks'
6
+ require 'rake/testtask'
7
+ require 'rubocop/rake_task'
8
+
9
+ # Rubocop
10
+ desc 'Run Rubocop lint checks'
11
+ task :rubocop do
12
+ RuboCop::RakeTask.new
13
+ end
14
+
15
+ # lint the project
16
+ desc 'Run robocop linter'
17
+ task lint: [:rubocop]
18
+
19
+ # run tests
20
+ task default: [:lint]
21
+
data/lib/sslshake/tls.rb CHANGED
@@ -39,7 +39,7 @@ module SSLShake
39
39
  }.freeze
40
40
 
41
41
  # https://tools.ietf.org/html/rfc6101#appendix-A.6
42
- SSL3_CIPHERS = ::SSLShake::CIPHERS.select { |_, v| v < '001F' && v.length == 4 }
42
+ SSL3_CIPHERS = ::SSLShake::CIPHERS.select { |_, v| v.length == 4 }
43
43
  TLS_CIPHERS = ::SSLShake::CIPHERS.select { |k, _| k.start_with? 'TLS_' }
44
44
  TLS10_CIPHERS = TLS_CIPHERS.select { |_, v| v[0] == '0' && v[1] == '0' }
45
45
 
@@ -3,5 +3,5 @@
3
3
  # license: MPLv2
4
4
 
5
5
  module SSLShake
6
- VERSION = '1.2.0'.freeze
6
+ VERSION = '1.3.0'.freeze
7
7
  end
data/sslshake.gemspec CHANGED
@@ -11,7 +11,7 @@ Gem::Specification.new do |spec|
11
11
  spec.summary = 'Ruby library for pure SSL/TLS handshake testing.'
12
12
  spec.description = 'This is a library to simulate SSL and TLS handshake from SSLv2, SSLv3, to TLS 1.0-1.2. It does not rely on OpenSSL and is not designed as a replacement either. It targets full support for even older handshakes, which are not available in current releases of OpenSSL anymore. It also aims to be executable on all systems with a sufficiently modern version of Ruby without any additional requirements or pre-compiled binaries.'
13
13
  spec.homepage = 'https://github.com/arlimus/sslshake'
14
- spec.license = 'MPLv2'
14
+ spec.license = 'MPL-2.0'
15
15
 
16
16
  spec.files = `git ls-files -z`.split("\x0").reject {|f| f.match(%r{^(test|spec|features)/}) }
17
17
  spec.require_paths = ['lib']
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sslshake
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dominik Richter
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-04-20 00:00:00.000000000 Z
11
+ date: 2019-01-21 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: This is a library to simulate SSL and TLS handshake from SSLv2, SSLv3,
14
14
  to TLS 1.0-1.2. It does not rely on OpenSSL and is not designed as a replacement
@@ -25,6 +25,7 @@ files:
25
25
  - ".gitignore"
26
26
  - Gemfile
27
27
  - README.md
28
+ - Rakefile
28
29
  - lib/sslshake.rb
29
30
  - lib/sslshake/ciphers.rb
30
31
  - lib/sslshake/common.rb
@@ -34,7 +35,7 @@ files:
34
35
  - sslshake.gemspec
35
36
  homepage: https://github.com/arlimus/sslshake
36
37
  licenses:
37
- - MPLv2
38
+ - MPL-2.0
38
39
  metadata: {}
39
40
  post_install_message:
40
41
  rdoc_options: []
@@ -52,7 +53,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
52
53
  version: '0'
53
54
  requirements: []
54
55
  rubyforge_project:
55
- rubygems_version: 2.6.10
56
+ rubygems_version: 2.7.7
56
57
  signing_key:
57
58
  specification_version: 4
58
59
  summary: Ruby library for pure SSL/TLS handshake testing.