git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] http.c: fix parsing of http.sslCertPasswordProtected variable

From
Mark Lodato <lodatom@gmail.com>
Date
Jul 14, 2013, 00:37 UTC
Message-ID
<CAHREChiOE8oMWQYFY_7yzf1tz-4E2_L5W9--k33vwATFSrR==A@mail.gmail.com>
In-Reply-To
<7vtxjzk13q.fsf@alter.siamese.dyndns.org>
On Fri, Jul 12, 2013 at 3:52 PM, Junio C Hamano <gitster@pobox.com> wrote:
Show 8 quoted lines
>
> Jonathan Nieder <jrnieder@gmail.com> writes:
>
> > FWIW the GIT_SSL_CERT_PASSWORD_PROTECTED envvar has a similar "can
> > only enable" behavior, but since it's documented, that's not as big
> > of a problem.  Do you remember why it was written that way?
>
> Not me ;-).

Because that's how GIT_NO_VERIFY, GIT_CURL_FTP_NO_EPSV, and GIT_CURL_VERBOSE (and perhaps others) work. That said, I agree that parsing the variable's value as a boolean would make much more sense. Perhaps this is how all of those variables should work?

Show 5 quoted lines
> > When that setting was first added[1], there was some mention of
> > autodetection if libcurl could learn to do that.  Did it happen?
>
> I do not think so, but let's see if our resident cURL guru has
> something to say about it.

I tried back in 2009 but eventually gave up, so unfortunately no. Maybe the situation in libcurl has changed since then? (If you are interested in pursing this, please let me know and I can give you the details of what I tried.)

Previous: Junio C HamanoNext: Junio C Hamano
Message 4 of 8 in “http.c: fix parsing of http.sslCertPasswordProtected variable”
  1. http.c: fix parsing of http.sslCertPasswordProtected variableJunio C Hamano, Jul 12, 2013
  2. Jonathan NiederJul 12, 2013
  3. Junio C HamanoJul 12, 2013
  4. Mark LodatoJul 14, 2013
  5. Junio C HamanoJul 15, 2013
  6. Kyle J. McKayJul 15, 2013
  7. Junio C HamanoJul 15, 2013
  8. Kyle J. McKayJul 13, 2013

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.