From: Patrick Steinhardt <ps@pks.im>
To: Junio C Hamano <gitster@pobox.com>
Cc: Grayson Gordon <graysongordon1@gmail.com>,
git@vger.kernel.org, peff@peff.net, avarab@gmail.com
Subject: Re: [PATCH v6] http: add http.sslVerifyStatus to check stapled OCSP responses
Date: Mon, 31 Aug 2026 16:24:56 +0200 [thread overview]
Message-ID: <apWOuGbOErZt9jo8@pks.im> (raw)
In-Reply-To: <xmqqik4qz86h.fsf@gitster.g>
On Mon, Aug 31, 2026 at 07:16:54AM -0700, Junio C Hamano wrote:
> Patrick Steinhardt <ps@pks.im> writes:
>
> >> They do look involved but seem to cover the situations we do care
> >> about, except we seem not to test when the server does not explicitly
> >> say "this is still good", or am I not reading the tests correctly?
> >
> > Isn't the following test covering that scenario? Or am I misreading?
> >
> > test_expect_success SSL_VERIFYSTATUS 'fetch succeeds with stapled "good" OCSP response'
> > with_ssl_verification git -c http.sslVerifyStatus=true \
> > ls-remote "$HTTPD_URL/smart/repo.git" >actual &&
> > test_line_count -gt 0 actual
> > '
>
> Probably I misstated. What I meant was a reaction to "fail close"
> floated earlier. A server does not explicitly give stapled good,
> and the client says "this is not known-good" and not talking to it.
> I.e. 'fetch fails without stapled "good"'
Ah, I think you're correct, my tests didn't include that. But Grayson's
already did as it doesn't require any setup, so that's why I didn't
include it specifically.
Patrick
next prev parent reply other threads:[~2026-08-31 14:25 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-11 17:02 [PATCH] http: add http.sslVerifyStatus to check stapled OCSP responses graysongordon-gl
2026-08-11 19:28 ` Junio C Hamano
2026-08-11 20:44 ` [PATCH v2] " graysongordon-gl
2026-08-12 6:25 ` Patrick Steinhardt
2026-08-12 15:53 ` Grayson Gordon
2026-08-12 14:17 ` Junio C Hamano
2026-08-12 18:25 ` [PATCH v3] " graysongordon-gl
2026-08-12 21:34 ` Junio C Hamano
2026-08-13 16:06 ` Junio C Hamano
2026-08-17 18:52 ` [PATCH v4] " graysongordon-gl
2026-08-17 19:19 ` Junio C Hamano
2026-08-18 7:50 ` Patrick Steinhardt
2026-08-18 14:51 ` Grayson Gordon
2026-08-19 8:14 ` Patrick Steinhardt
2026-08-18 16:40 ` Junio C Hamano
2026-08-18 19:37 ` [PATCH v5] " graysongordon-gl
2026-08-18 20:12 ` Junio C Hamano
2026-08-18 21:22 ` Grayson Gordon
2026-08-18 21:48 ` [PATCH v6] " graysongordon-gl
2026-08-26 22:01 ` Junio C Hamano
2026-08-28 13:51 ` Grayson Gordon
2026-08-28 17:20 ` Junio C Hamano
2026-08-31 6:56 ` Patrick Steinhardt
2026-08-31 14:16 ` Junio C Hamano
2026-08-31 14:24 ` Patrick Steinhardt [this message]
2026-08-31 14:31 ` Junio C Hamano
2026-09-08 12:55 ` Grayson Gordon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=apWOuGbOErZt9jo8@pks.im \
--to=ps@pks.im \
--cc=avarab@gmail.com \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
--cc=graysongordon1@gmail.com \
--cc=peff@peff.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox