diff options
author | Jameson Graef Rollins <jrollins@phys.columbia.edu> | 2008-06-13 15:36:11 -0400 |
---|---|---|
committer | Jameson Graef Rollins <jrollins@phys.columbia.edu> | 2008-06-13 16:43:07 -0400 |
commit | ad0a9cc0958b30f5be851453ea22c151097fad0c (patch) | |
tree | 47b0f796ad7127f556e28880e72839fde13d3276 /src/monkeysphere-server | |
parent | 0c2c01095b4e3e707a08e9ff6ebe61f18689bcaa (diff) |
More cleanup:
- Batch mode for trust_key function.
- fix some loggging.
- Clean up publish_server_key function -> STILL NON-FUNCTIONING
- more work on monkeysphere-ssh-proxycommand man page
Diffstat (limited to 'src/monkeysphere-server')
-rwxr-xr-x | src/monkeysphere-server | 19 |
1 files changed, 2 insertions, 17 deletions
diff --git a/src/monkeysphere-server b/src/monkeysphere-server index 65a7dda..ffb3452 100755 --- a/src/monkeysphere-server +++ b/src/monkeysphere-server @@ -94,21 +94,6 @@ EOF echo "$keyParameters" | gpg --batch --gen-key } -# publish server key to keyserver -publish_key() { - read -p "publish key to $KEYSERVER? [Y|n]: " OK; OK=${OK:=Y} - if [ ${OK/y/Y} != 'Y' ] ; then - failure "aborting." - fi - - keyID=$(gpg --list-key --with-colons ="$USERID" 2> /dev/null | grep '^pub:' | cut -d: -f5) - - # dummy command so as not to publish fakes keys during testing - # eventually: - #gpg --send-keys --keyserver "$KEYSERVER" "$keyID" - echo "NOT PUBLISHED: gpg --send-keys --keyserver $KEYSERVER $keyID" -} - ######################################################################## # MAIN ######################################################################## @@ -176,7 +161,7 @@ case $COMMAND in ;; 'publish-key'|'p') - publish_key + publish_server_key ;; 'trust-keys'|'t') @@ -210,6 +195,6 @@ case $COMMAND in *) failure "Unknown command: '$COMMAND' -Type 'cereal-admin help' for usage." +Type '$PGRM help' for usage." ;; esac |