PuTTY bug kexinit-guess

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: first_kex_packet_follows is ignored
class: bug: This is clearly an actual problem we want fixed.
difficulty: fun: Just needs tuits, and not many of them.
priority: medium: This should be fixed one day.
present-in: 2005-01-11
fixed-in: 2005-01-23 5140b674352970bd74f395baf344e76d73a92c25 (0.58)

The current SECSH transport draft, draft-ietf-secsh-transport-22.txt,
specifies a boolean in the KEXINIT packet defined as:

      first_kex_packet_follows
         Indicates whether a guessed key exchange packet follows.  If a
         guessed packet will be sent, this MUST be TRUE.  If no guessed
         packet will be sent, this MUST be FALSE.

         After receiving the SSH_MSG_KEXINIT packet from the other side,
         each party will know whether their guess was right.  If the
         other party's guess was wrong, and this field was TRUE, the
         next packet MUST be silently ignored, and both sides MUST then
         act as determined by the negotiated key exchange method.  If
         the guess was right, key exchange MUST continue using the
         guessed packet.

From code inspection, I think PuTTY currently ignores this field, which means
that if it encounters a server that sets it to true and doesn't share PuTTY's
preferred key-exchange method, it'll get horribly confused.
Audit trail for this bug.


If you want to comment on this web site, see the Feedback page.
(last revision of this bug record was at 2016-12-27 11:40:22 +0000)

mirror server hosted at Truenetwork, Russian Federation.