summaryrefslogtreecommitdiff
path: root/src/monkeysphere-authentication
diff options
context:
space:
mode:
authorJameson Graef Rollins <jrollins@finestructure.net>2009-02-16 21:28:32 -0500
committerJameson Graef Rollins <jrollins@finestructure.net>2009-02-16 21:28:32 -0500
commite93a298ec6f9abd80e30a933b0dd84c764d11bff (patch)
treef3941f181c83fa3b062a2cc26611fa8a5ccf6622 /src/monkeysphere-authentication
parent0c874fdd6abfa4b74d7805f2d2d121f08211b4aa (diff)
REMOVE GEN_KEY. The gen_key function is entirely removed. Decided
this was OK now that import_key works, and we can't really see a reason to keep it around. We can resurect it down the line if need be. Also, removed "expert" subcommand, after promting import_key, since it may be need semi-regularly. The other "expert" commands are now just not listed in the usage.
Diffstat (limited to 'src/monkeysphere-authentication')
-rwxr-xr-xsrc/monkeysphere-authentication38
1 files changed, 7 insertions, 31 deletions
diff --git a/src/monkeysphere-authentication b/src/monkeysphere-authentication
index 2d6079f..4a09527 100755
--- a/src/monkeysphere-authentication
+++ b/src/monkeysphere-authentication
@@ -61,12 +61,10 @@ subcommands:
remove-id-certifier (c-) KEYID remove a certification key
list-id-certifiers (c) list certification keys
- expert <expert-subcommand> run expert command
- expert help expert command help
-
version (v) show version number
help (h,?) this help
+See ${PGRM}(8) for more info.
EOF
}
@@ -176,35 +174,13 @@ case $COMMAND in
list_certifiers "$@"
;;
- 'expert')
- SUBCOMMAND="$1"
- shift
- case "$SUBCOMMAND" in
- 'help'|'h'|'?')
- cat <<EOF
-usage: $PGRM expert <subcommand> [options] [args]
-
-expert subcommands:
- diagnostics (d) monkeysphere authentication status
- gpg-cmd CMD execute gpg command
-
-EOF
- ;;
-
- 'diagnostics'|'d')
- source "${MASHAREDIR}/diagnostics"
- diagnostics
- ;;
-
- 'gpg-cmd')
- gpg_sphere "$@"
- ;;
+ 'diagnostics'|'d')
+ source "${MASHAREDIR}/diagnostics"
+ diagnostics
+ ;;
- *)
- failure "Unknown expert subcommand: '$COMMAND'
-Type '$PGRM help' for usage."
- ;;
- esac
+ 'gpg-cmd')
+ gpg_sphere "$@"
;;
'version'|'v')