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

Re: [PATCH] Fix problem with authentification on http repository.

From
Andreas Ericsson <ae@op5.se>
Date
Jul 10, 2008, 11:30 UTC
Message-ID
<4875F2E7.1010209@op5.se>
In-Reply-To
<alpine.DEB.1.00.0807101248360.3135@eeepc-johanness>
Johannes Schindelin wrote:
Show 20 quoted lines
> Hi,
> 
> On Thu, 10 Jul 2008, Jeff King wrote:
> 
>> On Wed, Jul 09, 2008 at 01:43:07PM +0200, Johannes Schindelin wrote:
>>
>>>> Note that http://user:pass@server/path/ /should/ work (but that 
>>>> would need validation), though not a good idea on command line.
>>> Well, now that the programs using URLs are all builtins, we can 
>>> actually do something about it.  We can edit out the "user[:pass]@" 
>>> part out of argv, which usually means that "ps" will not see it 
>>> anymore.
>> Wouldn't there still be a race condition for publicly broadcasting your 
>> password via ps?
> 
> Yes.  For a brief amount of time, but yes.
> 
> BTW I thought I remembered one program xxx'ing out the password via argv, 
> but unfortunately I do not remember which one it was.
> 

The mysql client does (or did) it, although perhaps only on systems that support it.

-- 
Andreas Ericsson                   andreas.ericsson@op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231
Previous: Johannes Schindelin
Message 18 of 18 in “Fix problem with authentification on http repository.”
  1. Fix problem with authentification on http repository.jean.guyader@linkea.org, Sep 29, 2007
  2. Johannes SchindelinSep 29, 2007
  3. Junio C HamanoSep 29, 2007
  4. Johannes SchindelinSep 29, 2007
  5. Junio C HamanoSep 30, 2007
  6. Junio C HamanoJul 9, 2008
  7. Mike HommeyJul 9, 2008
  8. Junio C HamanoJul 9, 2008
  9. Mike HommeyJul 9, 2008
  10. Daniel StenbergJul 9, 2008
  11. Junio C HamanoJul 9, 2008
  12. Mike HommeyJul 9, 2008
  13. Johannes SchindelinJul 9, 2008
  14. Jeff KingJul 10, 2008
  15. Junio C HamanoJul 10, 2008
  16. Jeff KingJul 10, 2008
  17. Johannes SchindelinJul 10, 2008
  18. Andreas EricssonJul 10, 2008

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.