PuTTY artifact host-key-sig-verify-fail

This is a mirror. Follow this link to find the primary PuTTY web site.

Home | FAQ | Feedback | Licence | Updates | Mirrors | Keys | Links | Team
Download: Stable · Snapshot | Docs | Privacy | Changes | Wishlist

summary: Occasional "server's host key did not match the signature supplied"
difficulty: tricky: Needs many tuits.
priority: historic: This is an old bug report that we think is either fixed without noticing, or confined to old systems, or too vague.
present-in: 0.55 0.56 2005-01-31 0.57 0.58

We've had several as-yet-unexplained reports of this (SSH-2 specific) error message, which may represent a bug in PuTTY or in an SSH server, or perhaps data corruption in between. They've been difficult to reproduce.

To determine for sure whether the problem lies in PuTTY or not, we need extra information from a diagnostic build which we can provide, as well as the ordinary SSH packet log.

One interesting report had both this SSH-2 failure, and the SSH-1 failure "Incorrect CRC received on packet", occurring reproducibly on the same machine, and no other. Some further digging into the SSH-1 problem by our correspondent indicated that PuTTY's rsaencrypt() function was playing up; and they found that with their compiler ("Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 13.10.3077 for 80x86") adding /Od (disable all optimisations) made the problem go away.
<20051108211710.79855.qmail@web52815.mail.yahoo.com> et seq

SGT, 2024-11-17: marking this issue as historic. All the reports here are a long way in the past; at least some of them indicated network-layer corruption; others involved { miscompilation of / undefined behaviour in } C code that's been long since rewritten; and we certainly have fixed some issues of this kind in the last 20 years, plus diagnosed a fair number more as the other end's fault. Further issues of this type should be raised separately with proper reproducers.


If you want to comment on this web site, see the Feedback page.
Audit trail for this artifact.
(last revision of this bug record was at 2024-11-17 14:53:03 +0000)

mirror server hosted at Truenetwork, Russian Federation.