X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.0 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org MIME-Version: 1.0 Date: Tue, 7 Jul 2009 17:04:33 -0500 Message-ID: Subject: Subversion not caching password From: Derek Greer To: cygwin Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Using the Cygwin version of subversion, I have been unable to configure it to store my encrypted password in ~/.subversion/auth/svn.simple/. Here are the steps I am taking (the first step to start with a clean config= ): - rm -rf ~/.subversion; svn --version - edit the ~/.subversion/servers file to include "store-passwords =3D yes" and "store-plaintext-passwords =3D no" under the [global] section.\ After following these steps, running "svn up" from a subversion work area, I am getting the first expected prompt to accept the certificate and prompting me for my password.=A0 I select 'p' for permanently accept certificate and enter my password which works as expected.=A0 Issuing the command again prompts me for my password again. Examining the ~/.subversion/auth/svn.simple/ folder, a file a successfully been created with the information for the authentication realm, but this file does not contain the encrypted password. What am I missing? EXTRA INFO ------------------- Another thing I've tried is editing the ~/.subversion/config file and adding a "password-stores =3D windows-cryptoapi" under the [auth] section.=A0 This seems to have no effect. I would also note that I also have VisualSVN installed on my machine and when using that version it does not prompt me for my password. Looking at its config store, It has generated the exact same named authentication realm file under ${HOMEPATH}/Application\ Data\Subversion\auth\svn.simple\, but contains the encrypted password section.=A0 Copying the contexts of this file the corresponding file within ~/.subversion/auth/svn.simple/ also has had no effect, as issuing a "svn up" command prompts for my password which then overwrites the ~/.subversion/auth/svn.simple file with the previous, non-password containing contexts again. For those tempted to answer with "Just use the VisualSVN version" (I'm sure no one out there is thinking that), aside from this not being the stated problem (not being able to get the Cygwin subversion to cache passwords), there are also issues with using the VisualSVN version from the bash shell (things like it not accepting commands after prompting for merge operations). Thanks for any help that can be provided.=A0 Hopefully there is some simple "you need to uncomment this other property and set it to X" answer to this. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple