X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=src%2Fmonkeysphere-authentication;fp=src%2Fmonkeysphere-authentication;h=b37949e4e3f061425e3761029741f837cc1fb5f7;hb=70a2eb33f5946ff97bc99a5fd2610ef3c43ee49f;hp=5b30628a188341d2e8c64dbc339d377220caa2f7;hpb=83aa1315985d75b48e28bab50bc117ae472d674b;p=monkeysphere.git 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