On Tue, Dec 18, 2012 at 10:42 PM, Nico Kadel-Garcia <nkadel_at_gmail.com> wrote:
> On Tue, Dec 18, 2012 at 11:09 AM, Mark Phippard <markphip_at_gmail.com> wrote:
>> On Mon, Dec 17, 2012 at 8:17 PM, Aubrey Barnard <barnard_at_cs.wisc.edu> wrote:
>>
>>> I am having trouble getting Subversion to work with the Gnome keyring and
>>> would like some advice on how to troubleshoot the situation. At this point I
>>> have tried everything I can find (Google, these archives), so I need to find
>>> how/where things are failing.
>>>
>>> I am using the svn+ssh protocol to access a server within my organization.
>>> Even with what I understand is the proper configuration, I am still prompted
>>> for my SSH password and Subversion never mentions a keyring or asks for a
>>> keyring password. The environment is RHEL 6, so I expected this to work
>>> out-of-the-box with the default svn. More information is below.
>>
>> Subversion does not really do any authentication when you use SSH, so
>> there are no credentials for it to cache and none of those settings
>> come into play.
>>
>> When you use SSH, the authentication process is managed by your SSH
>> client. I think most Unix users use something like ssh-agent to
>> manage their keys and I believe there are flavors of that which
>> interact with a GUI such as GNOME.
>
> But the "gnome-keyring" is supposed to manage this for you with Gnome
> up and running. Aubry, which Subversion are you using? I've published,
> SRPM tools at https://github.com/nkadel/subversion-1.6.18-srpm which
> you may find useful to build a fully equipped Subveriosn 1.6.18,
> compatible with Red Hat's, but with all the latest features such as
> gnome-keyring support as much as can be activated with RHEL 5.
>
> Alternatively, jump to RHEL 6 or Scientific Linux 6, both of with have
> better support for such modern tools.
There are integrations between OpenSSH and ssh-agent and GNOME
keyring, however this has nothing to do with Subversion or the SVN
binaries you are using. It has to do with your SSH client.
Subversion just spawns the SSH client and the rest is determined by
that client.
Subversion's GNOME keyring support applies to Subversion's password
caching which does not apply when SSH is being used.
--
Thanks
Mark Phippard
http://markphip.blogspot.com/
Received on 2012-12-19 18:26:18 CET