gpgme/tests
Werner Koch 47f61df070
core: New context flag "auto-key-retrieve"
* src/gpgme.c (gpgme_set_ctx_flag, gpgme_get_ctx_flag): New flag
"auto-key-retrieve".
* src/context.h (gpgme_context): New field auto_key_retrieve.
* src/engine-backend.h (struct engine_ops): Add arg auto_key_retrieve
to field 'decrypt'.
* src/engine-gpg.c (gpg_decrypt): Add arg auto_key_retrieve and pass
option --auto-key-retrieve to gpg.  Adjust all callers.
(gpg_verify): Ditto.
* src/engine-gpgsm.c (gpgsm_decrypt): Add dummy arg auto_key_retrieve.
* src/engine-uiserver.c (uiserver_decrypt): Ditto.
* tests/run-verify.c (main): Add option --auto-key-retrieve.
--

This makes the --auto-key-retrieve option available in the GPGME API.

Test plan:
Run

  GPGME_DEBUG=9:out tests/run-verify SIGNEDFILE

with and without its new option --auto-key-retrieve and check in the
trace stored in "out" whether --auto-key-retrieve was passed to gpg.

Signed-off-by: Werner Koch <wk@gnupg.org>
2017-08-24 17:17:11 +02:00
..
gpg gpgconf: Fix some warnings. 2017-08-16 01:50:00 +02:00
gpgsm tests: Fix blunder. 2017-07-13 16:04:07 +02:00
opassuan doc: Replace http: by https: in core source files. 2016-11-16 13:27:00 +01:00
.gitignore .gitignore: flesh out rules and add subdirectory-.gitignores. 2012-04-20 16:05:11 +02:00
ChangeLog-2011 move some file encodings to UTF-8 2016-09-23 16:08:33 +02:00
Makefile.am doc: Replace http: by https: in core source files. 2016-11-16 13:27:00 +01:00
run-decrypt.c Change copyright from Intevation to BSI 2017-04-25 10:24:11 +02:00
run-encrypt.c core: New flags GPGME_DECRYPT_UNWRAP and GPGME_ENCRYPT_WRAP. 2017-03-24 15:17:23 +01:00
run-export.c doc: Replace http: by https: in core source files. 2016-11-16 13:27:00 +01:00
run-genkey.c core: New API gpgme_op_set_uid_flag. 2017-03-21 19:03:58 +01:00
run-identify.c doc: Replace http: by https: in core source files. 2016-11-16 13:27:00 +01:00
run-import.c doc: Replace http: by https: in core source files. 2016-11-16 13:27:00 +01:00
run-keylist.c core: Prepare for new key listing data send by gpg. 2017-03-28 11:41:30 +02:00
run-keysign.c doc: Replace http: by https: in core source files. 2016-11-16 13:27:00 +01:00
run-sign.c core: Add new context flag "redraw". 2017-01-31 09:44:29 +01:00
run-support.h doc: Replace http: by https: in core source files. 2016-11-16 13:27:00 +01:00
run-swdb.c doc: Replace http: by https: in core source files. 2016-11-16 13:27:00 +01:00
run-tofu.c doc: Replace http: by https: in core source files. 2016-11-16 13:27:00 +01:00
run-verify.c core: New context flag "auto-key-retrieve" 2017-08-24 17:17:11 +02:00
start-stop-agent tests: Fix distcheck. 2017-07-13 16:06:27 +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 tests: Mark lots of unused vars and fix const mismatches. 2016-09-13 20:48:06 +02:00
t-engine-info.c core: Extend gpgme_get_dirinfo to return the gpg-wks-client name. 2017-03-21 11:16:16 +01:00
t-version.c Change the various version numbers to the new scheme. 2013-02-26 17:10:18 +01:00