]> err.no Git - pwstore/commitdiff
Allow : in user ids
authorTollef Fog Heen <tfheen@err.no>
Mon, 4 Jun 2012 20:25:47 +0000 (22:25 +0200)
committerTollef Fog Heen <tfheen@err.no>
Mon, 4 Jun 2012 20:25:47 +0000 (22:25 +0200)
pws

diff --git a/pws b/pws
index 13c67832dccaa79cb2a434d90a23b22a1148015e..d122c4a038ed2e65bcdb67444b3ec3b16392d0aa 100755 (executable)
--- a/pws
+++ b/pws
@@ -289,7 +289,7 @@ class GroupConfig
       lno = lno+1
       next if line =~ /^$/
       next if line =~ /^#/
-      if (m = /^([a-zA-Z0-9-]+)\s*=\s*([0-9A-Fa-f]{40})\s*$/.match line)
+      if (m = /^([a-zA-Z0-9:-]+)\s*=\s*([0-9A-Fa-f]{40})\s*$/.match line)
         user = m[1]
         fpr = m[2]
         if @users.has_key?(user)