summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Cady <d@jerkface.net>2021-09-30 04:44:00 -0400
committerAndrew Cady <d@jerkface.net>2021-09-30 04:44:00 -0400
commit063c51a8217d34eb1e4490643f8771cdca0bc0c1 (patch)
tree777bbe359c07b5a1576d495f2bc0131df3e53df5
parente9c7314a992c4a0ac60f7deaa7c136a01a2de67f (diff)
add SSHFP tests to "cryptonomic" command output
-rw-r--r--selfpublish.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/selfpublish.sh b/selfpublish.sh
index 660c7f8..7e418e1 100644
--- a/selfpublish.sh
+++ b/selfpublish.sh
@@ -82,6 +82,7 @@ curl
82fortune-mod 82fortune-mod
83fortunes-min 83fortunes-min
84gnupg (>= 2.2.14) 84gnupg (>= 2.2.14)
85ldnsutils
85libssl1.1 (>= 1.1.1d) 86libssl1.1 (>= 1.1.1d)
86netmask 87netmask
87openssl 88openssl
@@ -455,7 +456,9 @@ then
455 2>/dev/null withsetx ssh-keyscan "$hostname" 456 2>/dev/null withsetx ssh-keyscan "$hostname"
456 2>/dev/null withsetx dig +nocmd -taaaa "$hostname" +noall +answer 457 2>/dev/null withsetx dig +nocmd -taaaa "$hostname" +noall +answer
457 2>/dev/null withsetx dig +nocmd "$hostname" +noall +answer 458 2>/dev/null withsetx dig +nocmd "$hostname" +noall +answer
459 2>/dev/null withsetx drill -DS -t sshfp "$hostname"
458 2>&1 withsetx gpg --locate-keys "$uid" 460 2>&1 withsetx gpg --locate-keys "$uid"
461 2>&1 withsetx ssh -o BatchMode=yes -o HostKeyAlgorithms=ssh-ed25519 -o VerifyHostKeyDNS=yes -o GlobalKnownHostsFile=/dev/null -o UserKnownHostsFile=/dev/null "$hostname" -- true
459 462
460elif [ "$1" = hostname ] 463elif [ "$1" = hostname ]
461then 464then