gpgme/tests
Andre Heinecke 08086dd690
Add offline mode support for CMS keylisting
* doc/gpgme.texi: Document offline mode.
* src/context.h (gpgme_context): Add offline.
* src/engine-backend.h (keylist, keylist_ext): Add engine_flags.
* src/engine.c, src/engine.h (_gpgme_engine_op_keylist): Ditto.
  (_gpgme_engine_op_keylist_ext): Ditto.
* src/engine.h (GPGME_ENGINE_FLAG_OFFLINE): New.
* src/engine-gpg.c (gpg_keylist, gpg_keylist_ext): Ditto.
* src/engine-gpgsm.c (gpgsm_keylist): Handle engine_flags.
  (gpgsm_keylist_ext): Ditto.
* src/gpgme.c (gpgme_set_offline, gpgme_get_offline): New.
* src/gpgme.def (gpgme_set_offline, gpgme_get_offline): New.
* src/gpgme.h.in (gpgme_set_offline, gpgme_get_offline): New.
* src/libgpgme.vers (gpgme_set_offline, gpgme_get_offline): New.
* src/keylist.c (gpgme_op_keylist_start): Set offline flag.
  (gpgme_op_keylist_ext_start): Ditto.
* tests/run-keylist.c (show_usage, main): Add offline argument.

--
The offline engine option was introduced with gpgsm 2.1.6
it is mainly useful for a full keylisting that includes
the certificate validation but does not depend on external
information that could take an indefinite amount of time to
collect.

Signed-off-by: Andre Heinecke <aheinecke@intevation.de>
2015-07-31 15:18:27 +02:00
..
gpg Fix test suite for GnuPG 2.1 which uses pubring.kbx. 2015-06-08 10:43:29 +02:00
gpgsm Fix test suite for GnuPG 2.1 which uses pubring.kbx. 2015-06-08 10:43:29 +02:00
opassuan Switch to automake 1.14 and update build-aux files. 2015-01-30 10:45:20 +01:00
.gitignore .gitignore: flesh out rules and add subdirectory-.gitignores. 2012-04-20 16:05:11 +02:00
ChangeLog-2011 Generate the ChangeLog from commit logs. 2011-12-02 11:36:37 +01:00
Makefile.am Fix test suite for GnuPG 2.1 which uses pubring.kbx. 2015-06-08 10:43:29 +02:00
run-export.c Remove all trailing whitespace from source files 2012-09-25 15:29:49 +02:00
run-import.c Remove all trailing whitespace from source files 2012-09-25 15:29:49 +02:00
run-keylist.c Add offline mode support for CMS keylisting 2015-07-31 15:18:27 +02:00
run-sign.c Remove all trailing whitespace from source files 2012-09-25 15:29:49 +02:00
run-support.h Remove all trailing whitespace from source files 2012-09-25 15:29:49 +02:00
run-verify.c Remove all trailing whitespace from source files 2012-09-25 15:29:49 +02:00
start-stop-agent Fix test suite for GnuPG 2.1 which uses pubring.kbx. 2015-06-08 10:43:29 +02:00
t-data-1.txt 2001-10-16 Marcus Brinkmann <marcus@g10code.de> 2001-10-17 19:17:46 +00:00
t-data-2.txt 2001-10-16 Marcus Brinkmann <marcus@g10code.de> 2001-10-17 19:17:46 +00:00
t-data.c Remove all trailing whitespace from source files 2012-09-25 15:29:49 +02:00
t-engine-info.c Add gpgme_get_dirinfo. 2014-04-10 11:48:20 +02:00
t-version.c Change the various version numbers to the new scheme. 2013-02-26 17:10:18 +01:00