diff --git a/go.mod b/go.mod index 59d04b6b..a4df2142 100644 --- a/go.mod +++ b/go.mod @@ -3,7 +3,7 @@ module github.com/atc0005/check-cert go 1.20 require ( - github.com/atc0005/cert-payload v0.3.0 + github.com/atc0005/cert-payload v0.4.0 github.com/atc0005/go-nagios v0.17.1 github.com/grantae/certinfo v0.0.0-20170412194111-59d56a35515b github.com/rs/zerolog v1.33.0 diff --git a/go.sum b/go.sum index ca8b2973..9599debc 100644 --- a/go.sum +++ b/go.sum @@ -1,5 +1,5 @@ -github.com/atc0005/cert-payload v0.3.0 h1:aIhir71r+Ryc7GNuQ0jxQ0iwKk8LP0wjgvSz5caJXBo= -github.com/atc0005/cert-payload v0.3.0/go.mod h1:46vw6K3bJ3zODjGW7xIilssL8r2Sg41hRAGideGH0kU= +github.com/atc0005/cert-payload v0.4.0 h1:B47Ak89zEok4PsxvI7NJcWjf3zTUCM/kNaJnaaBGwBI= +github.com/atc0005/cert-payload v0.4.0/go.mod h1:46vw6K3bJ3zODjGW7xIilssL8r2Sg41hRAGideGH0kU= github.com/atc0005/go-nagios v0.17.1 h1:VdI70UPm7WuAZWePBuuJETdX0maFX3evylSzDoTtkxc= github.com/atc0005/go-nagios v0.17.1/go.mod h1:n2RHhsrgI8xiapqkJ240dKLwMXWbWvkOPLE92x0IGaM= github.com/coreos/go-systemd/v22 v22.5.0/go.mod h1:Y58oyj3AT4RCenI/lSvhwexgC+NSVTIJ3seZv2GcEnc= diff --git a/vendor/github.com/atc0005/cert-payload/CHANGELOG.md b/vendor/github.com/atc0005/cert-payload/CHANGELOG.md index 136f686b..c914d80b 100644 --- a/vendor/github.com/atc0005/cert-payload/CHANGELOG.md +++ b/vendor/github.com/atc0005/cert-payload/CHANGELOG.md @@ -26,6 +26,12 @@ The following types of changes will be recorded in this file: - placeholder +## [v0.4.0] - 2024-11-08 + +### Changed + +- (GH-28) Replace `MultipleLeafCerts` with `DuplicateCerts` + ## [v0.3.0] - 2024-11-06 ### Changed @@ -49,7 +55,8 @@ Add current code used in `atc0005/check-cert` prototype to be used when generating an encoded certificate chain metadata payload for inclusion in plugin output. -[Unreleased]: https://github.com/atc0005/cert-payload/compare/v0.3.0...HEAD +[Unreleased]: https://github.com/atc0005/cert-payload/compare/v0.4.0...HEAD +[v0.4.0]: https://github.com/atc0005/cert-payload/releases/tag/v0.4.0 [v0.3.0]: https://github.com/atc0005/cert-payload/releases/tag/v0.3.0 [v0.2.0]: https://github.com/atc0005/cert-payload/releases/tag/v0.2.0 [v0.1.0]: https://github.com/atc0005/cert-payload/releases/tag/v0.1.0 diff --git a/vendor/github.com/atc0005/cert-payload/payload.go b/vendor/github.com/atc0005/cert-payload/payload.go index e8602a76..e9f64d6e 100644 --- a/vendor/github.com/atc0005/cert-payload/payload.go +++ b/vendor/github.com/atc0005/cert-payload/payload.go @@ -154,9 +154,9 @@ type CertificateChainIssues struct { // certificate within the certificates chain. MissingSANsEntries bool `json:"missing_sans_entries"` - // MultipleLeafCerts indicates that there are more than the single - // permitted leaf certificate in the certificate chain. - MultipleLeafCerts bool `json:"multiple_leaf_certs"` + // DuplicateCerts indicates that there are one or more duplicate copies of + // a certificate in the certificate chain. + DuplicateCerts bool `json:"duplicate_certs"` // MisorderedCerts indicates that certificates in the chain are out of the // expected order. diff --git a/vendor/modules.txt b/vendor/modules.txt index 2dc37d92..589e0e9e 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -1,4 +1,4 @@ -# github.com/atc0005/cert-payload v0.3.0 +# github.com/atc0005/cert-payload v0.4.0 ## explicit; go 1.19 github.com/atc0005/cert-payload # github.com/atc0005/go-nagios v0.17.1