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

Re: Username & Password cache

From: Stefan KŁng <tortoisesvn_at_gmail.com>
Date: 2006-03-01 20:11:35 CET

Martijn Reuvers wrote:

> We use SubVersion for a lot of projects and every now and then we add a
> new usergroup with different access restrictions. Before we pass the
> details to that new usergroup, we normally test that group to see
> whether we correctly set all restrictions. However when checking out a
> new repos, it uses the cached password and username. Somehow it seems to
> assign username and password to a specific SVN URL, not to a working
> copy. Problem is, I have to clear my whole cache in order to be able to
> enter a different username/password.

Not even an URL but the URL and the info text the server sends for the
authentication.

> Question is: can you link the username/password combination to the
> working copy and not to the URL? This way I can have multiple working
> copies of the same project with different usernames/passwords.

Not really. The whole auth caching is done in the Subversion library,
not TSVN itself. So if you want such a feature, you have to ask for it
on the Subversion mailing list.

> Or maybe even better, would it be possible to have an option to clear
> passwords individually and NOT all passwords at once? I can imagine an
> option in the command shell when right clicking on your Working Copy
> like "TortoiseSVN->Clear Username/Password". For us that would be really
> helpful.

No can do either. The auth data is stored in %APPDATA%\Subversion\auth,
but the username/passwords are encrypted, and stored in files which have
their name as an md5 hash of the URL and the info text the server sends.
Since TSVN doesn't know the info text of the server, it can't create the
md5 hash and therefore doesn't know which encrypted file contains which
auth data.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
Received on Wed Mar 1 20:11:59 2006

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