HomePhabricator

server: Correctly handle extensions

Authored by Jakuje on Mon, Jan 7, 6:49 PM.

Description

server: Correctly handle extensions

If the server had an RSA host key, it provided unconditionally SHA2
signatures without consulting the client proposed list of supported host
keys.

This commit implements more fine-grained detection of the extension
to provide the client with valid signatures according to RFC 8332
Section 3.1.

Signed-off-by: Jakub Jelen <jjelen@redhat.com>
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>

Details

Committed
asnWed, Jan 9, 1:17 PM
Parents
rLIBSSHca62632170c3: dh: Make sure we do not access uninitialized memory
Branches
Unknown
Tags
Unknown