delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/07/07/18:04:54

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: <c21347fa0907071504j5190a028yda5571ab232fb610@mail.gmail.com>
Subject: Subversion not caching password
From: Derek Greer <dbgreer AT gmail DOT com>
To: cygwin <cygwin AT cygwin DOT com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019