From a5cc8ba0844708c2edb980d396f340c22a4c4d9f Mon Sep 17 00:00:00 2001 From: Marcus Brinkmann Date: Tue, 19 Nov 2002 09:33:20 +0000 Subject: [PATCH] 2002-11-19 Marcus Brinkmann * rungpg.c (gpg_keylist): Add --with-fingerprint to gpg invocation twice, to get fingerprints on subkeys. Suggested by Timo Schulz . (gpg_keylist_ext): Likewise. --- trunk/gpgme/ChangeLog | 7 +++++++ trunk/gpgme/rungpg.c | 4 ++++ 2 files changed, 11 insertions(+) diff --git a/trunk/gpgme/ChangeLog b/trunk/gpgme/ChangeLog index aadaf77..f420a73 100644 --- a/trunk/gpgme/ChangeLog +++ b/trunk/gpgme/ChangeLog @@ -1,3 +1,10 @@ +2002-11-19 Marcus Brinkmann + + * rungpg.c (gpg_keylist): Add --with-fingerprint to gpg invocation + twice, to get fingerprints on subkeys. Suggested by Timo Schulz + . + (gpg_keylist_ext): Likewise. + 2002-11-05 Marcus Brinkmann * import.c (append_xml_impinfo): Use diff --git a/trunk/gpgme/rungpg.c b/trunk/gpgme/rungpg.c index 19ca74d..05d0718 100644 --- a/trunk/gpgme/rungpg.c +++ b/trunk/gpgme/rungpg.c @@ -1486,6 +1486,8 @@ gpg_keylist (void *engine, const char *pattern, int secret_only, err = add_arg (gpg, "--fixed-list-mode"); if (!err) err = add_arg (gpg, "--with-fingerprint"); + if (!err) + err = add_arg (gpg, "--with-fingerprint"); if (!err) err = add_arg (gpg, (keylist_mode & GPGME_KEYLIST_MODE_SIGS) ? "--check-sigs" : @@ -1517,6 +1519,8 @@ gpg_keylist_ext (void *engine, const char *pattern[], int secret_only, err = add_arg (gpg, "--fixed-list-mode"); if (!err) err = add_arg (gpg, "--with-fingerprint"); + if (!err) + err = add_arg (gpg, "--with-fingerprint"); if (!err) err = add_arg (gpg, secret_only ? "--list-secret-keys" : "--list-keys"); -- 2.26.2