[svn] GnuPG - r4270 - trunk/agent
svn author wk
cvs at cvs.gnupg.org
Tue Sep 26 19:32:28 CEST 2006
Author: wk
Date: 2006-09-26 19:32:28 +0200 (Tue, 26 Sep 2006)
New Revision: 4270
Modified:
trunk/agent/ChangeLog
trunk/agent/command.c
trunk/agent/learncard.c
Log:
let cmd learn also return KEYPAIRINFO
Modified: trunk/agent/ChangeLog
===================================================================
--- trunk/agent/ChangeLog 2006-09-26 14:35:24 UTC (rev 4269)
+++ trunk/agent/ChangeLog 2006-09-26 17:32:28 UTC (rev 4270)
@@ -1,3 +1,8 @@
+2006-09-26 Werner Koch <wk at g10code.com>
+
+ * learncard.c (agent_handle_learn): Send back the keypair
+ information.
+
2006-09-25 Werner Koch <wk at g10code.com>
* trustlist.c (read_one_trustfile): Allow extra flags.
Modified: trunk/agent/command.c
===================================================================
--- trunk/agent/command.c 2006-09-26 14:35:24 UTC (rev 4269)
+++ trunk/agent/command.c 2006-09-26 17:32:28 UTC (rev 4270)
@@ -1183,6 +1183,8 @@
return 0;
}
+
+
/* Tell the assuan library about our commands */
static int
Modified: trunk/agent/learncard.c
===================================================================
--- trunk/agent/learncard.c 2006-09-26 14:35:24 UTC (rev 4269)
+++ trunk/agent/learncard.c 2006-09-26 17:32:28 UTC (rev 4270)
@@ -360,6 +360,12 @@
if (item->no_cert)
continue; /* No public key yet available. */
+ if (assuan_context)
+ {
+ agent_write_status (ctrl, "KEYPAIRINFO",
+ item->hexgrip, item->id, NULL);
+ }
+
for (p=item->hexgrip, i=0; i < 20; p += 2, i++)
grip[i] = xtoi_2 (p);
More information about the Gnupg-commits
mailing list