core: For OpenPGP let offline mode disable dirmngr.
authorWerner Koch <wk@gnupg.org>
Tue, 17 Apr 2018 09:06:27 +0000 (11:06 +0200)
committerWerner Koch <wk@gnupg.org>
Tue, 17 Apr 2018 09:06:27 +0000 (11:06 +0200)
commitc143ab692c7fc7cf2ec0aebe40b9479ee15eaba9
tree633c30abd16484bf16b034ce3b9148f7042e82a2
parentbbfa7c42337bb619e6af20bf051fe0755ed5a9fd
core: For OpenPGP let offline mode disable dirmngr.

* src/engine-gpg.c (struct engine_gpg): New flag.offline.
(gpg_set_engine_flags): Set it.  Also fix setting of no_symkey_cache.
(build_argv): Pass --disable-dirmngr in offline mode.
--

GnuPG-bug-id: 3831
Signed-off-by: Werner Koch <wk@gnupg.org>
doc/gpgme.texi
src/engine-gpg.c