Home Home > 2010 > 01 > 15 > Tip: Using KWallet or GNOME Keyring with Subversion
Sign up | Login

Tip: Using KWallet or GNOME Keyring with Subversion

January 15th, 2010 by

Subversion stores all its configuration and passwords under the ~/.subversion/ directory. Wouldn’t it be cool to have your passwords in KWallet or GNOME Keyring? Recently I found out, it is pretty simple.

Do the following to use KWallet with Subversion:

  1. Install Subversion if you haven’t yet. ­čśë
  2. Install the libsvn_auth_kwallet-1-0 or libsvn_auth_gnome_keyring-1-0 package, depending on if you use KDE or GNOME.
  3. Open the file ~/.subversion/config and search for the [auth] section.
  4. Uncomment the option password-stores. For example, if you use KDE only, the line looks like:
    password-stores = kwallet

    It is possible to add both, KDE’s KWallet Manager and GNOME’s Keyring, separated by commas or spaces.

  5. If you have more than one wallet in your KWallet Manager, set the name with the kwallet-wallet option.

Whenever you commit something in your SVN repository, SVN asks you for the password and stores it in the respective password store(s). In KDE’s KWallet Manager you get a new Subversion folder. (Probably similar in GNOME, but I haven’t tested it.)

Have fun!

Both comments and pings are currently closed.

Comments are closed.