summaryrefslogtreecommitdiff
path: root/src/monkeysphere-host
diff options
context:
space:
mode:
authorJameson Graef Rollins <jrollins@finestructure.net>2009-02-28 20:56:18 -0500
committerJameson Graef Rollins <jrollins@finestructure.net>2009-02-28 20:56:18 -0500
commit620e3d1021993760ef7572ed9e5d6bf9f033b91e (patch)
treef666eb01bd56309d9e3c7eecf77b4352b41c9bdb /src/monkeysphere-host
parentdd9cd0e0d0fa82a6bb537b019c3823bd6d05e229 (diff)
openpgp2ssh in ms-host show-key function takes the host gpg key from the temporary gpghome, instead of from the saved ssh_host_key_rsa.pub.gpg key file.
Diffstat (limited to 'src/monkeysphere-host')
-rwxr-xr-xsrc/monkeysphere-host2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/monkeysphere-host b/src/monkeysphere-host
index 5e7a931..9e4a8c4 100755
--- a/src/monkeysphere-host
+++ b/src/monkeysphere-host
@@ -174,7 +174,7 @@ show_key() {
# create the ssh key
TMPSSH="$GNUPGHOME"/ssh_host_key_rsa_pub
- openpgp2ssh <"$HOST_KEY_FILE" 2>/dev/null >"$TMPSSH"
+ gpg --export | openpgp2ssh 2>/dev/null >"$TMPSSH"
# get the gpg fingerprint
HOST_FINGERPRINT=$(gpg --quiet --list-keys --with-colons --with-fingerprint \