Error

When you try to check out a repository, you see the following error message:

Password for 'default' GNOME keyring:
svn: GNOME Keyring is locked and we are non-interactive

Problem

After upgrading subversion to version 1.6, the integration into password managers such as GNOME keyring and Kwallet have been implemented. Previously checked out repositories do not return this error message.

Solution

In the file

~/.subversion/config

in the section "[auth]", set the variable "password-stores" to an empty value e.g.

[auth]
password-stores = 

then try checking out the repository again and you will probably see the following message:

ATTENTION! Your password for authentication realm:
<svn://svn.ee.ethz.ch:3690>

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/<username>/.subversion/servers'.
-----------------------------------------------------------------------
Store password unencrypted (yes/no)?

In order the check out the repositry, answer "yes".

Please read on below.

Additional Info

Although the solution provided above will story your svn passwd in cleartext, this is not new. So far passwords for svn were always saved in cleartext in ~/.subversion/auth/svn.simple

The only change with Subversion version 1.6 or higher is that you are made aware of this.

Please set the appropriate unix file permissions to protect your svn passwords from the eyes of curious others e.g.

chmod -R 700 ~/.subversion/auth/svn.simple

References


CategoryREVC

Services/VersionControlSystems/Subversion/GnomeKeyRing (last edited 2020-09-03 13:00:52 by pmeier)