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

Re: [PATCH v2] credential-osxkeychain: support more protocols

From
Jeff King <peff@peff.net>
Date
May 27, 2013, 16:05 UTC
Message-ID
<20130527160511.GA9235@sigill.intra.peff.net>
In-Reply-To
<CAMdq69_RarEXDdR+xzvSb9YPCR2hE=0tM3o-mF3d=cgDMWSq8A@mail.gmail.com>
On Mon, May 27, 2013 at 11:46:24PM +0800, Xidorn Quan wrote:
Show 10 quoted lines
> > We may also eventually want IMAP for git-imap-send, but we have not yet
> > implemented credential-helper support there. We may also want http/socks
> > proxy authentication, but we also have not implemented the git side of
> > that yet. So I think both of those can wait for now.
> 
> Hope the helpers will be implemented soon. IMO, we can add IMAP and
> SOCKS for now since the protocol names are clear, while it is unclear
> what protocol name will be used for HTTP/HTTPS proxy. I guess that
> some may prefer using http/https as protocol name instead of something
> specific. What do you think?

Yes, I think git will need to munge the protocol to indicate to the helper that it is a proxy (or alternatively, add a new key "proxy=1" or something). So it would make sense to wait until the git side of the code materializes so that the helpers knows what to expect.

There was some work done in this area last May, but there are a lot of corner cases with knowing exactly what the proxy URL is (because in some cases, curl pulls it from the environment without git's knowledge). There was a patch series under consideration for libcurl that would let us supply an "authentication callback" to curl that would be called when credentials were needed. But I have not kept track of the state of that patch and whether it ever got merged upstream into libcurl.

-Peff
Previous: Xidorn QuanNext: Xidorn Quan
Message 7 of 10 in “credential-osxkeychain: support more protocols”
  1. credential-osxkeychain: support more protocolsXidorn Quan, May 27, 2013
  2. John SzakmeisterMay 27, 2013
  3. Xidorn QuanMay 27, 2013
  4. credential-osxkeychain: support more protocolsXidorn Quan, May 27, 2013
  5. Jeff KingMay 27, 2013
  6. Xidorn QuanMay 27, 2013
  7. Jeff KingMay 27, 2013
  8. credential-osxkeychain: support more protocolsXidorn Quan, May 28, 2013
  9. John SzakmeisterMay 27, 2013
  10. Xidorn QuanMay 27, 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.