tls-checker 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: ab14c3e081bec34c6623b35ee52b0e26e544242b21ff50a484c9780d73940585
4
+ data.tar.gz: 1de5b2c8fae2bb03564a23d751ac04240ea64003a7022cf7d5779d6f61b478e5
5
+ SHA512:
6
+ metadata.gz: f14c9c95cb25b5e36f5b8a1e1799cc18900e31f66790456704a4c866a65c47f165247a64d5795f9e22de3d87a6d89701d8726a3c4639f5fe5bc0d9bf4ccb07d3
7
+ data.tar.gz: 413fc601fb7b4d410f6dc8f6518d982056b06f4144625e2d900a1f3c0b300d8b58c8ed039d533d13872b21d8cc7cd92ec73b13e35c651e374203d953c111dddc
data/.gitignore ADDED
@@ -0,0 +1,5 @@
1
+ Gemfile.lock
2
+ Gemfile.local
3
+ coverage/
4
+ pkg/
5
+ spec/examples.txt
data/.rspec ADDED
@@ -0,0 +1 @@
1
+ --require spec_helper
data/.travis.yml ADDED
@@ -0,0 +1,12 @@
1
+ ---
2
+ language: ruby
3
+ rvm:
4
+ - 2.4
5
+ - 2.5
6
+ - 2.6
7
+ before_script:
8
+ - curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
9
+ - chmod +x ./cc-test-reporter
10
+ - ./cc-test-reporter before-build
11
+ after_script:
12
+ - ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
@@ -0,0 +1,74 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ In the interest of fostering an open and welcoming environment, we as
6
+ contributors and maintainers pledge to making participation in our project and
7
+ our community a harassment-free experience for everyone, regardless of age, body
8
+ size, disability, ethnicity, gender identity and expression, level of experience,
9
+ nationality, personal appearance, race, religion, or sexual identity and
10
+ orientation.
11
+
12
+ ## Our Standards
13
+
14
+ Examples of behavior that contributes to creating a positive environment
15
+ include:
16
+
17
+ * Using welcoming and inclusive language
18
+ * Being respectful of differing viewpoints and experiences
19
+ * Gracefully accepting constructive criticism
20
+ * Focusing on what is best for the community
21
+ * Showing empathy towards other community members
22
+
23
+ Examples of unacceptable behavior by participants include:
24
+
25
+ * The use of sexualized language or imagery and unwelcome sexual attention or
26
+ advances
27
+ * Trolling, insulting/derogatory comments, and personal or political attacks
28
+ * Public or private harassment
29
+ * Publishing others' private information, such as a physical or electronic
30
+ address, without explicit permission
31
+ * Other conduct which could reasonably be considered inappropriate in a
32
+ professional setting
33
+
34
+ ## Our Responsibilities
35
+
36
+ Project maintainers are responsible for clarifying the standards of acceptable
37
+ behavior and are expected to take appropriate and fair corrective action in
38
+ response to any instances of unacceptable behavior.
39
+
40
+ Project maintainers have the right and responsibility to remove, edit, or
41
+ reject comments, commits, code, wiki edits, issues, and other contributions
42
+ that are not aligned to this Code of Conduct, or to ban temporarily or
43
+ permanently any contributor for other behaviors that they deem inappropriate,
44
+ threatening, offensive, or harmful.
45
+
46
+ ## Scope
47
+
48
+ This Code of Conduct applies both within project spaces and in public spaces
49
+ when an individual is representing the project or its community. Examples of
50
+ representing a project or community include using an official project e-mail
51
+ address, posting via an official social media account, or acting as an appointed
52
+ representative at an online or offline event. Representation of a project may be
53
+ further defined and clarified by project maintainers.
54
+
55
+ ## Enforcement
56
+
57
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
58
+ reported by contacting the project team at romain@blogreen.org. All
59
+ complaints will be reviewed and investigated and will result in a response that
60
+ is deemed necessary and appropriate to the circumstances. The project team is
61
+ obligated to maintain confidentiality with regard to the reporter of an incident.
62
+ Further details of specific enforcement policies may be posted separately.
63
+
64
+ Project maintainers who do not follow or enforce the Code of Conduct in good
65
+ faith may face temporary or permanent repercussions as determined by other
66
+ members of the project's leadership.
67
+
68
+ ## Attribution
69
+
70
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71
+ available at [http://contributor-covenant.org/version/1/4][version]
72
+
73
+ [homepage]: http://contributor-covenant.org
74
+ [version]: http://contributor-covenant.org/version/1/4/
data/Gemfile ADDED
@@ -0,0 +1,20 @@
1
+ # frozen_string_literal: true
2
+
3
+ source 'https://rubygems.org'
4
+
5
+ git_source(:github) { |repo_name| "https://github.com/#{repo_name}" }
6
+
7
+ # Specify your gem's dependencies in tls-checker.gemspec
8
+ gemspec
9
+
10
+ # rubocop:disable Security/Eval
11
+ #
12
+ # Gemfile.local is ignored in .gitignore. When hacking this gem, it might be
13
+ # useful to use a pre-release version of some dependency, in this case add them
14
+ # to Gemfile.local:
15
+ #
16
+ # ------------------------------------- 8< -------------------------------------
17
+ # gem 'internet_security_event', path: '../internet_security_event'
18
+ # ------------------------------------- 8< -------------------------------------
19
+ eval(File.read('Gemfile.local'), binding) if File.exist? 'Gemfile.local'
20
+ # rubocop:enable Security/Eval
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2019 Romain Tartière
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,55 @@
1
+ # tls-checker
2
+
3
+ [![Build Status](https://travis-ci.com/smortex/tls-checker.svg?branch=master)](https://travis-ci.com/smortex/tls-checker)
4
+ [![Maintainability](https://api.codeclimate.com/v1/badges/272ab98a6ec1b28e5f7d/maintainability)](https://codeclimate.com/github/smortex/tls-checker/maintainability)
5
+ [![Test Coverage](https://api.codeclimate.com/v1/badges/272ab98a6ec1b28e5f7d/test_coverage)](https://codeclimate.com/github/smortex/tls-checker/test_coverage)
6
+
7
+ Connect to remote services and report certificates status.
8
+
9
+ ## Installation
10
+
11
+ As simple as:
12
+
13
+ $ gem install tls-checker
14
+
15
+ ## Usage
16
+
17
+ As simple as:
18
+
19
+ $ tls-checker example.com ldap.example.com:389:ldap
20
+
21
+ ## Development
22
+
23
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run
24
+ `rake spec` to run the tests. You can also run `bin/console` for an interactive
25
+ prompt that will allow you to experiment.
26
+
27
+ To install this gem onto your local machine, run `bundle exec rake install`. To
28
+ release a new version, update the version number in `version.rb`, and then run
29
+ `bundle exec rake release`, which will create a git tag for the version, push
30
+ git commits and tags, and push the `.gem` file to
31
+ [rubygems.org](https://rubygems.org).
32
+
33
+ ## Contributing
34
+
35
+ Bug reports and pull requests are welcome on GitHub at
36
+ https://github.com/smortex/tls-checker. This project is intended to be a safe,
37
+ welcoming space for collaboration, and contributors are expected to adhere to
38
+ the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
39
+
40
+ 1. Fork it (https://github.com/smortex/tls-checker/fork)
41
+ 2. Create your feature branch (`git checkout -b my-new-feature`)
42
+ 3. Commit your changes (`git commit -am 'Add some feature'`)
43
+ 4. Push to the branch (`git push origin my-new-feature`)
44
+ 5. Create a new Pull Request
45
+
46
+ ## License
47
+
48
+ The gem is available as open source under the terms of the [MIT
49
+ License](https://opensource.org/licenses/MIT).
50
+
51
+ ## Code of Conduct
52
+
53
+ Everyone interacting in the tls-checker project’s codebases, issue trackers,
54
+ chat rooms and mailing lists is expected to follow the [code of
55
+ conduct](https://github.com/smortex/tls-checker/blob/master/CODE_OF_CONDUCT.md).
data/Rakefile ADDED
@@ -0,0 +1,7 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'bundler/gem_tasks'
4
+ require 'rspec/core/rake_task'
5
+ RSpec::Core::RakeTask.new(:spec)
6
+
7
+ task default: :spec
data/bin/console ADDED
@@ -0,0 +1,15 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+
4
+ require 'bundler/setup'
5
+ require 'certificate-checker'
6
+
7
+ # You can add fixtures and/or initialization code here to make experimenting
8
+ # with your gem easier. You can also use a different console, if you like.
9
+
10
+ # (If you use this, don't forget to add pry to your Gemfile!)
11
+ # require "pry"
12
+ # Pry.start
13
+
14
+ require 'irb'
15
+ IRB.start(__FILE__)
data/bin/setup ADDED
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
data/exe/tls-checker ADDED
@@ -0,0 +1,26 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+
4
+ require 'json'
5
+ require 'optparse'
6
+ require 'tls-checker'
7
+
8
+ factory = TLSChecker::CertificateCheckerFactory.new
9
+
10
+ options = {
11
+ output: $stdout,
12
+ }
13
+
14
+ OptionParser.new do |opts|
15
+ opts.banner = 'Usage: tls-checker [options] specification...'
16
+
17
+ opts.on('-o', '--output=FILE', 'Write to FILE') do |f|
18
+ options[:output] = File.open(f, File::CREAT | File::APPEND | File::LOCK_EX)
19
+ end
20
+ end.parse!
21
+
22
+ ARGV.each do |arg|
23
+ factory.certificate_checkers_for(arg).each do |checker|
24
+ options[:output].puts checker.to_e.to_json
25
+ end
26
+ end
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'tls-checker/certificate_checker'
4
+ require 'tls-checker/certificate_checker_factory'
5
+ require 'tls-checker/line_oriented_socket'
@@ -0,0 +1,167 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'openssl'
4
+ require 'resolv'
5
+ require 'internet_security_event'
6
+
7
+ module TLSChecker
8
+ class CertificateChecker
9
+ include ActionView::Helpers::DateHelper
10
+
11
+ def initialize(hostname, address, port, starttls)
12
+ @hostname = hostname
13
+ @address = address
14
+ @port = port
15
+ @starttls = starttls
16
+
17
+ @certificate = nil
18
+ @certificate_failure = nil
19
+ @tls_socket = nil
20
+ end
21
+
22
+ attr_reader :hostname, :address, :port, :starttls
23
+
24
+ def to_e
25
+ if certificate
26
+ InternetSecurityEvent::TLSStatus.build(hostname, certificate)
27
+ else
28
+ {
29
+ state: 'critical',
30
+ description: @certificate_failure || "#{hostname} does not have a valid certificate",
31
+ }
32
+ end.merge(
33
+ service: service,
34
+ ttl: 3600 * 12,
35
+ tags: ['tls-checker'],
36
+ )
37
+ end
38
+
39
+ def to_s
40
+ description
41
+ end
42
+
43
+ private
44
+
45
+ def service
46
+ format('X.509/%<hostname>s/%<address>s:%<port>d', hostname: hostname, address: humanized_address, port: port)
47
+ end
48
+
49
+ def humanized_address
50
+ if @address.is_a?(Resolv::IPv6)
51
+ "[#{@address}]"
52
+ else
53
+ @address.to_s
54
+ end
55
+ end
56
+
57
+ def certificate
58
+ @certificate = OpenSSL::X509::Certificate.new(tls_socket.peer_cert) if @certificate.nil?
59
+ @certificate
60
+ rescue Errno::ECONNREFUSED, Errno::ETIMEDOUT, SocketRecvTimeout => e
61
+ @certificate_failure = e.message
62
+ @certificate = false
63
+ end
64
+
65
+ def tls_socket
66
+ @tls_socket ||= case starttls
67
+ when :smtp
68
+ smtp_tls_socket
69
+ when :imap
70
+ imap_tls_socket
71
+ when :ldap
72
+ ldap_tls_socket
73
+ else
74
+ raw_tls_socket
75
+ end
76
+ end
77
+
78
+ def raw_tls_socket
79
+ socket = TCPSocket.new(@address.to_s, port)
80
+
81
+ tls_handshake(socket)
82
+ end
83
+
84
+ def imap_tls_socket
85
+ socket = LineOrientedSocket.new(@address.to_s, port)
86
+ socket.gets_until_match(/^\* OK/)
87
+ socket.puts('. CAPABILITY')
88
+ socket.gets_until_match(/^\. OK/)
89
+ socket.puts('. STARTTLS')
90
+ socket.gets_until_match(/^\. OK/)
91
+
92
+ tls_handshake(socket)
93
+ end
94
+
95
+ def ldap_tls_socket
96
+ socket = TCPSocket.new(@address.to_s, port)
97
+ socket.write(['301d02010177188016312e332e362e312e342e312e313436362e3230303337'].pack('H*'))
98
+ expected_res = ['300c02010178070a010004000400'].pack('H*')
99
+ res = socket.read(expected_res.length)
100
+
101
+ return nil unless res == expected_res
102
+
103
+ tls_handshake(socket)
104
+ end
105
+
106
+ def smtp_tls_socket
107
+ socket = LineOrientedSocket.new(@address.to_s, port)
108
+ socket.gets_until_match(/^220 /)
109
+ socket.puts("EHLO #{my_hostname}")
110
+ socket.gets_until_match(/^250 /)
111
+ socket.puts('STARTTLS')
112
+ socket.gets
113
+
114
+ tls_handshake(socket)
115
+ end
116
+
117
+ def tls_handshake(raw_socket)
118
+ tls_socket = OpenSSL::SSL::SSLSocket.new(raw_socket, ssl_context)
119
+ tls_socket.hostname = hostname
120
+ begin
121
+ tls_socket.connect
122
+ rescue OpenSSL::SSL::SSLError # rubocop:disable Lint/HandleExceptions
123
+ # This may fail for example if a client certificate is required
124
+ end
125
+ tls_socket
126
+ end
127
+
128
+ def my_hostname
129
+ Socket.gethostbyname(Socket.gethostname).first
130
+ rescue SocketError
131
+ Socket.gethostname
132
+ end
133
+
134
+ def ssl_context
135
+ ssl_context = OpenSSL::SSL::SSLContext.new
136
+ # We do not care about trust here, only expiration dates.
137
+
138
+ # ____ _ _ _
139
+ # | _ \ ___ _ __ ( ) |_ ___ ___ _ __ _ _ _ __ __ _ ___| |_ ___
140
+ # | | | |/ _ \| '_ \|/| __| / __/ _ \| '_ \| | | |_____| '_ \ / _` / __| __/ _ \
141
+ # | |_| | (_) | | | | | |_ | (_| (_) | |_) | |_| |_____| |_) | (_| \__ \ || __/
142
+ # |____/ \___/|_| |_| \__| \___\___/| .__/ \__, | | .__/ \__,_|___/\__\___|
143
+ # |_| |___/ |_|
144
+ # _ _ _ _
145
+ # | |_| |__ (_)___| |
146
+ # | __| '_ \| / __| |
147
+ # | |_| | | | \__ \_|
148
+ # \__|_| |_|_|___(_)
149
+ #
150
+ # YOU SHALL NOT "COPY-PASTE" THE FOLLOWING LINE IN YOUR CODE. IF YOU
151
+ # UNDESTAND WHY WE DO TAHT, YOU KNOW WHY YOU DON'T WANT TO DO THIS. IF
152
+ # YOU DO NOT UNDERSTAND WHAT IT DOES, REALIZE THAT YOUR PROBLEM VANISHED
153
+ # WHEN YOU PASTE IT AND SHIP IT, FEL FREE TO GET BACK TO ME WHEN YOU WILL
154
+ # DISCOVER THAT YOU HAVE WAY MORE PROBLEMS THAN YOU THOUGH. I WILL BE
155
+ # PLEASED TO EXCHANGE MONEY WITH ADVICES AND ASSISTANCE FOR FIXING YOUR
156
+ # PROBLEMS.
157
+ ssl_context.set_params(tls_options)
158
+ ssl_context
159
+ end
160
+
161
+ def tls_options
162
+ {
163
+ verify_mode: OpenSSL::SSL::VERIFY_NONE,
164
+ }
165
+ end
166
+ end
167
+ end
@@ -0,0 +1,48 @@
1
+ # frozen_string_literal: true
2
+
3
+ module TLSChecker
4
+ class CertificateCheckerFactory
5
+ def initialize
6
+ @resolver = Resolv::DNS.new
7
+ end
8
+
9
+ def certificate_checkers_for(specification)
10
+ hostname, port, starttls = specification.split(':', 3)
11
+
12
+ port = port.to_i if port
13
+ starttls = starttls.to_sym if starttls
14
+
15
+ port ||= port_for(hostname)
16
+ starttls ||= starttls_for(port)
17
+ @resolver.getaddresses(hostname).map { |ip| CertificateChecker.new(hostname, ip, port, starttls) }
18
+ end
19
+
20
+ private
21
+
22
+ def port_for(hostname)
23
+ {
24
+ 'smtp.' => 25,
25
+ 'mx.' => 25,
26
+ 'imap.' => 143,
27
+ 'ldap.' => 389,
28
+ 'puppet.' => 8140,
29
+ }.each do |prefix, port|
30
+ return port if hostname.start_with?(prefix)
31
+ end
32
+
33
+ 443
34
+ end
35
+
36
+ def starttls_for(port)
37
+ well_known_starttls = {
38
+ 25 => :smtp,
39
+ 143 => :imap,
40
+ 389 => :ldap,
41
+ }
42
+
43
+ starttls = well_known_starttls[port]
44
+ starttls ||= :raw
45
+ starttls
46
+ end
47
+ end
48
+ end
@@ -0,0 +1,46 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'socket'
4
+
5
+ module TLSChecker
6
+ class SocketRecvTimeout < RuntimeError
7
+ def message
8
+ 'Timeout while receiving message from socket'
9
+ end
10
+ end
11
+
12
+ class LineOrientedSocket < TCPSocket
13
+ def gets
14
+ line = ''
15
+
16
+ line += timed_getbyte until line.end_with?("\r\n")
17
+
18
+ line
19
+ end
20
+
21
+ def gets_until_match(pattern)
22
+ loop do
23
+ line = gets
24
+ break if line.match(pattern)
25
+ end
26
+ end
27
+
28
+ def puts(data)
29
+ send("#{data}\r\n", 0)
30
+ end
31
+
32
+ private
33
+
34
+ TIMEOUT = 10
35
+
36
+ def timed_getbyte
37
+ recv_nonblock(1)
38
+ rescue IO::EAGAINWaitReadable
39
+ if IO.select([self], nil, nil, 10)
40
+ recv_nonblock(1)
41
+ else
42
+ raise SocketRecvTimeout
43
+ end
44
+ end
45
+ end
46
+ end
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: true
2
+
3
+ module TlsChecker
4
+ VERSION = '1.0.0'
5
+ end
@@ -0,0 +1,33 @@
1
+ # frozen_string_literal: true
2
+
3
+ lib = File.expand_path('lib', __dir__)
4
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
5
+ require 'tls-checker/version'
6
+
7
+ Gem::Specification.new do |spec|
8
+ spec.name = 'tls-checker'
9
+ spec.version = TlsChecker::VERSION
10
+ spec.authors = ['Romain Tartière']
11
+ spec.email = ['romain@blogreen.org']
12
+
13
+ spec.summary = 'Report expired/about to expires certificates used in TLS connexions'
14
+ spec.homepage = 'https://github.com/smortex/tls-checker'
15
+ spec.license = 'MIT'
16
+
17
+ # Specify which files should be added to the gem when it is released.
18
+ # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
19
+ spec.files = Dir.chdir(File.expand_path(__dir__)) do
20
+ `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
21
+ end
22
+ spec.bindir = 'exe'
23
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
24
+ spec.require_paths = ['lib']
25
+
26
+ spec.add_dependency 'internet_security_event', '~> 1.0'
27
+
28
+ spec.add_development_dependency 'bundler'
29
+ spec.add_development_dependency 'midi-smtp-server'
30
+ spec.add_development_dependency 'rake'
31
+ spec.add_development_dependency 'rspec'
32
+ spec.add_development_dependency 'simplecov'
33
+ end
metadata ADDED
@@ -0,0 +1,146 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: tls-checker
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.0
5
+ platform: ruby
6
+ authors:
7
+ - Romain Tartière
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2019-02-19 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: internet_security_event
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: bundler
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: midi-smtp-server
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rake
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: rspec
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: simplecov
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
97
+ description:
98
+ email:
99
+ - romain@blogreen.org
100
+ executables:
101
+ - tls-checker
102
+ extensions: []
103
+ extra_rdoc_files: []
104
+ files:
105
+ - ".gitignore"
106
+ - ".rspec"
107
+ - ".travis.yml"
108
+ - CODE_OF_CONDUCT.md
109
+ - Gemfile
110
+ - LICENSE.txt
111
+ - README.md
112
+ - Rakefile
113
+ - bin/console
114
+ - bin/setup
115
+ - exe/tls-checker
116
+ - lib/tls-checker.rb
117
+ - lib/tls-checker/certificate_checker.rb
118
+ - lib/tls-checker/certificate_checker_factory.rb
119
+ - lib/tls-checker/line_oriented_socket.rb
120
+ - lib/tls-checker/version.rb
121
+ - tls-checker.gemspec
122
+ homepage: https://github.com/smortex/tls-checker
123
+ licenses:
124
+ - MIT
125
+ metadata: {}
126
+ post_install_message:
127
+ rdoc_options: []
128
+ require_paths:
129
+ - lib
130
+ required_ruby_version: !ruby/object:Gem::Requirement
131
+ requirements:
132
+ - - ">="
133
+ - !ruby/object:Gem::Version
134
+ version: '0'
135
+ required_rubygems_version: !ruby/object:Gem::Requirement
136
+ requirements:
137
+ - - ">="
138
+ - !ruby/object:Gem::Version
139
+ version: '0'
140
+ requirements: []
141
+ rubyforge_project:
142
+ rubygems_version: 2.7.8
143
+ signing_key:
144
+ specification_version: 4
145
+ summary: Report expired/about to expires certificates used in TLS connexions
146
+ test_files: []