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

Re: [REGRESSION 2.10.2] problematic "empty auth" changes

From
brian m. carlson <sandals@crustytoothpaste.net>
Date
Dec 10, 2016, 15:23 UTC
Message-ID
<20161210152338.vzd4w3pr7wy6p4ki@genre.crustytoothpaste.net>
In-Reply-To
<alpine.DEB.2.20.1612101551100.23160@virtualbox>
On Sat, Dec 10, 2016 at 03:52:39PM +0100, Johannes Schindelin wrote:
Show 6 quoted lines
> One of my colleagues offered a legitimate concern: it potentially adds
> another round-trip.
> 
> Do you happen to know whether regular HTTPS negotiation will have an extra
> round-trip if Kerberos is attempted, but we have to fall back to
> interactively prompt for (or use stored) credentials?

With Kerberos (using tickets), you have 7 request/response pairs, and an additional round trip for the 100 Continue if your push is larger than http.postBuffer. You only have 6 for Basic using Kerberos.

However, libcurl is generally going to be able to figure out whether your Kerberos credentials can be used, so when it falls back to Basic, it does so because it knows you have nothing to use with Negotiate (e.g. you have no ticket), and therefore it doesn't even try. I suppose if I tried to push to a server that offered Negotiate and Basic, but didn't accept my Kerberos credentials, it might fall back in such a way, though.

-- 
brian m. carlson / brian with sandals: Houston, Texas, US
+1 832 623 2791 | https://www.crustytoothpaste.net/~bmc | My opinion only
OpenPGP: https://keybase.io/bk2204
Previous: Johannes Schindelin
Message 7 of 7 in “[REGRESSION 2.10.2] problematic "empty auth" changes”
  1. Johannes SchindelinDec 8, 2016
  2. David TurnerDec 8, 2016
  3. Johannes SchindelinDec 9, 2016
  4. Junio C HamanoDec 9, 2016
  5. brian m. carlsonDec 9, 2016
  6. Johannes SchindelinDec 10, 2016
  7. brian m. carlsonDec 10, 2016

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.