aboutsummaryrefslogtreecommitdiffstats
path: root/g10/call-dirmngr.c
diff options
context:
space:
mode:
Diffstat (limited to 'g10/call-dirmngr.c')
-rw-r--r--g10/call-dirmngr.c18
1 files changed, 3 insertions, 15 deletions
diff --git a/g10/call-dirmngr.c b/g10/call-dirmngr.c
index 06403317b..1b091bde2 100644
--- a/g10/call-dirmngr.c
+++ b/g10/call-dirmngr.c
@@ -963,6 +963,7 @@ ks_put_inq_cb (void *opaque, const char *line)
{
kbnode_t node;
estream_t fp;
+ char hexfpr[2*MAX_FINGERPRINT_LEN+1];
/* Parse the keyblock and send info lines back to the server. */
fp = es_fopenmem (0, "rw,samethread");
@@ -1020,6 +1021,8 @@ ks_put_inq_cb (void *opaque, const char *line)
nbits_from_pk (pk), pk->pubkey_algo,
pk->keyid, pk->timestamp, pk->expiredate,
NULL);
+ es_fprintf (fp, "fpr:::::::::%s:\n",
+ hexfingerprint (pk, hexfpr, sizeof hexfpr));
}
break;
@@ -1047,21 +1050,6 @@ ks_put_inq_cb (void *opaque, const char *line)
}
break;
- /* This bit is really for the benefit of people who
- store their keys in LDAP servers. It makes it easy
- to do queries for things like "all keys signed by
- Isabella". */
- case PKT_SIGNATURE:
- {
- PKT_signature *sig = node->pkt->pkt.signature;
-
- if (IS_UID_SIG (sig))
- record_output (fp, node->pkt->pkttype, NULL,
- -1, -1, sig->keyid,
- sig->timestamp, sig->expiredate, NULL);
- }
- break;
-
default:
continue;
}