As a few of you have reported, there was quite a fatal bug in
lsh-1.0.4 that prevented the client from connecting, it died with the
message "Invalid ssh-dss key". The following patch seems to fix the
problem:
--- parse.c 2000/09/03 17:11:39 1.29
+++ parse.c 2000/09/10 23:08:49
@@ -204,7 +204,10 @@
if (!parse_string(buffer, &length, &digits))
return 0;
- if (limit && (length > limit))
+ /* NOTE: If the reciever expects an integer less than 256^limit,
+ * there may still be limit + 1 digits, as a leading zero is
+ * sometimes required to resolve signedness. */
+ if (limit && (length > (limit + 1)))
return 0;
bignum_parse_s(result, length, digits);
I think it is best to regard 1.0.4 (with or without this patch) as a
work-in-progress release.
/Niels