certificate-checker 1.0.1 → 1.1.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 +19 -0
- data/lib/certificate-checker/certificate_checker.rb +2 -1
- data/lib/certificate-checker/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: eaba1b03f400c3255649451e82bdd578e4ae46c1865c4561d7b33430a2243482
|
4
|
+
data.tar.gz: 1a6e3b5d31e601d1ae34688a394cf2143e29a3a392927b2221f0f8606a71deb0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f9bb25a04d0dd331b4842dcb261f46e443d491021b05914ca96447e360c10a4f5662876d3d3fa55fe0384f176ffe36b36eb2e4c42e190b8a7e201bffb3f0d8f2
|
7
|
+
data.tar.gz: ac4c2990000aa01608be8752b69b057a5cbeaa0944fc1c98ff8d02223cb8f7920d8c5ff2c9bab861ce1e022deaeec2d2f3217b8a0d0c9afd34bce3097c5e91cd
|
data/CHANGELOG.md
ADDED
@@ -0,0 +1,19 @@
|
|
1
|
+
# Changelog
|
2
|
+
|
3
|
+
All notable changes to this project will be documented in this file.
|
4
|
+
|
5
|
+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
6
|
+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
7
|
+
|
8
|
+
## [1.1.0]
|
9
|
+
|
10
|
+
- Use certificate issuer and subject rather than file line to identify a
|
11
|
+
certificate in a certificate file.
|
12
|
+
|
13
|
+
## [1.0.1]
|
14
|
+
|
15
|
+
- Fix on Debian Stretch.
|
16
|
+
|
17
|
+
[Unreleased]: https://github.com/smortex/tls-checker/compare/v1.1.0...HEAD
|
18
|
+
[1.1.0]: https://github.com/smortex/tls-checker/compare/v1.0.1...v1.1.0
|
19
|
+
[1.0.1]: https://github.com/smortex/tls-checker/compare/v1.0.0...v1.0.1
|
@@ -16,6 +16,7 @@ module CertificateChecker
|
|
16
16
|
def to_e
|
17
17
|
InternetSecurityEvent::X509Status.build(certificate).merge(
|
18
18
|
service: service,
|
19
|
+
line: line,
|
19
20
|
ttl: 3600 * 12,
|
20
21
|
tags: ['certificate-checker'],
|
21
22
|
)
|
@@ -24,7 +25,7 @@ module CertificateChecker
|
|
24
25
|
private
|
25
26
|
|
26
27
|
def service
|
27
|
-
"#{file}:#{
|
28
|
+
"#{file}:#{certificate.issuer}:#{certificate.subject}"
|
28
29
|
end
|
29
30
|
end
|
30
31
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: certificate-checker
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0
|
4
|
+
version: 1.1.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-
|
11
|
+
date: 2019-03-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: internet_security_event
|
@@ -91,6 +91,7 @@ files:
|
|
91
91
|
- ".gitignore"
|
92
92
|
- ".rspec"
|
93
93
|
- ".travis.yml"
|
94
|
+
- CHANGELOG.md
|
94
95
|
- CODE_OF_CONDUCT.md
|
95
96
|
- Gemfile
|
96
97
|
- LICENSE.txt
|
@@ -125,8 +126,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
125
126
|
- !ruby/object:Gem::Version
|
126
127
|
version: '0'
|
127
128
|
requirements: []
|
128
|
-
|
129
|
-
rubygems_version: 2.7.8
|
129
|
+
rubygems_version: 3.0.2
|
130
130
|
signing_key:
|
131
131
|
specification_version: 4
|
132
132
|
summary: Report expired/about to expires certificates in a directory tree.
|