From 063c51a8217d34eb1e4490643f8771cdca0bc0c1 Mon Sep 17 00:00:00 2001 From: Andrew Cady Date: Thu, 30 Sep 2021 04:44:00 -0400 Subject: add SSHFP tests to "cryptonomic" command output --- selfpublish.sh | 3 +++ 1 file changed, 3 insertions(+) (limited to 'selfpublish.sh') diff --git a/selfpublish.sh b/selfpublish.sh index 660c7f8..7e418e1 100644 --- a/selfpublish.sh +++ b/selfpublish.sh @@ -82,6 +82,7 @@ curl fortune-mod fortunes-min gnupg (>= 2.2.14) +ldnsutils libssl1.1 (>= 1.1.1d) netmask openssl @@ -455,7 +456,9 @@ then 2>/dev/null withsetx ssh-keyscan "$hostname" 2>/dev/null withsetx dig +nocmd -taaaa "$hostname" +noall +answer 2>/dev/null withsetx dig +nocmd "$hostname" +noall +answer + 2>/dev/null withsetx drill -DS -t sshfp "$hostname" 2>&1 withsetx gpg --locate-keys "$uid" + 2>&1 withsetx ssh -o BatchMode=yes -o HostKeyAlgorithms=ssh-ed25519 -o VerifyHostKeyDNS=yes -o GlobalKnownHostsFile=/dev/null -o UserKnownHostsFile=/dev/null "$hostname" -- true elif [ "$1" = hostname ] then -- cgit v1.2.3