aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2024-08-28 08:11:39 +0000
committerWerner Koch <[email protected]>2024-08-28 08:11:39 +0000
commit1ea66b6df3ce225e60cfea8deda0126e7d71558a (patch)
tree21605b5cd26266842cd0ae73a2d5e9ed0394b1dd
parentgpg: New option --proc-all-sigs (diff)
downloadgnupg-1ea66b6df3ce225e60cfea8deda0126e7d71558a.tar.gz
gnupg-1ea66b6df3ce225e60cfea8deda0126e7d71558a.zip
doc: Explain why we use D-Lines for keyboxd communication.
--
-rw-r--r--g10/call-keyboxd.c4
-rw-r--r--sm/keydb.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/g10/call-keyboxd.c b/g10/call-keyboxd.c
index 121b7aa2a..507c05ce6 100644
--- a/g10/call-keyboxd.c
+++ b/g10/call-keyboxd.c
@@ -223,7 +223,9 @@ open_context (ctrl_t ctrl, keyboxd_local_t *r_kbl)
return err;
}
- err = kbx_client_data_new (&kbl->kcd, kbl->ctx, 1);
+ /* We use D-lines in 2.4 for communication due to a bug with fd
+ * passing. See T6512. */
+ err = kbx_client_data_new (&kbl->kcd, kbl->ctx, 1 /*=use D-lines*/);
if (err)
{
assuan_release (kbl->ctx);
diff --git a/sm/keydb.c b/sm/keydb.c
index 411720513..b64e3f1df 100644
--- a/sm/keydb.c
+++ b/sm/keydb.c
@@ -580,6 +580,8 @@ open_context (ctrl_t ctrl, keydb_local_t *r_kbl)
return err;
}
+ /* We use D-lines in 2.4 for communication due to a bug with fd
+ * passing. See T6512. */
err = kbx_client_data_new (&kbl->kcd, kbl->ctx, 1);
if (err)
{