++userdir-ldap (0.3.XX) Xnstable; urgency=low
++
++ * ud-mailgate: better regex for ssh1 keys, which we reject. [joerg, weasel]
++
++ -- Peter Palfrader <weasel@debian.org> Sat, 17 May 2008 11:18:27 +0200
++
userdir-ldap (0.3.23) unstable; urgency=low
* Fix generation of known_hosts file.
DNS = {}
SSHFingerprint = re.compile('^(\d+) ([0-9a-f\:]{47}) (.+)$')
-SSHRSA1Match = re.compile('^\d+ (\d+) \d+ .*')
++SSHRSA1Match = re.compile('^^(.* )?\d+ \d+ \d+')
ArbChanges = {"c": "..",
"l": ".*",
g = Match.groups()
typekey = g[1]
if Match == None:
- Match = re.compile('^1024 (\d+) ').match(Str)
- Match =SSHRSA1Match.match(Str)
++ Match = SSHRSA1Match.match(Str)
if Match is not None:
- return "SSH1 keys not supported anymore"
+ return "RSA1 keys not supported anymore"
return None;
(fd, path) = tempfile.mkstemp(".pub", "sshkeytry", "/tmp")