curl/lib/vssh
Viktor Szakats cd7eb9e0f2
libssh2: fix to ignore known_hosts if SHA256 host public key is set
Syncing behavior with MD5 host public keys.

libcurl implemented to force a host key type for hosts is present in
`known_hosts`, and disabled this logic when an MD5 host public key is
explicitly set. libcurl later received support for SHA256 host public
keys. This update missed to extend the `known_hosts` logic with the new
key type.

This caused test 3022 to fail if a pre-existing `known_hosts` listed
the test server IP (127.0.0.1) with a non-RSA host key algo.

Follow-up to d1e7d9197b #7646
Follow-up to 272282a054 #4747

Closes #16805
2025-03-24 09:47:59 +01:00
..
.checksrc checksrc: use 'banfunc' proper in more places 2025-01-13 09:10:58 +01:00
curl_path.c libssh2: put the readdir buffers into struct 2024-10-16 11:55:47 +02:00
curl_path.h libssh2: put the readdir buffers into struct 2024-10-16 11:55:47 +02:00
libssh.c ftp/sftp: strdup data info memory 2025-03-15 21:49:38 +01:00
libssh2.c libssh2: fix to ignore known_hosts if SHA256 host public key is set 2025-03-24 09:47:59 +01:00
ssh.h libssh2: drop obsolete macros and version checks 2025-02-12 09:04:13 +01:00
wolfssh.c wolfssh: fix freeing of resources in disconnect 2025-03-11 14:56:38 +01:00