making monkeysphere-server publish-key stricter about choice of emitted host key.
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Wed, 13 Aug 2008 20:49:17 +0000 (16:49 -0400)
committerDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Wed, 13 Aug 2008 20:49:17 +0000 (16:49 -0400)
src/monkeysphere-server

index 3ca0656e4ad5168b48a6282c4174a25f301168ce..d9b867676f49045da0688fe88a6254781caa172a 100755 (executable)
@@ -372,10 +372,10 @@ 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 "--keyserver $KEYSERVER --send-keys $(hostname -f)"
+    #gpg_authentication "--keyserver $KEYSERVER --send-keys =ssh://$(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)'"
+    echo "monkeysphere-server gpg-authentication-cmd '--keyserver $KEYSERVER --send-keys =ssh://$(hostname -f)'"
     exit 255
 }