mirror of
https://github.com/curl/curl.git
synced 2024-12-15 06:40:09 +08:00
d1e7d9197b
Added support for SHA256 fingerprint in command line curl and in libcurl. Closes #7646
12 lines
391 B
Makefile
12 lines
391 B
Makefile
Long: hostpubsha256
|
|
Arg: <sha256>
|
|
Help: Acceptable SHA256 hash of the host public key
|
|
Protocols: SFTP SCP
|
|
Added: 7.80.0
|
|
Category: sftp scp
|
|
Example: --hostpubsha256 NDVkMTQxMGQ1ODdmMjQ3MjczYjAyOTY5MmRkMjVmNDQ= sftp://example.com/
|
|
---
|
|
Pass a string containing a Base64-encoded SHA256 hash of the remote
|
|
host's public key. Curl will refuse the connection with the host
|
|
unless the hashes match.
|