diff options
author | Mats Lindestam <matslm@axis.com> | 2021-09-26 23:20:53 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2021-09-26 23:20:53 +0200 |
commit | d1e7d9197b7fe417fb4d62aad5ea8f15a06d906c (patch) | |
tree | 549f3d1e4f04ecc8c499aafa4d21bd968b32a461 /docs/cmdline-opts | |
parent | 1ca62bb5ce3f37174d4bf3f9f70674c4af4396df (diff) | |
download | curl-d1e7d9197b7fe417fb4d62aad5ea8f15a06d906c.tar.gz |
libssh2: add SHA256 fingerprint support
Added support for SHA256 fingerprint in command line curl and in
libcurl.
Closes #7646
Diffstat (limited to 'docs/cmdline-opts')
-rw-r--r-- | docs/cmdline-opts/Makefile.inc | 1 | ||||
-rw-r--r-- | docs/cmdline-opts/hostpubsha256.d | 11 |
2 files changed, 12 insertions, 0 deletions
diff --git a/docs/cmdline-opts/Makefile.inc b/docs/cmdline-opts/Makefile.inc index 6e04552e9..506025a75 100644 --- a/docs/cmdline-opts/Makefile.inc +++ b/docs/cmdline-opts/Makefile.inc @@ -96,6 +96,7 @@ DPAGES = \ header.d \ help.d \ hostpubmd5.d \ + hostpubsha256.d \ hsts.d \ http0.9.d \ http1.0.d \ diff --git a/docs/cmdline-opts/hostpubsha256.d b/docs/cmdline-opts/hostpubsha256.d new file mode 100644 index 000000000..81e6f9851 --- /dev/null +++ b/docs/cmdline-opts/hostpubsha256.d @@ -0,0 +1,11 @@ +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. |