Blue:
- ssl_cert_audit: every certificate under /etc/ssl/certs (root prefix)
through openssl x509: expired or not yet valid, SHA-1 signature, RSA below
2048 or EC below 256 bits, a non-critical CA:TRUE and world-writable
files. Bundles and unparsable files count as skipped.
- timesyncd_audit: timesyncd.conf: no NTP or fallback server, a public
fallback pool, RootDistanceMaxSec above five and poll intervals outside
16..2048 seconds.
- resolv_conf_audit: resolv.conf: no nameserver, a single nameserver, a
well-known public resolver, a missing search domain, world-writable.
Red:
- dns_soa_mname_check: the SOA primary must be one of the zone's NS records.
OpenSSL prints dates as 'Nov 22 08:00:00 2026 GMT' and strptime is not
exposed by the project's feature macros; cert_parse_time parses the fields and
uses timegm instead.
Tests with five generated certificates (expired, SHA-1, RSA-1024,
non-critical CA, good), timesyncd/resolv.conf trees and a DNS agent with
delegated and stray SOA primaries. 983 checks, ASan suite green, analyze
clean, release-check green including distcheck 1.44.0.