From f5d87b83453aa7888f64b72a74fb16b9d3b65c4a Mon Sep 17 00:00:00 2001 From: Jameson Graef Rollins Date: Sat, 15 Nov 2008 18:45:25 -0500 Subject: [PATCH] remove pruning of the ssh fingerprint output in monkeysphere-server show-key function. the extra info (key length and type) are useful to have. --- src/monkeysphere-server | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/monkeysphere-server b/src/monkeysphere-server index e78903b..0815b32 100755 --- a/src/monkeysphere-server +++ b/src/monkeysphere-server @@ -137,7 +137,7 @@ show_server_key() { tmpkey=$(mktemp -d ${TMPDIR:-/tmp}/tmp.XXXXXXXXXX) || failure "Could not create temporary directory!" gpg_authentication "--export $fingerprint" | openpgp2ssh "$fingerprint" 2>/dev/null > "$tmpkey/ " echo -n "ssh fingerprint: " - (cd "$tmpkey" && ssh-keygen -l -f ' ' | awk '{ print $2 }') + (cd "$tmpkey" && ssh-keygen -l -f ' ' rm -rf "$tmpkey" echo -n "OpenPGP fingerprint: " echo "$fingerprint" -- 2.26.2