[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Possible bug in svn's gnome-keyring support?

From: Mark Phippard <markphip_at_gmail.com>
Date: Tue, 13 Jul 2010 12:29:08 -0400

If the option is not set, the default behavior is to use what is
available. If you have gnome-keyring support it tries to use it.

On Tue, Jul 13, 2010 at 12:22 PM, Jeremy Wall <jwall_at_google.com> wrote:
> There was no password-stores line in my config file. I had to add a
> password-stores line to the file to disable it. Is there a second config
> file it might be pulling from that I'm unaware of?
>
> On Tue, Jul 13, 2010 at 11:15 AM, Varnau, Steve (Neoview)
> <steve.varnau_at_hp.com> wrote:
>>
>> It should only use gnome if it is specified in your config file
>> (~/.subversion/config):
>>
>>
>>
>> password-stores = gnome-keyring
>>
>>
>>
>> -Steve
>>
>>
>>
>> From: Jeremy Wall [mailto:jwall_at_google.com]
>> Sent: Tuesday, July 13, 2010 9:11 AM
>> To: Varnau, Steve (Neoview)
>> Cc: users_at_subversion.apache.org
>> Subject: Re: Possible bug in svn's gnome-keyring support?
>>
>>
>>
>> The strangeness is it's insistence on using the Gnome Keyring despite me
>> not using Gnome. Is this the expected default behaviour?
>>
>> On Tue, Jul 13, 2010 at 11:08 AM, Varnau, Steve (Neoview)
>> <steve.varnau_at_hp.com> wrote:
>>
>> Jeremy,
>>
>>
>>
>> If svn is configured to use a Gnome keyring, then it is trying to store
>> the password you are giving on the command line in the keyring. Hence it is
>> prompting for the gnome-keyring password.  If you also specify
>> –no-auth-cache, then you might not get a prompt.
>>
>>
>>
>> -Steve
>>
>>
>>
>> From: Jeremy Wall [mailto:jwall_at_google.com]
>> Sent: Tuesday, July 13, 2010 8:09 AM
>> To: users_at_subversion.apache.org
>> Subject: Possible bug in svn's gnome-keyring support?
>>
>>
>>
>> Hi,
>>
>>
>>
>> I noticed after updating svn to version 1.6.6 that svn now has
>> gnome-keyring support.
>>
>>
>>
>> However It seems to ignore the --username --password flags if that support
>> is enabled. I don't use the gnome-keyring or even gnome but subversion
>> refused to let me commit until I turned off password-stores in the config
>> despite giving it a valid username and password. Instead it would prompt for
>> the gnome-keyring password which is not set up for me and refuse to continue
>> until I successfully authenticated to the keyring.
>>
>>
>>
>> This seems like the wrong behavior to me. Is it intended?
>>
>>
>>
>> Here is my subversion information:
>>
>>
>>
>> svn, version 1.6.6 (r40053)
>>
>>    compiled Dec 12 2009, 05:06:12
>>
>>
>>
>> Copyright (C) 2000-2009 CollabNet.
>>
>> Subversion is open source software, see http://subversion.tigris.org/
>>
>> This product includes software developed by CollabNet
>> (http://www.Collab.Net/).
>>
>>
>>
>> The following repository access (RA) modules are available:
>>
>>
>>
>> * ra_neon : Module for accessing a repository via WebDAV protocol using
>> Neon.
>>
>>   - handles 'http' scheme
>>
>>   - handles 'https' scheme
>>
>> * ra_svn : Module for accessing a repository using the svn network
>> protocol.
>>
>>   - with Cyrus SASL authentication
>>
>>   - handles 'svn' scheme
>>
>> * ra_local : Module for  accessing a repository on local disk.
>>
>>   - handles 'file' scheme
>>
>>
>>
>>
>>
>> Jeremy
>>
>>
>

-- 
Thanks
Mark Phippard
http://markphip.blogspot.com/
Received on 2010-07-13 18:29:56 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.