diff options
author | Marcus Brinkmann <[email protected]> | 2002-11-19 09:33:20 +0000 |
---|---|---|
committer | Marcus Brinkmann <[email protected]> | 2002-11-19 09:33:20 +0000 |
commit | a1bf7a10b4b682730d8bf46462da8843d393b5d5 (patch) | |
tree | 98e87525372aa6551df6ed4d99ac20a484d5625a | |
parent | 2002-11-05 Marcus Brinkmann <[email protected]> (diff) | |
download | gpgme-a1bf7a10b4b682730d8bf46462da8843d393b5d5.tar.gz gpgme-a1bf7a10b4b682730d8bf46462da8843d393b5d5.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/ChangeLog | 7 | ||||
-rw-r--r-- | gpgme/rungpg.c | 4 |
2 files changed, 11 insertions, 0 deletions
diff --git a/gpgme/ChangeLog b/gpgme/ChangeLog index aadaf775..f420a738 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 + <[email protected]>. + (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 19ca74d3..05d0718e 100644 --- a/gpgme/rungpg.c +++ b/gpgme/rungpg.c @@ -1487,6 +1487,8 @@ gpg_keylist (void *engine, const char *pattern, int secret_only, 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" : secret_only ? "--list-secret-keys" @@ -1518,6 +1520,8 @@ gpg_keylist_ext (void *engine, const char *pattern[], int secret_only, 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"); /* Tell the gpg object about the data. */ |