atc0005 / cert-payload

Support for encoding and decoding certificate metadata payloads associated with the check_cert plugin from the atc0005/check-cert project.
https://github.com/atc0005/check-cert
MIT License
0 stars 0 forks source link

Add `Certifiates.SANsEntriesCount` field #34

Closed atc0005 closed 1 week ago

atc0005 commented 1 week ago

This field would allow the payload creator to omit SANs entries to conserve plugin output size and still indicate the number of SANs entries present for a certificate. This helps prevent a scenario where an empty SANs entries collection implies that no SANs entries were provided (though the CertificateChainIssues.MissingSANsEntries field if checked would dispel that notion) but also provides the number for use in display or for metrics purposes.

fixes GH-33