summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
b44545f)
Signed-off-by: Peter Palfrader <peter@palfrader.org>
Match = SSHFingerprint.match(output)
g = Match.groups()
Match = SSHFingerprint.match(output)
g = Match.groups()
+ if int(g[0]) < 1024 and (typekey != "ed25519"):
try:
# Body
Subst["__ERROR__"] = "SSH keysize %s is below limit 1024" % (g[0])
try:
# Body
Subst["__ERROR__"] = "SSH keysize %s is below limit 1024" % (g[0])