Subversion1.7 or an earlier version mainly uses a disk cache solution to cache authentication creden. In subversion1.8, its configuration file ($ home/. Subversion/config) allows the -- disable-plaintext-password-storage option to bypass the logic of storing plaintext and client passwords.
Default subversion certification information cache directory:
- $ Home/. Subversion/auth/directory in Linux
- % Appdata % \ subversion \ auth in windows; you can view the actual directory through the ECHO % appdata % command
Note: % appdata % in Windows is a hidden folder by default.
The auth sub-directories are:
- SVN. Simple: contains the authentication information (User Name/password) required by the basic authentication method ).
In Linux server, the password is in plain text format. In version 1.8, you can choose not to cache authentication. If the password is cached, it is still in plain text format. In Windows, the password is encrypted through the wincrypt API, not in text format; in addition, MacOS X, gnome, Kde and other desktops also provide encryption solutions;
- SVN. SSL. Client-passphrase
- SVN. SSL. SERVER: contains the SSL server certificate.
- SVN. Username: contains the authentication information for User Name authentication (no password is required)
To clear the svn authentication cache, delete the above auth directory:
Windows commands |
Rmdir/S/Q "% appdata % \ subversion \ auth" |
Linux commands |
Rm-RF $ home/. Subversion/auth/ |
View the details of a file in the auth directory:
Linux environment |
Windows Environment |
K 8 Passtype V 6 Simple K 8 Password V 8 Svnpassword K 15 SVN: realmstring V 35 Svnhosturl K 8 Username V 8 Svnusername End |
K 8 Passtype V 8 Wincrypt K 8 Password V 272 Svncryptpassword K 15 SVN: realmstring V 35 Svnhosturl K 8 Username V 8 Svnusername end |
The following is an excerpt from
Subversion
Official website information:
Disk cache)
Outsourced secure cache (external secure cache, that is, third-party secure cache)
Summary of subversion client authentication credential Cache