From 26ff353050a173bea139cce630d47b91ee2b95b6 Mon Sep 17 00:00:00 2001 From: Jameson Graef Rollins Date: Mon, 16 Feb 2009 23:57:55 -0500 Subject: [PATCH] make host show_key use just the pgp pub key file to get the ssh fingerprint, as it should have been doing before --- src/monkeysphere-host | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/monkeysphere-host b/src/monkeysphere-host index bd956e0..ff28486 100755 --- a/src/monkeysphere-host +++ b/src/monkeysphere-host @@ -175,8 +175,7 @@ show_key() { echo -n "ssh fingerprint: " ssh-keygen -l -f /dev/stdin \ - <<<$( gpg_host --export "$HOST_FINGERPRINT" 2>/dev/null \ - | openpgp2ssh "$HOST_FINGERPRINT" 2>/dev/null) \ + <<<$(openpgp2ssh <"$HOST_KEY_FILE" 2>/dev/null) \ | awk '{ print $1, $2, $4 }' # FIXME: other relevant key parameters? -- 2.25.1