Re: Implement --password option for git svn perl script
- From
- Eric 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