You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Jeremy Wall <jw...@google.com> on 2010/07/13 15:08:34 UTC

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

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

Posted by "Varnau, Steve (Neoview)" <st...@hp.com>.
Also, I guess it could be getting options from system-wide config (/etc/subversion on linux).

-Steve

-----Original Message-----
From: Mark Phippard [mailto:markphip@gmail.com] 
Sent: Tuesday, July 13, 2010 9:29 AM
To: Jeremy Wall
Cc: Varnau, Steve (Neoview); users@subversion.apache.org
Subject: Re: Possible bug in svn's gnome-keyring support?

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 <jw...@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)
> <st...@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@google.com]
>> Sent: Tuesday, July 13, 2010 9:11 AM
>> To: Varnau, Steve (Neoview)
>> Cc: users@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)
>> <st...@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@google.com]
>> Sent: Tuesday, July 13, 2010 8:09 AM
>> To: users@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/

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

Posted by Mark Phippard <ma...@gmail.com>.
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 <jw...@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)
> <st...@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@google.com]
>> Sent: Tuesday, July 13, 2010 9:11 AM
>> To: Varnau, Steve (Neoview)
>> Cc: users@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)
>> <st...@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@google.com]
>> Sent: Tuesday, July 13, 2010 8:09 AM
>> To: users@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/

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

Posted by Jeremy Wall <jw...@google.com>.
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@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@google.com]
> *Sent:* Tuesday, July 13, 2010 9:11 AM
> *To:* Varnau, Steve (Neoview)
> *Cc:* users@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@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@google.com]
> *Sent:* Tuesday, July 13, 2010 8:09 AM
> *To:* users@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
>
>
>

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

Posted by "Varnau, Steve (Neoview)" <st...@hp.com>.
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@google.com]
Sent: Tuesday, July 13, 2010 9:11 AM
To: Varnau, Steve (Neoview)
Cc: users@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) <st...@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@google.com<ma...@google.com>]
Sent: Tuesday, July 13, 2010 8:09 AM
To: users@subversion.apache.org<ma...@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


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

Posted by Jeremy Wall <jw...@google.com>.
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@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@google.com]
> *Sent:* Tuesday, July 13, 2010 8:09 AM
> *To:* users@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
>

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

Posted by "Varnau, Steve (Neoview)" <st...@hp.com>.
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@google.com]
Sent: Tuesday, July 13, 2010 8:09 AM
To: users@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