Summary of subversion client authentication credential Cache

Source: Internet
Author: User
Tags subversion client
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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.