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.
Nobody/Anonymous ( nobody ) - 2009-09-19 01:37
5
Open
None
Daniel Stenberg
API
None
Public
|
Date: 2009-10-21 19:47 from the submitter: |
|
Date: 2009-10-18 12:23 I figure one way to approach this (as I assume this behavior is considered |
|
Date: 2009-09-19 22:32 From the submitter- |
|
Date: 2009-09-19 09:17 src/hostkey.c:hostkey_method_ssh_dss_sig_verify() checks that the sig |
|
Date: 2009-09-19 01:53 from the submitter: |
| Filename | Description | Download |
|---|---|---|
| ssherror.txt | libssh2 trace log containing the packets | Download |
| Field | Old Value | Date | By |
|---|---|---|---|
| assigned_to | nobody | 2009-09-19 09:17 | bagder |
| File Added | 343538: ssherror.txt | 2009-09-19 01:37 | nobody |
Copyright © 2010 Geeknet, Inc. All rights reserved. Terms of Use