Universal SEO skill for Claude Code. 26 sub-skills + 19 sub-agents covering technical SEO, E-E-A-T, schema, GEO/AEO, agent readiness (Lighthouse Agentic Browsing, WebMCP, llms.txt), backlinks, local SEO, e-commerce, international SEO, Google APIs, and PDF/Excel reporting. 9 optional extensions for live SEO data.
fix(transport): state the TLS 1.2 floor in the certificate probe
Agrici Danielcda32ebe2626
diff --git a/scripts/transport_check.py b/scripts/transport_check.pyindex da9bc11..3f2392f 100644--- a/scripts/transport_check.py+++ b/scripts/transport_check.py@@ -381,8 +381,15 @@ def _handshake(ip: str, port: int, server_hostname: str, timeout: float, *, veri``timeout`` bounds the TCP connect and the handshake together. With``verify=False`` the certificate is not checked: that mode exists only toread the certificate of a site whose verified handshake already failed.++ Both modes refuse anything older than TLS 1.2. That is already Python's+ default; stating it keeps the probe from following a system OpenSSL+ configuration that lowers the floor. A server that speaks only TLS 1.0 or+ 1.1 therefore fails the handshake and is reported as+ ``tls-handshake-failed``."""context = ssl.create_default_context()+ context.minimum_version = ssl.TLSVersion.TLSv1_2if verify:if getattr(ssl, "HAS_NEVER_CHECK_COMMON_NAME", False):# Browsers match subjectAltName only; do the same.diff --git a/tests/test_transport_check.py b/tests/test_transport_check.pyindex f86512d..3592c0b 100644--- a/tests/test_transport_check.py+++ b/tests/test_transport_check.py@@ -134,7 +134,8 @@ def net(monkeypatch) -> Net:def wrap_socket(self, sock, server_hostname=None, **_kwargs):verify = self.verify_mode != ssl.CERT_NONE- state.wraps.append({"verify": verify, "server_hostname": server_hostname, "sock": sock})+ state.wraps.append({"verify": verify, "server_hostname": server_hostname, "sock": sock,+ "minimum_version": self.minimum_version})outcome = state.verified if verify else state.unverifiedif isinstance(outcome, BaseException):raise outcome@@ -350,6 +351,13 @@ def test_certificate_reading_handshake_reuses_the_same_validated_ip(net, public)assert all(sock.closed for sock in net.socks) and net.unverified.closed+def test_both_handshakes_refuse_protocols_older_than_tls_1_2(net, public) -> None:+ net.verified = verify_error(10, "certificate has expired")+ net.unverified = FakeTLS(der=FIXTURE_DER)+ tc.check_tls("https://fixture.example.test/", now=NOW)+ assert [w["minimum_version"] for w in net.wraps] == [ssl.TLSVersion.TLSv1_2] * 2++# ---------------------------------------------------------------------------# Certificate verdicts# ---------------------------------------------------------------------------