Some SlackBuild scripts for Slackware.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

33 lines
1.1 KiB

commit f31e6af6e2d9e320dedc89e0b6b2692b7d72cda7
Author: Damien Goutte-Gattat <>
Date: Sat May 19 23:03:21 2018 +0100
Do not request certificate data when LEARNing.
* src/agent.c (scute_agent_learn): Use LEARN --sendinfo instead
of LEARN --send.
Using --send is useless here and we don't even collect the data
that the agent may send (no data callback), which may cause the
LEARN command to fail.
Of note, the --sendinfo option is available since GnuPG 2.1.1,
meaning Scute would not work anymore with GnuPG 2.0.x. Since that
branch is now EOLed, this should not be a concern.
Signed-off-by: Damien Goutte-Gattat <>
diff --git a/src/agent.c b/src/agent.c
index 108e1ea..46d56d5 100644
--- a/src/agent.c
+++ b/src/agent.c
@@ -640,7 +640,7 @@ scute_agent_learn (struct agent_card_info_s *info)
gpg_error_t err;
memset (info, 0, sizeof (*info));
- err = assuan_transact (agent_ctx, "LEARN --send",
+ err = assuan_transact (agent_ctx, "LEARN --sendinfo",
NULL, NULL, default_inq_cb,
NULL, learn_status_cb, info);