tls-checker 3.0.0 → 3.1.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
2
  SHA256:
3
- metadata.gz: e9dc1e5f907a7ff2bede9345b7ab77df99d6e9567572991a56d33aa7aa959d6a
4
- data.tar.gz: 96ea66407d472bbb535f16b92d77d17a430ff31ab86aeed471bd6757359ceb61
3
+ metadata.gz: 0a83b2340bde85ea4e0416b633b4b1cf5938de939fe9549bf92d5cd176045bde
4
+ data.tar.gz: 9bc4a644b60f54e4d96ed69c22c38f0d7754ecada7df3de1b73d5b4b7f7b3d1e
5
5
  SHA512:
6
- metadata.gz: 9c20621633ad06a3d08e0e4023597501d506f6b9759bbc0e54607b58eb6b61d9e9cf643284c192f28330962ec8cda0d78acfe7076db0d6977698e7582b5fcba1
7
- data.tar.gz: ca0eb725cad027d131e453c9dd5addb208871a509b18523ab490fb9dd2ec79d7de924e46365930c12a32ec1a2237d8068853b9d0d649840b314b9f37d22bc671
6
+ metadata.gz: 6b53454915ecd13421f9a57692d063a9dea0914caa6de95ef8ab36525d891119cba76936dbcb34de6c68a09213d867d48382f0a1fef05e334f7f51e21686c907
7
+ data.tar.gz: 6d08905990a6b0eb109cc9414c6d5b65a619e775bcc47963ad50e2820eca6054a304673e94f029384fbf04402ca4db8302212acf118a0e280618ddb4db5d0f79
@@ -12,7 +12,7 @@ jobs:
12
12
  rubocop:
13
13
  runs-on: ubuntu-latest
14
14
  steps:
15
- - uses: actions/checkout@v5
15
+ - uses: actions/checkout@v7
16
16
  - name: Setup ruby
17
17
  uses: ruby/setup-ruby@v1
18
18
  with:
@@ -30,9 +30,10 @@ jobs:
30
30
  - "3.2"
31
31
  - "3.3"
32
32
  - "3.4"
33
+ - "4.0"
33
34
  name: Ruby ${{ matrix.ruby }}
34
35
  steps:
35
- - uses: actions/checkout@v5
36
+ - uses: actions/checkout@v7
36
37
  - name: Setup ruby
37
38
  uses: ruby/setup-ruby@v1
38
39
  with:
data/CHANGELOG.md CHANGED
@@ -5,6 +5,18 @@ 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
+ ## [v3.1.0](https://github.com/smortex/tls-checker/tree/v3.1.0) (2026-09-24)
9
+
10
+ [Full Changelog](https://github.com/smortex/tls-checker/compare/v3.0.0...v3.1.0)
11
+
12
+ **Implemented enhancements:**
13
+
14
+ - Add Ruby 4.0 to the test matrix [\#23](https://github.com/smortex/tls-checker/pull/23) ([smortex](https://github.com/smortex))
15
+
16
+ **Fixed bugs:**
17
+
18
+ - Improve / Fix TLSA check [\#24](https://github.com/smortex/tls-checker/pull/24) ([smortex](https://github.com/smortex))
19
+
8
20
  ## [v3.0.0](https://github.com/smortex/tls-checker/tree/v3.0.0) (2025-10-07)
9
21
 
10
22
  [Full Changelog](https://github.com/smortex/tls-checker/compare/v2.0.3...v3.0.0)
@@ -17,13 +29,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
17
29
 
18
30
  - Run CI on Ruby 3.4 [\#19](https://github.com/smortex/tls-checker/pull/19) ([smortex](https://github.com/smortex))
19
31
 
20
- **Merged pull requests:**
21
-
22
- - Bump actions/checkout from 4 to 5 [\#17](https://github.com/smortex/tls-checker/pull/17) ([dependabot[bot]](https://github.com/apps/dependabot))
23
- - Bump paambaati/codeclimate-action from 8.0.0 to 9.0.0 [\#16](https://github.com/smortex/tls-checker/pull/16) ([dependabot[bot]](https://github.com/apps/dependabot))
24
- - Bump paambaati/codeclimate-action from 6.0.0 to 8.0.0 [\#15](https://github.com/smortex/tls-checker/pull/15) ([dependabot[bot]](https://github.com/apps/dependabot))
25
- - Bump paambaati/codeclimate-action from 5.0.0 to 6.0.0 [\#14](https://github.com/smortex/tls-checker/pull/14) ([dependabot[bot]](https://github.com/apps/dependabot))
26
-
27
32
  ## [v2.0.3](https://github.com/smortex/tls-checker/tree/v2.0.3) (2024-01-01)
28
33
 
29
34
  [Full Changelog](https://github.com/smortex/tls-checker/compare/v2.0.2...v2.0.3)
data/Rakefile CHANGED
@@ -15,7 +15,7 @@ GitHubChangelogGenerator::RakeTask.new :changelog do |config|
15
15
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
16
16
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
17
17
  HEADER
18
- config.exclude_labels = %w[duplicate question invalid wontfix wont-fix skip-changelog ignore]
18
+ config.exclude_labels = %w[dependencies duplicate question invalid wontfix wont-fix skip-changelog ignore]
19
19
  config.user = 'smortex'
20
20
  config.project = 'tls-checker'
21
21
  config.since_tag = 'v1.4.0'
@@ -37,17 +37,12 @@ module TLSChecker
37
37
  end
38
38
  end
39
39
 
40
- def each_tlsa_record(certificate_checker)
40
+ def each_tlsa_record(certificate_checker, &block)
41
41
  resource = "_#{certificate_checker.port}._tcp.#{certificate_checker.hostname}."
42
42
 
43
- @resolver.getresources(resource, Resolv::DNS::Resource::IN::ANY).each do |rr|
44
- # XXX: Should we check the RRSIG here, or can we assume that the resolver
45
- # should have failed if it could not verify the response?
46
- next unless rr.instance_of?(Resolv::DNS::Resource::Generic::Type52_Class1)
47
-
48
- record = Resolv::DNS::Resource::IN::TLSA.new(rr.data)
49
- yield(record)
50
- end
43
+ # XXX: Should we check the RRSIG, or can we assume that the resolver
44
+ # should have failed if it could not verify the response?
45
+ @resolver.getresources(resource, Resolv::DNS::Resource::IN::TLSA).each(&block)
51
46
  end
52
47
  end
53
48
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module TLSChecker
4
- VERSION = '3.0.0'
4
+ VERSION = '3.1.0'
5
5
  end
data/tls-checker.gemspec CHANGED
@@ -24,7 +24,7 @@ Gem::Specification.new do |spec|
24
24
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
25
25
  spec.require_paths = ['lib']
26
26
 
27
- spec.add_dependency 'internet_security_event', '~> 4.0'
27
+ spec.add_dependency 'internet_security_event', '~> 5.0'
28
28
 
29
29
  spec.add_development_dependency 'bundler'
30
30
  spec.add_development_dependency 'github_changelog_generator'
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: 3.0.0
4
+ version: 3.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Romain Tartière
@@ -15,14 +15,14 @@ dependencies:
15
15
  requirements:
16
16
  - - "~>"
17
17
  - !ruby/object:Gem::Version
18
- version: '4.0'
18
+ version: '5.0'
19
19
  type: :runtime
20
20
  prerelease: false
21
21
  version_requirements: !ruby/object:Gem::Requirement
22
22
  requirements:
23
23
  - - "~>"
24
24
  - !ruby/object:Gem::Version
25
- version: '4.0'
25
+ version: '5.0'
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: bundler
28
28
  requirement: !ruby/object:Gem::Requirement
@@ -197,7 +197,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
197
197
  - !ruby/object:Gem::Version
198
198
  version: '0'
199
199
  requirements: []
200
- rubygems_version: 3.7.1
200
+ rubygems_version: 4.0.20
201
201
  specification_version: 4
202
202
  summary: Report expired/about to expires certificates used in TLS connexions
203
203
  test_files: []