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

Re: Implement --password option for git svn perl script

From
EWEric Wong <normalperson@yhbt.net>
Date
Feb 2, 2010, 09:05 UTC
Message-ID
<20100202090538.GA28437@dcvr.yhbt.net>
In-Reply-To
<a362e8011002012237t640dd8b9sa1da0d221f5d03b6@mail.gmail.com>
Laszlo Papp <djszapi@archlinux.us> wrote:
Show 11 quoted lines
> > The basic requirement is git svn can provide a way to prompt a dialog
> > box to input passwd.
> 
> Yeah, it's a very basic use case, but I don't know whether there is a
> workaround for it somehow, maybe perl gurus or git svn users could
> help more...
> 
> My company, where there are windows users (95% of the company), would
> like to use TortoiseGIT as a graphical client for SVN server
> repositories as an SVN client, no other way by us, so it'd be high
> priority :) So I've got a beer for any volunteer, thanks :P
Hi, (fixed subject so I don't mistake it for junk again)

I don't know (and have no way to test) how to deal with input dialogs for reading a password on Windows (nor any sort of IPC). Somebody else will have to implement it.

Having a --password option in the command line could work, but it's painfully insecure if there's any way for another regular user to view the process table. Not something I'd like to encourage...

Since SVN already caches passwords in a mostly secure location on disk (at least on *nix), shouldn't git svn be able to use the password cache SVN uses?

-- 
Eric Wong
Previous: Laszlo PappNext: Frank Li
Message 8 of 14 in “Implement --password option for git svn perl script”
  1. Laszlo PappJan 29, 2010
  2. Fwd: Delivery Status Notification (Failure)Laszlo Papp, Jan 29, 2010
  3. Frank LiJan 29, 2010
  4. Laszlo PappFeb 1, 2010
  5. Tay Ray ChuanFeb 2, 2010
  6. Frank LiFeb 2, 2010
  7. Laszlo PappFeb 2, 2010
  8. Eric WongFeb 2, 2010
  9. Frank LiFeb 2, 2010
  10. Laszlo PappFeb 2, 2010
  11. Frank LiFeb 2, 2010
  12. Laszlo PappFeb 4, 2010
  13. Steve DiverFeb 5, 2010
  14. Laszlo PappFeb 8, 2010

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.