tls-checker 1.1.0 → 1.1.1

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: 1cdde3a84021818453f8783a575370df091b421bc8ec46b9f37eea6afea7c68d
4
- data.tar.gz: f197dbf9cf67fccb5e6f5d757929ea6f145d5fbff77f0ed6adb311b362154e11
3
+ metadata.gz: 1ce545144ea29f3fd2dbdabfa80e2390fc1fa5856e2c15a569844fa48123801f
4
+ data.tar.gz: 96475b0c4a3a51c93e665df117de9763cbb8a7ef5b314e6ff95d8eea3a7a8eef
5
5
  SHA512:
6
- metadata.gz: 59c569e106f22433b88cfd2480a8aad515b6cecedc1e50eaa533b907bb09711e7e90f58f4ed8ec7ecdb6781e17910eee527a72f903a187bb0f125ec1788314be
7
- data.tar.gz: 4771ef041e39cb1da7aaae82f5508fc528dd3980a3f4fab0fa8907e89395f0c788e951d15fb8c0bb9d38b2108760b635661a9dfb4c393da2ea233614089f71be
6
+ metadata.gz: 85f17f395246854272299b83f1b95e9a13364b1ac0402f9bda6a0f0ebf2a5668535ffc1df4c5fc53855fa4309db55f71a9e59a8b1b0b47904e7a0aeeccf29c86
7
+ data.tar.gz: ab63e727076b9464c58b5747201a0ea747a3628e7523bdc9320244058756be6375a0089d44bd4d8145928dbe1a94ef249b2a0c571a2b7f8e0e33bb9bef18d5d1
@@ -5,6 +5,11 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [1.1.1]
9
+
10
+ - Handle Errno::EHOSTUNREACH exceptions gracefully when attempting to fetch a
11
+ certificate.
12
+
8
13
  ## [1.1.0]
9
14
 
10
15
  ### Added
@@ -12,5 +17,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
12
17
  - Make it possible to test services using an IP address;
13
18
  - Report validity of certificates when a TLSA record is found in the DNS.
14
19
 
15
- [Unreleased]: https://github.com/smortex/tls-checker/compare/v1.1.0...HEAD
20
+ [Unreleased]: https://github.com/smortex/tls-checker/compare/v1.1.1...HEAD
21
+ [1.1.1]: https://github.com/smortex/tls-checker/compare/v1.1.0...v1.1.1
16
22
  [1.1.0]: https://github.com/smortex/tls-checker/compare/v1.0.0...v1.1.0
@@ -41,7 +41,7 @@ module TLSChecker
41
41
  def certificate
42
42
  @certificate = OpenSSL::X509::Certificate.new(tls_socket.peer_cert) if @certificate.nil?
43
43
  @certificate
44
- rescue Errno::ECONNREFUSED, Errno::ETIMEDOUT, SocketRecvTimeout => e
44
+ rescue Errno::ECONNREFUSED, Errno::EHOSTUNREACH, Errno::ETIMEDOUT, SocketRecvTimeout => e
45
45
  @certificate_failure = e.message
46
46
  @certificate = false
47
47
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module TlsChecker
4
- VERSION = '1.1.0'
4
+ VERSION = '1.1.1'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tls-checker
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Romain Tartière