TortoiseSVN Password Decrypter is a free utility to view cached repository credentials that TortoiseSVN has saved on your PC.

The tool is helpful if you checkmarked the "Save authentication" box at some point in the past, but have since forgotten the password you typed in.

Download exe (1.0.40)

Download source

You must have the Microsoft .NET 2.0 runtime installed to use this program.

How it Works

By default, TortoiseSVN stores your cached credentials inside files in the %APPDATA%\Subversion\auth\svn.simple directory. The passwords are encrypted using the Windows Data Protection API, with a key tied to your user account. This tool reads the files and uses the API to decrypt your passwords.

The fact that this tool can decrypt your passwords is not a security vulnerability in TortoiseSVN. The passwords are only accessible when you are logged in and authenticated under the same Windows user account which originally encrypted the files.

The algorithm has fairly naive expectations in terms of file formats and locations. It was programmed based on a single, default environment and cannot parse the full spectrum of permitted configuration syntax in Subversion. No doubt there are many environments out there where this tool will not work. No support is provided.

If you want to run this program from a script, you can specify the -s switch to avoid the "Press any key" prompt on completion.

Limitations

Use of this software is ENTIRELY AT YOUR OWN RISK.

Credits

This tool uses code graciously published by Obviex to interface with the Windows DP API.