mirror of
https://github.com/curl/curl.git
synced 2026-07-27 00:47:17 +03:00
PolarSSL: Implement public key pinning
This commit is contained in:
parent
7639a9cfc9
commit
33623d7196
5 changed files with 89 additions and 7 deletions
13
docs/curl.1
13
docs/curl.1
|
|
@ -589,9 +589,16 @@ indicating its identity. A public key is extracted from this certificate and
|
|||
if it does not exactly match the public key provided to this option, curl will
|
||||
abort the connection before sending or receiving any data.
|
||||
|
||||
Added in 7.39.0 for OpenSSL, GnuTLS and GSKit. Added in 7.43.0 for NSS and
|
||||
wolfSSL/CyaSSL. sha256 support added in 7.44.0 for OpenSSL,
|
||||
GnuTLS, NSS and wolfSSL/CyaSSL. Other SSL backends not supported.
|
||||
PEM/DER support:
|
||||
7.39.0: OpenSSL, GnuTLS and GSKit
|
||||
7.43.0: NSS and wolfSSL/CyaSSL
|
||||
7.47.0: mbedtls
|
||||
7.49.0: PolarSSL
|
||||
sha256 support:
|
||||
7.44.0: OpenSSL, GnuTLS, NSS and wolfSSL/CyaSSL.
|
||||
7.47.0: mbedtls
|
||||
7.49.0: PolarSSL
|
||||
Other SSL backends not supported.
|
||||
|
||||
If this option is used several times, the last one will be used.
|
||||
.IP "--cert-status"
|
||||
|
|
|
|||
|
|
@ -90,10 +90,16 @@ footer:
|
|||
-----END PUBLIC KEY-----
|
||||
.fi
|
||||
.SH AVAILABILITY
|
||||
Added in 7.39.0 for OpenSSL, GnuTLS and GSKit. Added in 7.43.0 for
|
||||
NSS and wolfSSL/CyaSSL. Added for mbedtls in 7.47.0, sha256 support
|
||||
added in 7.44.0 for OpenSSL, GnuTLS, NSS and wolfSSL/CyaSSL. Other
|
||||
SSL backends not supported.
|
||||
PEM/DER support:
|
||||
7.39.0: OpenSSL, GnuTLS and GSKit
|
||||
7.43.0: NSS and wolfSSL/CyaSSL
|
||||
7.47.0: mbedtls
|
||||
7.49.0: PolarSSL
|
||||
sha256 support:
|
||||
7.44.0: OpenSSL, GnuTLS, NSS and wolfSSL/CyaSSL.
|
||||
7.47.0: mbedtls
|
||||
7.49.0: PolarSSL
|
||||
Other SSL backends not supported.
|
||||
.SH RETURN VALUE
|
||||
Returns CURLE_OK if TLS enabled, CURLE_UNKNOWN_OPTION if not, or
|
||||
CURLE_OUT_OF_MEMORY if there was insufficient heap space.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue