diff options
author | Daniel Kahn Gillmor <dkg@fifthhorseman.net> | 2008-06-23 17:02:33 -0400 |
---|---|---|
committer | Daniel Kahn Gillmor <dkg@fifthhorseman.net> | 2008-06-23 17:02:33 -0400 |
commit | 241254abd25c217ffe3ee8ccb7858498ade28856 (patch) | |
tree | 82b55ba44354ec95ddb727027dcadb897faa5715 /src/monkeysphere-server | |
parent | e8ac612c4bad88172c5e80fa7e813664e536a6f8 (diff) | |
parent | 16db05446adda4fd53e22e5859ea8c498f190097 (diff) |
Merge commit 'jrollins/master'
Diffstat (limited to 'src/monkeysphere-server')
-rwxr-xr-x | src/monkeysphere-server | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/src/monkeysphere-server b/src/monkeysphere-server index 40a6b54..f68f391 100755 --- a/src/monkeysphere-server +++ b/src/monkeysphere-server @@ -34,8 +34,8 @@ subcommands: update-users (s) [USER]... update users authorized_keys files gen-key (g) [HOSTNAME] generate gpg key for the server show-fingerprint (f) show server's host key fingerprint - publish-key (p) publish server key to keyserver - trust-keys (t) KEYID... mark keyids as trusted + publish-key (p) publish server's host key to keyserver + trust-key (t) KEYID [LEVEL] set owner trust for keyid help (h,?) this help EOF @@ -240,15 +240,8 @@ case $COMMAND in publish_server_key ;; - 'trust-keys'|'trust-key'|'t') - if [ -z "$1" ] ; then - failure "You must specify at least one key to trust." - fi - - # process key IDs - for keyID ; do - trust_key "$keyID" - done + 'trust-key'|'trust-key'|'t') + trust_key "$@" ;; 'help'|'h'|'?') |