[PATCH] Password caching in OS X (and Windows)
Jack Repenning
jrepenning at collab.net
Tue Dec 6 14:10:45 CST 2005
Recent work on svn's trunk/ has added a new feature on Mac OS X,
caching passwords in the system keyring instead of on-disk. The
book, of course, ought to mention this; here's a suggested patch.
(Caveat reviewer: this is my Very First Experience with docbook, and
I haven't built the book to see the effect; still, there were ample
near-by patterns to follow.)
While I was about that, i believe I've discovered a bug in the
description of the analogous feature in Windows. I'm not sure what
the wording _should_ say, but I'm pretty darned sure that what it
presently says does not match my experiments!
It says:
> (Note: if the the user's Windows account
> password is changed, all of the cached passwords become
> undecipherable. The Subversion client will behave as if
> they don't exist, prompting for passwords when
> required.)
I'm no Windows expert, but this does not seem to agree with my own
experiments. Here's what I did:
Using
- TortoiseSVN 1.2.1 / SVN 1.2.1 (for all svn operations)
- Windows XP Pro SP2
1. I checked out a directory (using an https:// URL, into a secured
repository ... actually, a CollabNet site)
2. I confirmed that the password was stored encrypted in C:\Documents
and Files\me\Application Data\Subversion\auth
\svn.simple\XXXXXXXXXX
3. I changed my Windows password, using the "Users" Control Panel
4. I "svn up"ed the directory ... no password prompt
5. I rebooted
6. I updated the directory again ... no password prompt
7. I checked out another directory from the same server/realm ... no
password prompt
-==-
Jack Repenning
CollabNet, Inc.
8000 Marina Boulevard, Suite 600
Brisbane, California 94005
o: +1 650.228.2562
c: +1 408.835.8090
-------------- next part --------------
A non-text attachment was scrubbed...
Name: book.patch
Type: application/octet-stream
Size: 926 bytes
Desc: not available
URL: <http://www.red-bean.com/pipermail/svnbook-dev/attachments/20051206/3b748c2e/attachment.obj>
More information about the svnbook-dev
mailing list