tls-checker 1.2.0 → 1.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +13 -1
- data/lib/tls-checker/certificate_checker_factory.rb +2 -1
- data/lib/tls-checker/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 26872fe183d0e6a3a861bad2f7265923a0d4e73b2d03b294757d821dc63d9f91
|
4
|
+
data.tar.gz: dd86682331bbb40d55ac43996077362234ac19c9d8691833af58ec2ed22fac0c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b7e46514562cce02f7bdd2520ec154c9f06eeaa6081e2b5d42e7b45ca2faedda335517129d70f218e1ab5b63686352ba7ecc17d46be84b61366229772e9d2cb8
|
7
|
+
data.tar.gz: 03df2d9f3a7027c83635db058346622fc2fd28741a44b80340c29aa878d3fcfff0b6d7159501509a3398658a954b8d5784bc56e06965778befe4d24a23157d70
|
data/CHANGELOG.md
CHANGED
@@ -5,14 +5,25 @@ 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.3.0]
|
9
|
+
|
10
|
+
### Changed
|
11
|
+
|
12
|
+
- Revert to the pre-1.2.0 behavior when a remote service is not reachable and
|
13
|
+
emit a critical event.
|
14
|
+
|
8
15
|
## [1.2.0]
|
9
16
|
|
17
|
+
### Changed
|
18
|
+
|
10
19
|
- Skip completely TLSA check if a connexion certificate cannot be fetched;
|
11
20
|
- Do not generate an event when a connexion to a remote service is not
|
12
21
|
possible.
|
13
22
|
|
14
23
|
## [1.1.1]
|
15
24
|
|
25
|
+
### Changed
|
26
|
+
|
16
27
|
- Handle Errno::EHOSTUNREACH exceptions gracefully when attempting to fetch a
|
17
28
|
certificate.
|
18
29
|
|
@@ -23,7 +34,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
23
34
|
- Make it possible to test services using an IP address;
|
24
35
|
- Report validity of certificates when a TLSA record is found in the DNS.
|
25
36
|
|
26
|
-
[Unreleased]: https://github.com/smortex/tls-checker/compare/v1.
|
37
|
+
[Unreleased]: https://github.com/smortex/tls-checker/compare/v1.3.0...HEAD
|
38
|
+
[1.3.0]: https://github.com/smortex/tls-checker/compare/v1.2.0...v1.3.0
|
27
39
|
[1.2.0]: https://github.com/smortex/tls-checker/compare/v1.1.1...v1.2.0
|
28
40
|
[1.1.1]: https://github.com/smortex/tls-checker/compare/v1.1.0...v1.1.1
|
29
41
|
[1.1.0]: https://github.com/smortex/tls-checker/compare/v1.0.0...v1.1.0
|
@@ -25,12 +25,13 @@ module TLSChecker
|
|
25
25
|
]
|
26
26
|
rescue IPAddr::InvalidAddressError
|
27
27
|
certificate_checkers = @resolver.getaddresses(hostname).map { |ip| CertificateChecker.new(hostname, ip, port, starttls) }
|
28
|
-
certificate_checkers.select!(&:check)
|
29
28
|
|
30
29
|
factory = TLSACheckerFactory.new
|
31
30
|
|
32
31
|
tlsa_checkers = []
|
33
32
|
certificate_checkers.each do |certificate_checker|
|
33
|
+
next unless certificate_checker.check
|
34
|
+
|
34
35
|
tlsa_checkers += factory.tlsa_checkers_for(certificate_checker)
|
35
36
|
end
|
36
37
|
|
data/lib/tls-checker/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tls-checker
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Romain Tartière
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-03-
|
11
|
+
date: 2019-03-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: internet_security_event
|