X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=ud-mailgate;h=7c62c8886b223eea35f4a207d9826713e9b9c762;hb=f4298d3c8cce17256396c5be7d1d3c920ee87938;hp=e853056a7950eea8ca5ca8e3ccbfebb6966c78a6;hpb=0e05227cc784dc56d5d7609def55ea679ecbbaf4;p=mirror%2Fuserdir-ldap.git 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;