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

[PATCH 0/2] fix v2.32.0-rc0 bug with Negotiate / HTTP_NOAUTH

From
Jeff King <peff@peff.net>
Date
May 18, 2021, 06:26 UTC
Message-ID
<YKNeJ+NKUbD5ixA9@coredump.intra.peff.net>
In-Reply-To
<YKNVop80H8xSTCjz@coredump.intra.peff.net>
On Tue, May 18, 2021 at 01:50:27AM -0400, Jeff King wrote:
Show 6 quoted lines
> So perhaps somebody can come up with something clever, but I suspect we
> may need to just revert this for the v2.32 release, and re-break the
> case that 1b0d9545bb8 was trying to solve.
> 
> We probably should beef up the tests around http's credential-rejection,
> too, to catch this regression.

Here are some patches. The first one adds the tests, and I think is an obvious improvement.

The second one does the revert. I'd be quite happy if somebody wants to figure out how to fix it in a way that addresses the original problem, and then we can replace that. But in the meantime, I think it makes sense to prepare the revert, as we wouldn't want to release v2.32.0 with the bug.

  [1/2]: t5551: test http interaction with credential helpers
  [2/2]: Revert "remote-curl: fall back to basic auth if Negotiate fails"
 http.c                      | 15 +++++++-------
 t/t5551-http-fetch-smart.sh | 41 +++++++++++++++++++++++++++++++++++++
 2 files changed, 48 insertions(+), 8 deletions(-)
-Peff
Previous: Jeff KingNext: Jeff King
Message 3 of 11 in “Git 2.23.0-rc0 HTTP authentication failure - error message change”
  1. Ben HumphreysMay 18, 2021
  2. Jeff KingMay 18, 2021
  3. 0/2 fix v2.32.0-rc0 bug with Negotiate / HTTP_NOAUTHJeff King, May 18, 2021
  4. 1/2 t5551: test http interaction with credential helpersJeff King, May 18, 2021
  5. 2/2 Revert "remote-curl: fall back to basic auth if Negotiate fails"Jeff King, May 18, 2021
  6. Derrick StoleeMay 19, 2021
  7. Jeff KingMay 19, 2021
  8. Derrick StoleeMay 19, 2021
  9. Junio C HamanoMay 19, 2021
  10. brian m. carlsonMay 19, 2021
  11. Jeff KingMay 19, 2021

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.