summaryrefslogtreecommitdiff
path: root/src/monkeysphere-authentication
diff options
context:
space:
mode:
authorJameson Graef Rollins <jrollins@finestructure.net>2009-07-18 14:10:01 -0400
committerJameson Graef Rollins <jrollins@finestructure.net>2009-07-18 14:10:01 -0400
commit70a2eb33f5946ff97bc99a5fd2610ef3c43ee49f (patch)
tree06ddd41ae4df64ac256a41f8909787b866c2dbac /src/monkeysphere-authentication
parent83aa1315985d75b48e28bab50bc117ae472d674b (diff)
add refresh-keys subcommand to monkeysphere-authentication
Diffstat (limited to 'src/monkeysphere-authentication')
-rwxr-xr-xsrc/monkeysphere-authentication7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/monkeysphere-authentication b/src/monkeysphere-authentication
index 5b30628..b37949e 100755
--- a/src/monkeysphere-authentication
+++ b/src/monkeysphere-authentication
@@ -54,6 +54,7 @@ Monkeysphere authentication admin tool.
subcommands:
update-users (u) [USER]... update user authorized_keys files
+ refresh-keys (r) refresh keys in keyring
add-id-certifier (c+) KEYID|FILE import and tsign a certification key
[--domain (-n) DOMAIN] limit ID certifications to DOMAIN
@@ -166,6 +167,12 @@ case $COMMAND in
update_users "$@"
;;
+ 'refresh-keys'|'r')
+ source "${MASHAREDIR}/setup"
+ setup
+ gpg_sphere "--keyserver $KEYSERVER --refresh-keys"
+ ;;
+
'add-identity-certifier'|'add-id-certifier'|'add-certifier'|'c+')
source "${MASHAREDIR}/setup"
setup