Subversion not caching password
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 = yes and store-plaintext-passwords = 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. I select 'p' for permanently accept certificate and enter my password which works as expected. 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 = windows-cryptoapi under the [auth] section. 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. 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. 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
Re: Subversion not caching password
On 7/7/2009 3:04 PM, Derek Greer wrote: 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 = yes and store-plaintext-passwords = no under the [global] section.\ I guess the Cygwin build of subversion can only cache plaintext passwords, and you've just turned that off, so it won't cache passwords. I will look into supporting the wincrypt API in the Cygwin build, but I wouldn't hold your breath if I were you. It might also be possible to turn on the GNOME keyring or KWallet support, although again I'm not sure. -- David Rothenberger daver...@acm.org Volunteer Cygwin subversion maintainer. -- 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
RE: Subversion not caching password
Very cool. Thanks much! Derek -Original Message- From: cygwin-ow...@cygwin.com [mailto:cygwin-ow...@cygwin.com] On Behalf Of David Rothenberger Sent: Tuesday, July 07, 2009 10:11 PM To: cygwin@cygwin.com Subject: Re: Subversion not caching password On 7/7/2009 4:39 PM, David Rothenberger wrote: On 7/7/2009 3:04 PM, Derek Greer wrote: Using the Cygwin version of subversion, I have been unable to configure it to store my encrypted password in ~/.subversion/auth/svn.simple/. I will look into supporting the wincrypt API in the Cygwin build, but I wouldn't hold your breath if I were you. Turns out this wasn't too hard. I'm working on packaging 1.6.3, so I'll include this fix in those packages. They should be available early next week if not before. -- David Rothenberger daver...@acm.org Volunteer Cygwin subversion maintainer. -- 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 -- 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
Re: Subversion not caching password
On 7/7/2009 4:39 PM, David Rothenberger wrote: On 7/7/2009 3:04 PM, Derek Greer wrote: Using the Cygwin version of subversion, I have been unable to configure it to store my encrypted password in ~/.subversion/auth/svn.simple/. I will look into supporting the wincrypt API in the Cygwin build, but I wouldn't hold your breath if I were you. Turns out this wasn't too hard. I'm working on packaging 1.6.3, so I'll include this fix in those packages. They should be available early next week if not before. -- David Rothenberger daver...@acm.org Volunteer Cygwin subversion maintainer. -- 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