moparisthebest 93e450793c SSL: implement public key pinning
Option --pinnedpubkey takes a path to a public key in DER format and
only connect if it matches (currently only implemented with OpenSSL).

Provides CURLOPT_PINNEDPUBLICKEY for curl_easy_setopt().

Extract a public RSA key from a website like so:
openssl s_client -connect google.com:443 2>&1 < /dev/null | \
sed -n '/-----BEGIN/,/-----END/p' | openssl x509 -noout -pubkey \
| openssl rsa -pubin -outform DER > google.com.der
2014-10-07 14:44:19 +02:00
..
2014-10-07 14:44:19 +02:00
2010-04-14 17:34:57 +02:00
ABI
2009-05-01 20:20:54 +00:00
2014-06-21 23:52:06 +02:00
2014-06-21 23:52:06 +02:00
2014-08-29 16:41:17 +02:00
2014-08-29 16:41:11 +02:00