X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=src%2Fmonkeysphere-host;h=17330216301a7ef412054269a0986b0637c77c66;hb=6647104d7181e9bb08d5eaed907d985b131a6c16;hp=5007cac3b6f503d1dc9324740cdc8a4ffc5df04e;hpb=8b806ee99239d48fd3c2920c19f5cac7d54d2e8d;p=monkeysphere.git diff --git a/src/monkeysphere-host b/src/monkeysphere-host index 5007cac..1733021 100755 --- a/src/monkeysphere-host +++ b/src/monkeysphere-host @@ -110,6 +110,11 @@ update_pgp_pub_file() { # all-number (e.g. ssh://666.666), which are technically not allowed # (though some exist on the 'net, apparently) +# FIXME: this will probably misbehave if raw IP addresses are provided, +# either IPv4 or IPv6 using the bracket notation. + +# FIXME: this doesn't address the use of hashed User IDs. + check_service_name() { local name="$1" local errs="" @@ -264,7 +269,7 @@ multi_key() { if (( i++ > 0 )) ; then echo "##############################" fi - eval "$cmd" "$key" + "$cmd" "$key" done } @@ -421,7 +426,7 @@ case $COMMAND in update_pgp_pub_file ;; - 'version'|'v') + 'version'|'--version'|'v') version ;;