mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
let cmd learn also return KEYPAIRINFO
This commit is contained in:
parent
13e4f5c95c
commit
f28d2d5c43
3 changed files with 13 additions and 0 deletions
|
@ -360,6 +360,12 @@ agent_handle_learn (ctrl_t ctrl, void *assuan_context)
|
|||
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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue