2

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.

  • What method are you using to access SVN? SSH, HTTPS, SVNSERVE? – Zoredache Jul 19 '11 at 17:11
  • Note that the entries are labeled just with 'network password' in the keyring, the details should tell if they belong to svn. – jnas Oct 28 '16 at 5:55
1

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. :(

2

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.

  • Thanks, looks like that was what I was missing for SVN; however, for git-svn, I need to do something else. – Walter Aug 17 '11 at 11:23
1

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.