[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: TSVN asks for password over and over and over...

From: Eric Poole <eric_at_rkt-tech.com>
Date: 2007-01-25 16:06:20 CET

At 03:40 PM 1/24/2007, Stefan Küng wrote:

<SK>>>>>Subversion can't store authentication data if you use
svn+ssh, because the whole authentication is done by the ssh client.
And the ssh client is completely independent of Subversion, so
Subversion doesn't even see the authentication data.<<<<<

Good morning, Stefan.

I'm a little confused. When I get the dialog box asking for my
password, is that TortoiseSVN that provides that dialog box, or the
ssh client, or Subversion (on the server machine over on the other
side of town)?

All I did on this machine is install TortoiseSVN. I didn't install
Subversion or PuTTY (to my knowledge ... unless the TSVN installer
did that for me).

All I really need is for TortoiseSVN (or the ssh client) to store my
password for the duration of the current session, and then forget about it.

I am wondering if this could not be done by the following...

1. Identify the class that provides, and reads from, the dialog box
that asks for the password;

2. Insert a private variable into the class, that holds the password
the user entered;

3. Initialize that variable to NULL on TSVN startup (so that it
always forgets the last password entry);

4. When executing the method that presents the dialog box asking for
the password, first look at that variable and if it's not NULL, use
its contents instead of presenting the dialog box.

I downloaded the TSVN source and started looking in places like
LoginDialog.cpp, looking for some likely candidates for modification,
but I don't have VC++.NET and will not be able to purchase and
install that development system in the remotely foreseeable future so
there's really no way I can do it myself.

If this is all done in the ssh client, and not in places like
LoginDialog.cpp, then how do I determine what ssh client I am
using? I don't have PuTTY installed on this machine and so I assumed
that the ssh client was part of the TSVN package (e.g. perhaps ssh.c
in the TortoisePlink subdirectory in the source tree... but that
looks like a DOS-box command line ssh client).

To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
Received on Thu Jan 25 16:06:54 2007

This is an archived mail posted to the TortoiseSVN Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.