From eb6c24c12b7686f01facec0684232aa5ac2d2073 Mon Sep 17 00:00:00 2001 From: nervuri Date: Sun, 7 Aug 2022 00:00:00 +0000 Subject: [PATCH] trivial changes --- excluded-hosts | 1 + get-certs.sh | 1 + 2 files changed, 2 insertions(+) diff --git a/excluded-hosts b/excluded-hosts index 3cd87c7..819c922 100644 --- a/excluded-hosts +++ b/excluded-hosts @@ -13,6 +13,7 @@ localhost(:[0-9]+)? \[::1\](:[0-9]+)? # Reserved TLDs # https://tools.ietf.org/id/draft-chapin-additional-reserved-tlds-01.html +# https://www.iana.org/assignments/special-use-domain-names/special-use-domain-names.xml#special-use-domain .*\.test(:[0-9]+)? .*\.example(:[0-9]+)? .*\.invalid(:[0-9]+)? diff --git a/get-certs.sh b/get-certs.sh index f3f91f0..1078581 100755 --- a/get-certs.sh +++ b/get-certs.sh @@ -107,6 +107,7 @@ while read -r host; do >&2 echo "$host_and_port - Tor connection failed" elif [ -n "$cert" ] && [ "$cert" != "$cert_via_tor" ]; then # Mismatch. + >&2 echo # empty line >&2 echo "$host_and_port - Tor VERIFICATION FAILED (certs don't match)!!!" # In this case, don't save any certificate to file. # Output both certificates to stderr instead.