Skip to content

feat: add tls certificate, protocol and cipher observation codes - #38

Open
emmanuelgautier wants to merge 1 commit into
mainfrom
feat/tls-certificate-protocol-cases
Open

emmanuelgautier wants to merge 1 commit into
mainfrom
feat/tls-certificate-protocol-cases

Conversation

@emmanuelgautier

Copy link
Copy Markdown
Member

Closes #33, needed by cerberauth/vulnapi#314.

  • tls.certificate: self-signed, untrusted chain, hostname mismatch, expired / not yet valid / expires soon and OCSP stapling as separate observations.
  • tls.protocol_version: SSL 3.0 probed with a raw ClientHello next to TLS 1.0/1.1, reported as one protocol.legacy_enabled observation.
  • tls.cipher_strength: RC4, 3DES and NULL suites probed with the raw ClientHello, plus DHE groups below 2048 bits (cipher.weak_dh).
  • Stable Metadata["code"] on every TLS observation (probebase.MetadataCode), listed in the docs.
  • Plain-HTTP URL, non-TLS port and closed port skip with a clear reason (TLSInfo.SkipReason).
  • No maintained Go handshake library fit, so the raw prober (probebase.ProbeLegacyHello) only reads ServerHello / ServerKeyExchange. Heartbleed / DROWN / ROBOT are left out, as documented.
  • Tests: httptest TLS servers (expired, self-signed, untrusted issuer, wrong host, minimum versions, plain HTTP, closed port) and canned server responses for the raw prober.

@emmanuelgautier
emmanuelgautier force-pushed the feat/tls-certificate-protocol-cases branch from 474d90b to 9457f6c Compare November 15, 2026 19:36
@emmanuelgautier emmanuelgautier changed the title feat: add tls certificate, protocol and cipher cases with observation codes feat: add tls certificate, protocol and cipher observation codes Nov 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

TLS: hostname mismatch, self-signed, weak DH and legacy protocol probing

1 participant