diff options
-rwxr-xr-x | src/monkeysphere-server | 9 |
1 files 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 |