diff options
author | Jameson Graef Rollins <jrollins@phys.columbia.edu> | 2008-07-10 20:19:11 -0400 |
---|---|---|
committer | Jameson Graef Rollins <jrollins@phys.columbia.edu> | 2008-07-10 20:19:11 -0400 |
commit | cabc89111693c8f928a7685f55a385ccf75daf86 (patch) | |
tree | bf97424c653e077cfbcfe42890fea38fe1f6055c /src | |
parent | de3031b28bbccd2cb47a9029e69064330ee137e8 (diff) |
Tweak key publication command.
Diffstat (limited to 'src')
-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 |