Disable Gnome Keyring for SVN

October 28, 2009

Although I am personally switching over to git for my projects, we still use Subversion here at work.

Something I’ve noticed recently is that SVN now stores my passwords in gnome-keyring. This appears to be a feature in version 1.6 and I am running 1.6.5. It seems from that article that it can also use KDE’s Wallet system.

However, I do not use Gnome, and I don’t like KDE wallet. Plus, sometimes it seemed that gnome-keyring would stick on me during a transaction. The only way to fix it was to run another transaction (svn update usually) in another shell.

I finally got sick of it today and Google’d around. Here is the fix I found, edit ~/.subversion/config and add one key.

password-stores =

Easy enough, and once I did everything was a-okay. Hope this helps someone else!

[email protected]:/var/www/experimental/source$ svn commit -m "SOME MESSAGE"
Password for 'default' GNOME keyring:
Sending        SOME FILE
Transmitting file data ...
Committed revision 448.
[email protected]:/var/www/experimental/source$ vim /home/jmhobbs/.subversion/config
[email protected]:/var/www/experimental/source$ svn update
Authentication realm:  Private SVN
Password for 'jmhobbs':
ATTENTION!  Your password for authentication realm:

    Private SVN

can only be stored to disk unencrypted!  You are advised to configure
your system so that Subversion can store passwords encrypted, if
possible.  See the documentation for details.

You can avoid future appearances of this warning by setting the value
of the 'store-plaintext-passwords' option to either 'yes' or 'no' in
Store password unencrypted (yes/no)? yes
At revision 448.
[email protected]:/var/www/experimental/source$

Categories: Geek
Tags: , , ,


  1. Grant says:

    Old post, but still very relevent. I was having trouble establishing a connection to the wordpress svn. This helped.



  2. Martin says:

    Almost a year later and it is still a good result. I first thought it was a MATE problem…
    Thanks for this post!


  3. Perry Hutchison says:

    It doesn’t work for me on Ubuntu 12.04.

    Even with “password-stores =” (or “password-stores = kwallet”) under [auth] in .subversion/config, I still get messages from gnome-keyring whenever I run svn.

    Anyone know a way, short of hacking out the gnome-keyring support in svn and rebuilding it, to get svn to ignore gnome-keyring?

Leave A Comment

Your email will not be published.