mirror of https://github.com/wolfSSL/wolfssh.git
The known_hosts search skips an entry whose host matches but whose key type differs, so a host pinned with one type that presents another was reported as an unknown host. The check now remembers that the host is known with another type and says so before offering to add the new one, as OpenSSH does. - note the first other-type entry's key type and line in the loop - print a warning with that entry, the host and the new fingerprint before the add prompt; a later same-type entry still matches or rejects as before - reject a server key type that is not printable ASCII before it is printed or stored - regress.c: add TestKnownHostsOtherType Issue: ZD-22634 |
||
|---|---|---|
| .. | ||
| wolfssh | ||
| wolfsshd | ||
| include.am | ||
| wolfssh-options.c | ||