projects
/
mirror
/
userdir-ldap.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b44545f
)
Authorize ed25519 keys, which have a fixed size of 256 bits
author
Raphael Geissert
<atomo64@gmail.com>
Sun, 3 May 2015 18:57:10 +0000
(20:57 +0200)
committer
Peter Palfrader
<peter@palfrader.org>
Sat, 23 May 2015 08:11:31 +0000
(10:11 +0200)
Signed-off-by: Peter Palfrader <peter@palfrader.org>
ud-mailgate
patch
|
blob
|
history
diff --git
a/ud-mailgate
b/ud-mailgate
index
6f9b20c
..
aaf1e2a
100755
(executable)
--- 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])