Recovering Subversion passwords

Tags:

Subversion caches the passwords you give it, in plain-text files with hex-code-hash-value names, in a hidden directory under your home. You can see them all with:

$ <strong>cat ~/.subversion/auth/*</strong>

Naturally, this only works if you store your passwords without encryption... the file will contain at least this, in Key / Value pairs:

K 8
passtype
V 6
simple
V 30
<http://example.com:80> example.com
K 8
username
V 13
<em>your-username</em>
K 8
password
V 13
<em>your-password</em>