summaryrefslogtreecommitdiff
path: root/entry.c
diff options
context:
space:
mode:
authorLibravatar Christoph Egger <christoph@christoph-egger.org>2016-02-15 15:04:22 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2016-02-15 19:21:48 -0800
commitaeff8a61216bf6e0d663c08c583bc8552fa3c344 (patch)
tree56089a2c0b99c783ee4ebed5bf90445c32b0fa3c /entry.c
parentGit 2.7.1 (diff)
downloadtgif-aeff8a61216bf6e0d663c08c583bc8552fa3c344.tar.xz
http: implement public key pinning
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>
Diffstat (limited to 'entry.c')
0 files changed, 0 insertions, 0 deletions