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

1.8.0 and plaintext password caching

From: Eugene Grosbein <egrosbein_at_rdtc.ru>
Date: Mon, 08 Jul 2013 19:20:17 +0700

Hi!

Short story: it seems for me, subversion-1.8.0 (and, perhaps, 1.7.0) has broken support
for plaintext password storage.

Long story: I upgraded to 1.8.0, built it under FreeBSD 8.4-STABLE using fresh ports collection.
I have local repository and run svnserve to access it. All runs just fine except
"svn" command does not cache plaintext passwords at client's side.

After upgrade, I removed /root/.subversion/ directory and svn recreated it for me.
Then, I've edited /root/.subversion/servers to include the following settings
to the [global] section:

store-passwords = yes
store-auth-creds = yes
store-plaintext-passwords = yes

After successful authorization, svn creates new file
/root/.subversion/auth/svn.simple/79b9e861c3e4e52680538685b354a10a
starting with lines:

K 8
passtype
V 9
gpg-agent
K 15
svn:realmstring

Please note passtype is "gpg-agent", not "simple". I do not have gpg-agent installed,
nor need it. Of course, password is not cached and svn asks for it every time.
And yes, I need to cache root password. In plaintext. You can assume the whole
file system is encrypted.

Is it a regression in recent subversion or just me doing something wrong?

Please CC: me when replying as I'm not in the list.
Received on 2013-07-08 15:50:16 CEST

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