Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Move saved TortoiseSVN authentication to another machine?

Is there a way to move a saved login/password for TortoiseSVN to a network repository from machine to machine? Just got a new machine, know my username but don't recall my login to the repository.

I know TortoiseSVN saves some auth info on the directories at %appdata%\Subversion\auth

Moved over the file I found at svn.simple; I see my user name in it in clear text but the password is encrypted. I also see "wincrypt" in the file so that's the crypto functionality invoked.

Ordinarily I'd just have the SVN admin reset it for me but he is out on vacation until next week as is the other admin for SVN.

I can dive into the source for TortoiseSVN and see how authentication is being accomplished but there's got to be an easier way. I can run Wireshark on the successful authentication from the old machines if that would be useful.

like image 697
dr3x Avatar asked Sep 15 '10 18:09

dr3x


People also ask

Where are SVN credentials stored?

On Windows, the Subversion client stores passwords in the %APPDATA%/Subversion/auth/ directory.

Is TortoiseSVN free for commercial use?

TortoiseSVN is an Open Source project developed under the GNU General Public License (GPL). It is free to download and free to use, either personally or commercially, on any number of PCs.


2 Answers

See this answer: Extract TortoiseSVN saved password

If you still have access to the old machine and Windows user account, then you can extract the passwords using the 3rd party "TortoiseSVN Password Decrypter" utility.

Wireshark is another good alternative but I don't believe it will help you for SSL repositories.

like image 139
rkagerer Avatar answered Oct 16 '22 16:10

rkagerer


In TortoiseSVN 1.9 and later, you can do it without any additional tools:

Settings Dialog -> Saved Data, then click the "Clear..." button right of the text "Authentication Data". A new dialog pops up, showing all stored authentication data where you can chose which one(s) to clear. Instead of clearing, hold down the Shift and Ctrl button, and then double click on the list. A new column is shown in the dialog which shows the password in clear.

like image 23
tw0shoes Avatar answered Oct 16 '22 18:10

tw0shoes