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

[Bug] "store-passwords = no" plus upgrading from 1.1->1.2 (or later) removes existing cached passwords

From: Max Bowsher <maxb_at_ukf.net>
Date: 2005-09-23 15:47:43 CEST

Clearly this is not a bug of major importance, since 1.2 has been out for
some time, and I don't think it has been reported before, but I'll mention
it anyway.

Scenario:

There is a pre-1.2 format svn.simple auth cache file containing a password.
store-passwords = no
Now do some operation with a 1.2 client which causes use of the password.
The auth cache file is rewritten to update it to the new format (addition of
a 'passtype' hash key), but because store-passwords = no, the password is
erroneously removed from the cache.

One simple bugfix would be to simply not update auth cache files if they are
not being written to for another reason anyway.

Max.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Sep 23 15:48:35 2005

This is an archived mail posted to the Subversion Dev mailing list.