Is there any way to extract credentials saved by TortoiseSVN?
相关问题
- How can I set the SVN password with Emacs 23.1 bui
- If statements in .htaccess files, to enable passwo
- SVN+SSH checkout over VPN using tortoise SVN, Smar
- Mercurial compared to private branches in SVN
- Using Subversion and SourceSafe at the same time?
相关文章
- Is there a version control system abstraction for
- Intermittent “SVNException: svn: E175002: Connecti
- IntelliJ Subversion Authentication Required Dialog
- TortoiseHG and hgsubversion (Windows): “no module
- Incompatible JavaHl library loaded
- TFS vs. JIRA/Bamboo/SVN [closed]
- converting svn repo to git using reposurgeon
- SVN查看日志超时
Short answer: You can use TortoiseSVN Password Decrypter to easily display your cached credentials, including passwords.
Long answer: Here's how the tool works.
The credentials are saved in subdirectories of
%APPDATA%\Subversion\auth\
. Listed from this previous answer they are:svn.simple
contains credentials for basic authentication (username/password)svn.ssl.server
contains SSL server certificatessvn.username
contains credentials for username-only authentication (no password needed)The first directory is the one of interest. It appears to contain files with names that look like GUIDs; one for each repository for which you've saved credentials.
The passwords in these files are encrypted by the Windows Data Protection API. The tool above uses sample code from Obviex to interface with this API and perform decryption.
In order for it to work, you must have access to the same Windows user account you were running under when you checkmarked the "Save authentication" checkbox. This is because the Windows Data Protection API uses an encryption key that is tied to your Windows account. If you lose this account (or, I believe, if an administrator resets your password) then you will no longer be able to decrypt the passwords (except perhaps by using brute force / a third party tool). Having a new Windows account with the same username/password (or probably even SID's) is not sufficient.
Based on the info below it sounds like you could possible decrypt them locally in some fashion...
UPDATE: Definitive answer from TortiseSVN community