diff options
author | Jameson Graef Rollins <jrollins@finestructure.net> | 2009-02-28 20:56:18 -0500 |
---|---|---|
committer | Jameson Graef Rollins <jrollins@finestructure.net> | 2009-02-28 20:56:18 -0500 |
commit | 620e3d1021993760ef7572ed9e5d6bf9f033b91e (patch) | |
tree | f666eb01bd56309d9e3c7eecf77b4352b41c9bdb | |
parent | dd9cd0e0d0fa82a6bb537b019c3823bd6d05e229 (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.
-rwxr-xr-x | src/monkeysphere-host | 2 |
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 \ |