Ticket #118 (closed defect: duplicate)
incorrect DSS signature length for packet type 31(0x1f)
|Reported by:||anonymous||Owned by:||bagder|
libssh2 is not processing/reading correctly ssh packet type 31 from the ssh server. The library thinks that DSS signature length is 25 but the SSH server sends value of 40. Since DSS signature length should be 40 libssh2 bails out with msg
[libssh2] 1.023884 Failure Event: -14 - Invalid DSS signature length
We can see that libssh2 thinks that the packet lenght is 25 by debbuging or printing the value.
From the received packet from the server (see the attached tracefile ) we can see that indeed the server sends value of 40.
It might be helpful to mention that openssh processes this packet correctly and when debugging we can see that DSS signature length is correctly recognized as 40.