mirror of
https://github.com/curl/curl.git
synced 2026-08-25 03:33:30 +03:00
libssh: add support for SHA256 host public keys
Reported-by: Joshua Rogers Fixes #21605 Closes #21607
This commit is contained in:
parent
9135294115
commit
eb9b253d66
11 changed files with 85 additions and 48 deletions
|
|
@ -18,6 +18,3 @@ Example:
|
|||
|
||||
Pass a string containing a Base64-encoded SHA256 hash of the remote host's
|
||||
public key. curl refuses the connection with the host unless the hashes match.
|
||||
|
||||
This feature requires libcurl to be built with libssh2 and does not work with
|
||||
other SSH backends.
|
||||
|
|
|
|||
|
|
@ -73,10 +73,6 @@ int main(void)
|
|||
}
|
||||
~~~
|
||||
|
||||
# NOTES
|
||||
|
||||
Requires the libssh2 backend.
|
||||
|
||||
# %AVAILABILITY%
|
||||
|
||||
# RETURN VALUE
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue