tip – openSUSE Lizards https://lizards.opensuse.org Blogs and Ramblings of the openSUSE Members Fri, 06 Mar 2020 11:29:40 +0000 en-US hourly 1 https://wordpress.org/?v=4.7.5 Tip: Using KWallet or GNOME Keyring with Subversion https://lizards.opensuse.org/2010/01/15/using-kwallet-or-gnome-keyring-with-subversion/ Fri, 15 Jan 2010 08:47:14 +0000 http://lizards.opensuse.org/?p=2961 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!

]]>