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

[PATCH v3 0/1] Proactive authentication over HTTP

From
brian m. carlson <sandals@crustytoothpaste.net>
Date
Jul 10, 2024, 00:01 UTC
Message-ID
<20240710000155.947377-1-sandals@crustytoothpaste.net>
In-Reply-To
<20240704001748.746429-1-sandals@crustytoothpaste.net>

Currently Git only sends authentication over HTTP once it's received a 401 response from the server. This series allows users to indicate that they (or the credential helper) know what kind of authentication is to be performed and avoid the extra round trip.

Changes since v2:
* Improve parsing of configuration options as suggested by Junio.
Changes since v1:
* Add a `none` option to explicitly reset the value.
* Improve explanation of `auto`.
* Improve commit message to explain tricky edge case.
* Note that TLS should always be used.
brian m. carlson (1):
  http: allow authenticating proactively
 Documentation/config/http.txt |  20 ++++++
 http.c                        |  62 ++++++++++++++++--
 t/t5563-simple-http-auth.sh   | 116 ++++++++++++++++++++++++++++++++++
 3 files changed, 192 insertions(+), 6 deletions(-)
Previous: Junio C HamanoNext: brian m. carlson
Message 11 of 12 in “Proactive authentication over HTTP”
  1. 0/1 Proactive authentication over HTTPbrian m. carlson, Jun 28, 2024
  2. 1/1 http: allow authenticating proactivelybrian m. carlson, Jun 28, 2024
  3. Junio C HamanoJun 28, 2024
  4. brian m. carlsonJun 28, 2024
  5. Junio C HamanoJun 28, 2024
  6. brian m. carlsonJun 29, 2024
  7. Junio C HamanoJul 1, 2024
  8. 0/1 Proactive authentication over HTTPbrian m. carlson, Jul 4, 2024
  9. 1/1 http: allow authenticating proactivelybrian m. carlson, Jul 4, 2024
  10. Junio C HamanoJul 4, 2024
  11. 0/1 Proactive authentication over HTTPbrian m. carlson, Jul 10, 2024
  12. 1/1 http: allow authenticating proactivelybrian m. carlson, Jul 10, 2024

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.