summaryrefslogtreecommitdiff
path: root/src/monkeysphere-authentication
diff options
context:
space:
mode:
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