Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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
add comment

2 Answers

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
add comment

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
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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