aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcus Brinkmann <[email protected]>2002-11-19 09:36:07 +0000
committerMarcus Brinkmann <[email protected]>2002-11-19 09:36:07 +0000
commit2f03256750cb627284a9ba2cc1b8e11696d7f78f (patch)
tree5464d8a8158cc08f12ae21e711ed0a6b1c2cd9f8
parent* config.sub, config.guess: Updated from ftp.gnu.org/gnu/config (diff)
downloadgpgme-2f03256750cb627284a9ba2cc1b8e11696d7f78f.tar.gz
gpgme-2f03256750cb627284a9ba2cc1b8e11696d7f78f.zip
2002-11-19 Marcus Brinkmann <[email protected]>
* rungpg.c (gpg_keylist): Add --with-fingerprint to gpg invocation twice, to get fingerprints on subkeys. Suggested by Timo Schulz <[email protected]>. (gpg_keylist_ext): Likewise.
-rw-r--r--gpgme/ChangeLog7
-rw-r--r--gpgme/rungpg.c4
2 files changed, 11 insertions, 0 deletions
diff --git a/gpgme/ChangeLog b/gpgme/ChangeLog
index b754dc23..f37c566b 100644
--- a/gpgme/ChangeLog
+++ b/gpgme/ChangeLog
@@ -1,3 +1,10 @@
+2002-11-19 Marcus Brinkmann <[email protected]>
+
+ * 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 <[email protected]>
* import.c (append_xml_impinfo): Use
diff --git a/gpgme/rungpg.c b/gpgme/rungpg.c
index f67f68fd..6cffe35e 100644
--- a/gpgme/rungpg.c
+++ b/gpgme/rungpg.c
@@ -1669,6 +1669,8 @@ _gpgme_gpg_op_keylist (GpgObject gpg, const char *pattern, int secret_only,
if (!err)
err = _gpgme_gpg_add_arg (gpg, "--with-fingerprint");
if (!err)
+ err = _gpgme_gpg_add_arg (gpg, "--with-fingerprint");
+ if (!err)
err = _gpgme_gpg_add_arg (gpg,
(keylist_mode & GPGME_KEYLIST_MODE_SIGS)?
"--check-sigs" :
@@ -1700,6 +1702,8 @@ _gpgme_gpg_op_keylist_ext (GpgObject gpg, const char *pattern[],
if (!err)
err = _gpgme_gpg_add_arg (gpg, "--with-fingerprint");
if (!err)
+ err = _gpgme_gpg_add_arg (gpg, "--with-fingerprint");
+ if (!err)
err = _gpgme_gpg_add_arg (gpg, secret_only ? "--list-secret-keys"
: "--list-keys");