e36b2d1bce
* src/gpgme.h.in (GPGME_KEYLIST_MODE_WITH_V5FPR): New. (struct _gpgme_subkey): Add field v5fpr. * src/engine-gpg.c (gpg_keylist_build_options): Pass new option to gpg. * src/key.c (gpgme_key_unref): Free new field. * src/keylist.c (op_data_t): Parse and add "fp2" line. * tests/run-keylist.c (show_usage): Add option --v5fpr. * src/keylist.c (op_data_t): Add field failure_code. (keylist_status_handler): Handle special value. (gpgme_op_keylist_end): Return an error if a FAILURE line has been seen. -- Note that the failure code part has been added to better diagnose problems if a wrong gpg version is used. If verything works right we should not get this because we check that the gnupg version sis either >= 2.4.4 or less than 2.3 and >= 2.2.42. Note further that the v5fpr field may also be used to get the SHA-256 fingerprint of X.509 certificates (even without passing the new mode flag). GnuPG-bug-id: 6705 |
||
---|---|---|
.. | ||
gpg | ||
gpgsm | ||
json | ||
opassuan | ||
.gitignore | ||
ChangeLog-2011 | ||
Makefile.am | ||
run-decrypt.c | ||
run-encrypt.c | ||
run-export.c | ||
run-genkey.c | ||
run-identify.c | ||
run-import.c | ||
run-keylist.c | ||
run-keysign.c | ||
run-receive-keys.c | ||
run-sign.c | ||
run-support.h | ||
run-swdb.c | ||
run-threaded.c | ||
run-tofu.c | ||
run-verify.c | ||
start-stop-agent | ||
t-data-1.txt | ||
t-data-2.txt | ||
t-data.c | ||
t-engine-info.c | ||
t-version.c |