From: joey <> Date: Sat, 22 Jan 2005 19:09:35 +0000 (+0000) Subject: Notify users about unsupported SSH1 keys X-Git-Tag: debian_userdir-ldap_0-3-8~14 X-Git-Url: https://git.adam-barratt.org.uk/?p=mirror%2Fuserdir-ldap.git;a=commitdiff_plain;h=914750f1d2d72894f27a313bcc0afab99b918d02 Notify users about unsupported SSH1 keys --- diff --git a/ud-mailgate b/ud-mailgate index e853056..7c62c88 100755 --- a/ud-mailgate +++ b/ud-mailgate @@ -174,6 +174,9 @@ def DoPosition(Str,Attrs): def DoSSH(Str,Attrs): Match = SSH2AuthSplit.match(Str); if Match == None: + Match = re.compile('^1024 (\d+) ').match(Str) + if Match is not None: + return "SSH1 keys not supported anymore" return None; global SeenKey;