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

Re: [PATCH] unlock gnome-keyring

From: Mark Phippard <markphip_at_gmail.com>
Date: Mon, 15 Dec 2008 08:59:17 -0500

On Sun, Dec 14, 2008 at 7:32 PM, Arfrever Frehtes Taifersar Arahesis
<Arfrever.FTA_at_gmail.com> wrote:
> 2008-12-12 06:33 Alexander Thomas <alexander_at_collab.net> napisaƂ(a):
>> Here is a patch which try to address a Subversion issues with gnome
>> keyring support. Present implementation of gnome-keyring fails to access
>> a locked keyring and if there is no X present.
>>
>> This patch, try to unlock the keyring by prompting the user for keyring
>> password only if the default keyring is locked.
>
> Could you write steps to reproduce "a locked keyring"?

1) Turn on computer

No more steps. A keyring is locked until you unlock it. Since
gnome-keyring only provides a GUI for this operation if you are
working via an SSH terminal to a Linux system (without X) then there
is no way to use an unlock your keyring without this patch.

Without this patch the feature was useless except for users that are
running Linux on their local graphical workstation. Even those users
were not able to use the feature if they also use SSH to work on
remote systems.

With this patch, you just need to do this when you login to your SSH session:

$ export `gnome-keyring-daemon`

This starts the keyring and exports the environment variables used by
the feature. SVN then has the code to detect your keyring is locked
and prompts you to unlock it so that it can retrieve your passwords
etc.

-- 
Thanks
Mark Phippard
http://markphip.blogspot.com/
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=984457
Received on 2008-12-15 15:00:31 CET

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

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