http: implement public key pinning
authorChristoph Egger <christoph@christoph-egger.org>
Mon, 15 Feb 2016 14:04:22 +0000 (15:04 +0100)
committerJunio C Hamano <gitster@pobox.com>
Tue, 16 Feb 2016 03:21:48 +0000 (19:21 -0800)
Add the http.pinnedpubkey configuration option for public key
pinning. It allows any string supported by libcurl --
base64(sha256(pubkey)) or filename of the full public key.

If cURL does not support pinning (is too old) output a warning to the
user.

Signed-off-by: Christoph Egger <christoph@christoph-egger.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
No differences found