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

Re: [PATCH] push: anonymize URLs in error messages and warnings

From
Junio C Hamano <gitster@pobox.com>
Date
Apr 24, 2020, 20:29 UTC
Message-ID
<xmqqy2qkbpa4.fsf@gitster.c.googlers.com>
In-Reply-To
<20200424165042.GA58621@syl.local>
Taylor Blau <me@ttaylorr.com> writes:
Show 21 quoted lines
> On Fri, Apr 24, 2020 at 02:20:08PM +0000, Johannes Schindelin via GitGitGadget wrote:
>> From: Johannes Schindelin <johannes.schindelin@gmx.de>
>>
>> Just like 47abd85ba0 (fetch: Strip usernames from url's before storing
>> them, 2009-04-17) and later 882d49ca5c (push: anonymize URL in status
>> output, 2016-07-13), and even later c1284b21f243 (curl: anonymize URLs
>> in error messages and warnings, 2019-03-04) this change anonymizes URLs
>> (read: strips them of user names and especially passwords) in
>> user-facing error messages and warnings.
>>
>> Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
>> ---
>>     push: anonymize URLs in error messages and warnings
>>
>>     A token used by GitGitGadget was leaked by this bug. Thankfully, it
>>     seems nobody noticed, and I installed a patched Git on the self-hosted
>>     build agent so that this won't happen anymore.
>
> All looks good to me, thanks.
>
>   Reviewed-by: Taylor Blau <me@ttaylorr.com>
Thanks for the patch and a quick review.
Will queue.
Previous: Taylor BlauNext: Junio C Hamano
Message 3 of 6 in “push: anonymize URLs in error messages and warnings”
  1. push: anonymize URLs in error messages and warningsJohannes Schindelin via GitGitGadget, Apr 24, 2020
  2. Taylor BlauApr 24, 2020
  3. Junio C HamanoApr 24, 2020
  4. Junio C HamanoApr 24, 2020
  5. Johannes SchindelinApr 24, 2020
  6. Junio C HamanoApr 24, 2020

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.