diff options
author | Andre Heinecke <[email protected]> | 2018-09-12 07:42:09 +0000 |
---|---|---|
committer | Andre Heinecke <[email protected]> | 2018-10-09 08:48:58 +0000 |
commit | 85627e58184529e982369cfc00ed7865244c13d6 (patch) | |
tree | 307d51952c0f108f9b80d2635ad989540e9a5fa4 /lang/cpp/tests/run-getkey.cpp | |
parent | cpp: Initialize all gpgme_key_t's in context (diff) | |
download | gpgme-85627e58184529e982369cfc00ed7865244c13d6.tar.gz gpgme-85627e58184529e982369cfc00ed7865244c13d6.zip |
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
Diffstat (limited to 'lang/cpp/tests/run-getkey.cpp')
0 files changed, 0 insertions, 0 deletions