Saving plaintext passwords was intentionally disabled in svn starting from version 1.12. There's no configuration key to re-enable this feature. The only way to make Subversion save your password as a plain text is to enable it at the compile time.
However, Subversion is still able to read the plaintext passwords.
And there's an official script to manually save your password as a plain text.
- Consider removing any edits from
~/.subversion/configand~/.subversion/servers. Just remove both files if in doubt. - Use your svn server at least once (e.g. checkout something).
Verify and permanantly accept the server server certificate fingerprint, if asked.
This would generate~/.subversion/auth/svn.simple/xxxxxfile (where "xxxxx" is some hash), but there would be no password in it yet. - Run
svn authand note theAuthentication realm: <https://myserver.mydomain:12345> VisualSVN Serverstring in the output. - Use the official workaround script to store your password as plaintext:
wget https://svn.apache.org/repos/asf/subversion/trunk/tools/client-side/store-plaintext-password.py
chmod +x store-plaintext-password.py
./store-plaintext-password.py -u your_username "<https://myserver.mydomain:12345> VisualSVN Server"
- doublecheck that
~/.subversion/auth/svn.simple/xxxxxnow actually contains your password chmod 600 ~/.subversion/auth/svn.simple/xxxxx(just-in-case)chmod 700 ~/.subversion/auth/svn.simple(just-in-case)- try using your svn server again (e.g.
svn update).
Just tested on svn version 1.14.1 (r1886195), installed with simply apt install subversion, on Ubuntu 22.