Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to store my svn password in the gnome-keyring so it is encrypted and 'secure'. I made the necessary changes to ~/.subversion/config, but even after running a few svn commands, I do not see an entry for SVN in the keyring.

What else do I need to do to get SVN using gnome-keyring? I will also be using this with git-svn.

share|improve this question
    
What method are you using to access SVN? SSH, HTTPS, SVNSERVE? – Zoredache Jul 19 '11 at 17:11
up vote 1 down vote accepted

To run git-svn, you may have to build your own Git. I found this patch to support additional authentication sources. The patch looks kind of involved, and the post about it is almost a year old. As far as I can tell though, a) it hasn't made it into Git core yet, and b) Git doesn't seem to have a central issue tracker (!!!!!!) so I don't even know how to suggest that they do so. :(

share|improve this answer

To run regular SVN with passwords stored in gnome-keyring, your .subversion/config should have

[auth]
store-passwords=yes
store-auth-creds=yes
password-stores=gnome-keyring

and in .subversion/servers

[global]
store-passwords=yes
store-plaintext-passwords=no

There's more if you're using client certificates, but that's the basics. Then, you need binaries from CollabNet Subversion starting at version 1.6.16 -- the current I think is 1.6.17.

share|improve this answer
    
Thanks, looks like that was what I was missing for SVN; however, for git-svn, I need to do something else. – Walter White Aug 17 '11 at 11:23

Have you installed subversion-gnome? It's the GNOME Keyring support for Subversion. You can use a package manager (like yum in fedora) to install it.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .