summaryrefslogtreecommitdiff
path: root/log-tree.c
diff options
context:
space:
mode:
authorLibravatar Michael J Gruber <git@drmicha.warpmail.net>2013-02-14 17:04:42 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2013-02-14 09:27:40 -0800
commitb60b7566c04e5f54c0e40229c1716d99d834ab68 (patch)
tree4716daef7db8be4d742a6f98a31cbe37c78e7f55 /log-tree.c
parentReplace filepattern with pathspec for consistency (diff)
downloadtgif-b60b7566c04e5f54c0e40229c1716d99d834ab68.tar.xz
gpg-interface: check good signature in a reliable way
Currently, verify_signed_buffer() only checks the return code of gpg, and some callers implement additional unreliable checks for "Good signature" in the gpg output meant for the user. Use the status output instead and parse for a line beinning with "[GNUPG:] GOODSIG ". This is the only reliable way of checking for a good gpg signature. If needed we can change this easily to "[GNUPG:] VALIDSIG " if we want to take into account the trust model. Signed-off-by: Michael J Gruber <git@drmicha.warpmail.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'log-tree.c')
0 files changed, 0 insertions, 0 deletions