You are not logged in.
Hi,
Anyone know how to use gnome-keyring with subversion? When I run svn up, I get the following warning every time:
-----------------------------------------------------------------------
ATTENTION! Your password for authentication realm:
<https://123.456.789.012:443> Subversion Repository
can only be stored to disk unencrypted! You are advised to configure
your system so that Subversion can store passwords encrypted, if
possible. See the documentation for details.
You can avoid future appearances of this warning by setting the value
of the 'store-plaintext-passwords' option to either 'yes' or 'no' in
'/home/david/.subversion/servers'.
-----------------------------------------------------------------------
Store password unencrypted (yes/no)?
I googled a bit and found that you can use gnome-keyring to store passwords encrypted. I tried setting "password-stores = gnome-keyring" in ~/.subversion/config, but this had no effect.
I have the package 'extra/gnome-keyring' installed. From what I can see Subversion is always compiled with gnome-keyring support. I also tried starting the gnome-keyring-daemon, since it's not started by default (I don't use GNOME as my WM). I started it from the command line using 'gnome-keyring-daemon' command. But this had no effect - subversion acts like it doesn't know gnome-keyring even exists.
Any idea?
Cheers,
David
Last edited by david00 (2010-03-22 09:45:32)
Offline
I had the same problem.
When the daemon gets started it prints some environment variables with values to stdout. I think other programs like subversion read these to connect to the daemon.
Starting the daemon like this:
export `gnome-keyring-daemon`
in your .xinitrc or at a comparable place should solve your problem.
Of course, this only applies if you're not using the gnome desktop environment.
Offline
Thanks ber_t, this solved my problem
Offline