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

Re: [PATCH 0/3] Advertise OS version

From
Jeff King <peff@peff.net>
Date
Jun 20, 2024, 15:25 UTC
Message-ID
<20240620152521.GB1555496@coredump.intra.peff.net>
In-Reply-To
<ZnNftSO13KlmFbQ3@tapette.crustytoothpaste.net>
On Wed, Jun 19, 2024 at 10:46:13PM +0000, brian m. carlson wrote:
> We'll want to honour people's decisions to remain a mystery or to work
> around broken server implementations, or just to make it harder to track
> or fingerprint them.
Yep, I agree with everything you said, especially this part.
Show 5 quoted lines
> I also think the documentation should state that for the user-agent and
> os-version fields that they are merely informative, can be changed, and
> MUST NOT be used for access control.  That doesn't mean people will
> honour it, but it does mean that we can and should feel free to break
> implementations that don't comply.

I think Christian's proposed documentation did have something along these lines.

I do kind of wonder if we even need a separate "os-version" field, and if it couldn't simply be plugged into the user-agent string (making it "git/1.2.3 Linux x86_64" or something). But maybe that introduces more hassles with respect to configuring/overriding the two parts separately.

-Peff
Previous: brian m. carlsonNext: Junio C Hamano
Message 18 of 22 in “Advertise OS version”
  1. 0/3 Advertise OS versionChristian Couder, Jun 19, 2024
  2. 1/3 version: refactor strbuf_sanitize()Christian Couder, Jun 19, 2024
  3. Eric SunshineJun 19, 2024
  4. 2/3 version: refactor get_uname_info()Christian Couder, Jun 19, 2024
  5. 3/3 connect: advertise OS versionChristian Couder, Jun 19, 2024
  6. Dragan SimicJun 19, 2024
  7. Jeff KingJun 19, 2024
  8. Dragan SimicJun 19, 2024
  9. Christian CouderJun 19, 2024
  10. Dragan SimicJun 19, 2024
  11. rsbecker@nexbridge.comJun 19, 2024
  12. Jeff KingJun 19, 2024
  13. rsbecker@nexbridge.comJun 19, 2024
  14. Dragan SimicJun 19, 2024
  15. Jeff KingJun 19, 2024
  16. rsbecker@nexbridge.comJun 19, 2024
  17. brian m. carlsonJun 19, 2024
  18. Jeff KingJun 20, 2024
  19. Junio C HamanoJun 20, 2024
  20. Usman AkinyemiDec 9, 2024
  21. rsbecker@nexbridge.comDec 9, 2024
  22. Usman AkinyemiDec 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.