aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorIngo Klöcker <[email protected]>2023-08-14 10:23:07 +0000
committerIngo Klöcker <[email protected]>2023-08-14 10:24:00 +0000
commitbc98f01c8599f612dd1035b08f827b0657d94984 (patch)
treede93673216394605c2ab53357af468fba10efb23 /doc
parentcore: Store engine's version string in gpgsm engine (diff)
downloadgpgme-bc98f01c8599f612dd1035b08f827b0657d94984.tar.gz
gpgme-bc98f01c8599f612dd1035b08f827b0657d94984.zip
core: Use offline mode for all operations of gpgsm engine
* src/engine-backend.h (keylist, keylist_ext): Remove engine_flags. * src/engine-gpg.c (gpg_keylist, gpg_keylist_ext): Ditto. * src/engine.c, src/engine.h (_gpgme_engine_op_keylist): Ditto. (_gpgme_engine_op_keylist_ext): Ditto. * src/engine.h (GPGME_ENGINE_FLAG_OFFLINE): Remove. * src/engine-gpgsm.c (struct engine_gpgsm): New field flags with offline flag. (have_gpgsm_version): New. (gpg_set_engine_flags): Set the offline flag. (start): Send OPTION "offline". (gpgsm_keylist, gpgsm_keylist_ext): Remove engine_flags. Remove sending of OPTION "offline". * src/keylist.c (gpgme_op_keylist_start, gpgme_op_keylist_ext_start): Remove setting of offline flag. -- GnuPG-bug-id: 6648
Diffstat (limited to 'doc')
-rw-r--r--doc/gpgme.texi5
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/gpgme.texi b/doc/gpgme.texi
index fb604f30..8fc6a263 100644
--- a/doc/gpgme.texi
+++ b/doc/gpgme.texi
@@ -2694,8 +2694,9 @@ for example completely disable the use of Dirmngr for any engine.
For the CMS protocol the offline mode specifies whether Dirmngr shall
be used to do additional validation that might require connecting
-external services (e.g. CRL / OCSP checks). Here the offline mode
-only affects the keylist mode @code{GPGME_KEYLIST_MODE_VALIDATE}.
+external services (e.g. CRL / OCSP checks). The offline mode is used
+for all operations on this context. It has only an effect with
+GnuPG versions 2.1.6 or later.
For the OpenPGP protocol offline mode entirely disables the use of the
Dirmngr and will thus guarantee that no network connections are done