From: Tollef Fog Heen Date: Mon, 4 Jun 2012 20:25:47 +0000 (+0200) Subject: Allow : in user ids X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=97fbd9da6c92634e3b6a1ee640cdc4b53842afda;p=pwstore Allow : in user ids --- diff --git a/pws b/pws index 13c6783..d122c4a 100755 --- 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)