gpgme/tests
Andre Heinecke 85627e5818
core: Add trust-model flag
* src/context.h (gpgme_context): Extend with trust_model.
* src/engine-gpg.c (engine_gpg): Extend with trust_model.
(gpg_set_engine_flags): Take trust_model from context.
(build_argv): Handle trust_model.
(gpg_release): Free trust_model.
* src/gpgme.c (gpgme_set_ctx_flag): Handle trust-model flag.
(gpgme_release): Release trust-model.
* doc/gpgme.texi: Document new flag for gpgme_set_ctx_flag.
(Context Flags): New subsection for the context flags.
* tests/run-keylist.c (show_usage, main): Add new --trust-model
parameter.

--
This gives a GPGME user fine grained control over the
trust-model.

Changing the trust model for only a single application depends
on:
GnuPG-Bug-Id: T4134
Maniphest Tasks: T4134
Differential Revision: https://dev.gnupg.org/D466
2018-10-09 10:48:58 +02:00
..
gpg tests: Don't try using keys from a scmartcard. 2018-09-20 12:13:03 +02:00
gpgsm Make GNUPGHOME for tests overridable 2018-08-06 09:30:47 +02:00
opassuan Make GNUPGHOME for tests overridable 2018-08-06 09:30:47 +02:00
.gitignore .gitignore: flesh out rules and add subdirectory-.gitignores. 2012-04-20 16:05:11 +02:00
ChangeLog-2011 Spelling fixes for comments and doc 2017-12-08 05:59:11 +01:00
Makefile.am Make GNUPGHOME for tests overridable 2018-08-06 09:30:47 +02:00
run-decrypt.c core: Add gpg auditlog to get diagnostics 2018-07-05 11:29:36 +02:00
run-encrypt.c core: Add extended versions of the encrypt functions. 2018-04-17 08:45:00 +02: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 core: Also check for a failed selftest in gpgm_data_new. 2017-12-04 12:08:31 +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: Add trust-model flag 2018-10-09 10:48:58 +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 core: Parse skipped_v3_keys 2018-03-15 16:23:18 +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: Add 'is_mime' flags to the verify and decrypt results. 2018-04-18 15:20:35 +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 core: Also check for a failed selftest in gpgm_data_new. 2017-12-04 12:08:31 +01: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