From: Jameson Graef Rollins Date: Tue, 17 Feb 2009 04:57:55 +0000 (-0500) Subject: make host show_key use just the pgp pub key file to get the ssh fingerprint, as it... X-Git-Tag: monkeysphere_0.23~85 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=26ff353050a173bea139cce630d47b91ee2b95b6;p=monkeysphere.git make host show_key use just the pgp pub key file to get the ssh fingerprint, as it should have been doing before --- 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?