svnserve: "Password for '(null)' GNOME keyring"

Linux howto's, compile information, information on whatever we learned on working with linux, MACOs and - of course - Products of the big evil....
Post Reply
User avatar
^rooker
Site Admin
Posts: 1483
Joined: Fri Aug 29, 2003 8:39 pm

svnserve: "Password for '(null)' GNOME keyring"

Post by ^rooker »

[PROBLEM]
I've set up svnserve to handle SVN user authentication. I've done an SVN checkout with "--username myuser", but when I wanted to commit a change, I was asked for a GNOME keyring passphrase:
Password for '(null)' GNOME keyring:
I neither configured, nor am planning to use GNOME keyring or KWallet for handling my SVN logins on that machine.


[SOLUTION]
In "~/.subversion/config", there are settings which define whether SVN credentials/passwords are stored, and how. Configure the following settings to look like this:

Code: Select all

password-stores =
store-passwords = no
store-auth-creds = no
Try to update and/or commit in order to verify if the changes are correct.

Links:
Jumping out of an airplane is not a basic instinct. Neither is breathing underwater. But put the two together and you're traveling through space!
User avatar
^rooker
Site Admin
Posts: 1483
Joined: Fri Aug 29, 2003 8:39 pm

Re: svnserve: "Password for '(null)' GNOME keyring"

Post by ^rooker »

If you still get a warning that it couldn't connect to gnome-keyring:
WARNING: gnome-keyring:: couldn't connect to: /tmp/keyring-tiYtOT/pkcs11: No such file or directory
Unset the following 2 environment variables:

Code: Select all

$ unset GNOME_KEYRING_CONTROL
$ unset GNOME_KEYRING_PID
That should disable applications trying to connect to the gnome-keyring.
Jumping out of an airplane is not a basic instinct. Neither is breathing underwater. But put the two together and you're traveling through space!
Post Reply