- disable gnome-keyring SSH agent by default; as this is a GConf entry,

it can be enabled easily for who needs it.
We do this because even when one does not have any key under ~/.ssh/ the
agent fires up asking for a password which is quite annoying!

ok jasper@
This commit is contained in:
ajacoutot 2009-01-29 18:15:19 +00:00
parent baaf5ecf36
commit 0900565a45
3 changed files with 27 additions and 1 deletions

View File

@ -1,9 +1,10 @@
# $OpenBSD: Makefile,v 1.28 2008/11/21 18:06:05 jasper Exp $
# $OpenBSD: Makefile,v 1.29 2009/01/29 18:15:19 ajacoutot Exp $
COMMENT= password agent for the GNOME project
GNOME_PROJECT= gnome-keyring
GNOME_VERSION= 2.24.1
PKGNAME= ${DISTNAME}p0
SHARED_LIBS += gp11 0.0 # .0.0
SHARED_LIBS += gnome-keyring 4.0 # .1.1

View File

@ -0,0 +1,16 @@
$OpenBSD: patch-daemon_data_gnome-keyring_schemas_in,v 1.1 2009/01/29 18:15:20 ajacoutot Exp $
Disable gnome-keyring SSH agent by default. As this is a GConf entry, it
can be enabled easily for who needs it.
--- daemon/data/gnome-keyring.schemas.in.orig Thu Jan 29 18:21:14 2009
+++ daemon/data/gnome-keyring.schemas.in Thu Jan 29 18:21:39 2009
@@ -5,7 +5,7 @@
<applyto>/apps/gnome-keyring/daemon-components/ssh</applyto>
<owner>gnome-keyring</owner>
<type>bool</type>
- <default>TRUE</default>
+ <default>FALSE</default>
<locale name="C">
<short>Whether the gnome-keyring SSH agent is enabled.</short>
<long>This option enables the SSH agent in the gnome-keyring

View File

@ -0,0 +1,9 @@
The gnome-keyring SSH agent is disabled by default. If needed, there are
two ways to enable it.
System-wide:
sudo gconftool-2 --direct --config-source=`gconftool-2 --get-default-source` \
--type bool --set /apps/gnome-keyring/daemon-components/ssh true
Per user:
gconftool-2 --set --type bool /apps/gnome-keyring/daemon-components/ssh true