Subversion Server Configuration File Update Does Not Work

I am trying to update the configuration of Subversion so that it does not store passwords in text form. I understand that you need to update the configuration in the ~ / .subversion / servers file to prevent this by adding the line: "store-plaintext-passwords = no".

I did this, but my Subversion client continues to display a standard warning:

β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”- ATTENTION! Your password for authentication realm: RainStorm 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/.subversion/servers'. β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”- 

I tried logging out and logging in again from the terminal, but that doesn't seem to matter. I assume that with SVN it is just a CLI tool, not a daemon that I need to reload, but I'm not sure.

What could be?

+4
source share
3 answers

To disable the warning, edit the ~/.subversion/servers file.
Add / Modify the following section:

 [global] store-plaintext-passwords=no 
+4
source

I am trying to update the configuration of Subversion so that it does not store passwords in text form.

Is stores like plain text?

Windows passwords (for repositories) are always stored securely. This is only Linux where the problem arose.

SVN 1.6 adds two safe options for Linux users - GNOME Keyring and KDE KWallet. Both of them are compile-time parameters, so the binary you use should have support for one or both of them.

CollabNet binaries support GNOME Keyring. If you use SVN from the GNOME graphical desktop, it should "just work."

ADDON 1

Subversion clients store authentication data in. / subversion / auth for each area.

To delete cached data, go to the ".subversion / auth / svn.simple" folder and delete the specific file.

Disable caching by opening the config file in the .subversion folder and setting store-passwords and store-auth-creds to no or use the -no-auth-cache argument as a command line.

Somehow

 [auth] ... password-stores = 

may also help.

0
source

Did you cut and paste this error message? If so, "/home/.subversion/servers" does not match "~ / .subversion / servers".

0
source

All Articles