From 914750f1d2d72894f27a313bcc0afab99b918d02 Mon Sep 17 00:00:00 2001 From: joey <> Date: Sat, 22 Jan 2005 19:09:35 +0000 Subject: [PATCH] Notify users about unsupported SSH1 keys --- ud-mailgate | 3 +++ 1 file changed, 3 insertions(+) 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; -- 2.20.1