summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rwxr-xr-xsrc/monkeysphere-host3
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?