diff options
author | Jameson Graef Rollins <jrollins@finestructure.net> | 2008-11-15 18:45:25 -0500 |
---|---|---|
committer | Jameson Graef Rollins <jrollins@finestructure.net> | 2008-11-15 18:45:25 -0500 |
commit | f5d87b83453aa7888f64b72a74fb16b9d3b65c4a (patch) | |
tree | 7e23eb2ebef6d57bae27514f7b177d155fcfcffd /src/monkeysphere-server | |
parent | a66dc768e8a6cd46f9b260e7d3421a03cbefc365 (diff) |
remove pruning of the ssh fingerprint output in monkeysphere-server
show-key function. the extra info (key length and type) are useful to
have.
Diffstat (limited to 'src/monkeysphere-server')
-rwxr-xr-x | src/monkeysphere-server | 2 |
1 files changed, 1 insertions, 1 deletions
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" |