X-Git-Url: https://git.adam-barratt.org.uk/?p=mirror%2Fuserdir-ldap.git;a=blobdiff_plain;f=ud-mailgate;h=aaf1e2ad742e5d3f102aa2e6c0e057aee6e32846;hp=6f9b20cfc5fb2bb7e8b1f810b0cbeda88f295653;hb=2fd1b80485d816389e3ade4a3388d8652cee3f83;hpb=b44545fc006d066aae35b899242486d34d47d03b diff --git a/ud-mailgate b/ud-mailgate index 6f9b20c..aaf1e2a 100755 --- a/ud-mailgate +++ b/ud-mailgate @@ -323,7 +323,7 @@ def DoSSH(Str, Attrs, badkeys, uid): Match = SSHFingerprint.match(output) g = Match.groups() - if int(g[0]) < 1024: + if int(g[0]) < 1024 and (typekey != "ed25519"): try: # Body Subst["__ERROR__"] = "SSH keysize %s is below limit 1024" % (g[0])