summaryrefslogtreecommitdiff
path: root/src/monkeysphere-host
diff options
context:
space:
mode:
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>2010-01-19 01:37:14 -0500
committerDaniel Kahn Gillmor <dkg@fifthhorseman.net>2010-01-19 01:37:14 -0500
commit91fdd7dab0b3ea6dba4cc6f12083cba420610725 (patch)
tree8f8c3fb392d78daf707e89129647d825b01000bd /src/monkeysphere-host
parent3a26707c0db3e33b5e244c4da9705ef213560750 (diff)
added a few more FIXMEs to check_service_name()
Diffstat (limited to 'src/monkeysphere-host')
-rwxr-xr-xsrc/monkeysphere-host5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/monkeysphere-host b/src/monkeysphere-host
index a90ab15..884c1b7 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=""