gpgme-tool: Print fingerprint and keyid with keyservers.
* src/gpgme-tool.c (cmd_keylist): Print keyid. Print FPR only if available.
This commit is contained in:
parent
3450bff52b
commit
4160ef90a1
@ -3305,7 +3305,9 @@ cmd_keylist (assuan_context_t ctx, char *line)
|
||||
while (subkey) {
|
||||
result_xml_tag_start (&state, "subkey", NULL);
|
||||
/* FIXME: more data */
|
||||
result_add_fpr (&state, "fpr", subkey->fpr);
|
||||
result_add_keyid (&state, "keyid", subkey->keyid);
|
||||
if (subkey->fpr)
|
||||
result_add_fpr (&state, "fpr", subkey->fpr);
|
||||
result_add_value (&state, "secret", subkey->secret);
|
||||
result_add_value (&state, "is_cardkey", subkey->is_cardkey);
|
||||
if (subkey->card_number)
|
||||
|
Loading…
Reference in New Issue
Block a user