From: Jameson Graef Rollins Date: Sun, 1 Mar 2009 01:56:18 +0000 (-0500) Subject: openpgp2ssh in ms-host show-key function takes the host gpg key from the temporary... X-Git-Tag: monkeysphere_0.24~50 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=620e3d1021993760ef7572ed9e5d6bf9f033b91e;p=monkeysphere.git 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. --- 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 \