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 +4 -4
- data/CHANGELOG.md +7 -1
- data/lib/tls-checker/certificate_checker.rb +1 -1
- data/lib/tls-checker/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1ce545144ea29f3fd2dbdabfa80e2390fc1fa5856e2c15a569844fa48123801f
|
4
|
+
data.tar.gz: 96475b0c4a3a51c93e665df117de9763cbb8a7ef5b314e6ff95d8eea3a7a8eef
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 85f17f395246854272299b83f1b95e9a13364b1ac0402f9bda6a0f0ebf2a5668535ffc1df4c5fc53855fa4309db55f71a9e59a8b1b0b47904e7a0aeeccf29c86
|
7
|
+
data.tar.gz: ab63e727076b9464c58b5747201a0ea747a3628e7523bdc9320244058756be6375a0089d44bd4d8145928dbe1a94ef249b2a0c571a2b7f8e0e33bb9bef18d5d1
|
data/CHANGELOG.md
CHANGED
@@ -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.
|
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
|
data/lib/tls-checker/version.rb
CHANGED