summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2021-02-15 16:18:41 -0700
committerSean Whitton <spwhitton@spwhitton.name>2021-02-15 16:18:41 -0700
commit68113f3cd914edcaca620ab0631c9676de324df5 (patch)
tree54f509723dd5a8ddbbf7bf4c75a34cc6a254564f
parentaa9b6e6d30c94271e0299aad9d1cd3d25a28f2da (diff)
downloadxfce4-session-68113f3cd914edcaca620ab0631c9676de324df5.tar.gz
Start gnome-keyring-daemon with --components=pkcs11,secrets
-rw-r--r--debian/changelog7
-rw-r--r--xfce4-session/xfsm-compat-gnome.c5
2 files changed, 10 insertions, 2 deletions
diff --git a/debian/changelog b/debian/changelog
index f282dfb..605ccb0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+xfce4-session (4.16.0-1+athena1) bullseye; urgency=medium
+
+ * Start gnome-keyring-daemon with --components=pkcs11,secrets so that
+ SSH_AUTH_SOCK set by /etc/X11/Xsession.d/90gpg-agent is not clobbered.
+
+ -- Sean Whitton <spwhitton@spwhitton.name> Mon, 15 Feb 2021 16:18:30 -0700
+
xfce4-session (4.16.0-1) unstable; urgency=medium
* New upstream version 4.16.0
diff --git a/xfce4-session/xfsm-compat-gnome.c b/xfce4-session/xfsm-compat-gnome.c
index c949d66..8164b62 100644
--- a/xfce4-session/xfsm-compat-gnome.c
+++ b/xfce4-session/xfsm-compat-gnome.c
@@ -107,7 +107,7 @@ gnome_keyring_daemon_startup (void)
gint status;
glong pid;
gchar *end;
- gchar *argv[3];
+ gchar *argv[4];
gchar *p;
gchar *name;
const gchar *value;
@@ -122,7 +122,8 @@ gnome_keyring_daemon_startup (void)
error = NULL;
argv[0] = GNOME_KEYRING_DAEMON;
argv[1] = "--start";
- argv[2] = NULL;
+ argv[2] = "--components=pkcs11,secrets";
+ argv[3] = NULL;
g_spawn_sync (NULL, argv, NULL,
G_SPAWN_SEARCH_PATH | G_SPAWN_LEAVE_DESCRIPTORS_OPEN,
child_setup, NULL,