diff options
author | Jameson Graef Rollins <jrollins@finestructure.net> | 2009-02-16 23:57:55 -0500 |
---|---|---|
committer | Jameson Graef Rollins <jrollins@finestructure.net> | 2009-02-16 23:57:55 -0500 |
commit | 26ff353050a173bea139cce630d47b91ee2b95b6 (patch) | |
tree | 59dd2bf4ce088bcad14f0dd236c6794bd3bc6e57 /src | |
parent | f109b94f07ff55cf99976dc3cfe23b54b3797ad8 (diff) |
make host show_key use just the pgp pub key file to get the ssh fingerprint, as it should have been doing before
Diffstat (limited to 'src')
-rwxr-xr-x | src/monkeysphere-host | 3 |
1 files changed, 1 insertions, 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? |