From cabc89111693c8f928a7685f55a385ccf75daf86 Mon Sep 17 00:00:00 2001 From: Jameson Graef Rollins Date: Thu, 10 Jul 2008 20:19:11 -0400 Subject: [PATCH] Tweak key publication command. --- src/monkeysphere-server | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/monkeysphere-server b/src/monkeysphere-server index 68c4b24..67466d2 100755 --- a/src/monkeysphere-server +++ b/src/monkeysphere-server @@ -360,7 +360,7 @@ fingerprint_server_key() { # publish server key to keyserver publish_server_key() { - read -p "really publish key to $KEYSERVER? (y/N) " OK; OK=${OK:=N} + read -p "Really publish key to $KEYSERVER? (y/N) " OK; OK=${OK:=N} if [ ${OK/y/Y} != 'Y' ] ; then failure "aborting." fi @@ -369,8 +369,11 @@ publish_server_key() { # FIXME: need to figure out better way to identify host key # dummy command so as not to publish fakes keys during testing # eventually: - #gpg_authentication "--keyring $GNUPGHOME_HOST/pubring.gpg --keyserver $KEYSERVER --send-keys $(hostname -f)" - failure "NOT PUBLISHED (to avoid permanent publication errors during monkeysphere development)." + #gpg_authentication "--keyserver $KEYSERVER --send-keys $(hostname -f)" + echo "NOT PUBLISHED (to avoid permanent publication errors during monkeysphere development)." + echo "The following command should publish the key:" + echo "monkeysphere-server gpg-authentication-cmd '--keyserver $KEYSERVER --send-keys $(hostname -f)'" + exit 255 } # retrieve key from web of trust, import it into the host keyring, and -- 2.25.1