diff options
author | Werner Koch <[email protected]> | 2020-03-17 16:22:51 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2020-03-17 16:24:21 +0000 |
commit | 3afa534645e3826c95e7c70d7ae61ffa2d63acec (patch) | |
tree | a7d2d0ece9d59dc8081cf44fa383db2f372a8835 /doc | |
parent | python: fix minor typo in howto (diff) | |
download | gpgme-3afa534645e3826c95e7c70d7ae61ffa2d63acec.tar.gz gpgme-3afa534645e3826c95e7c70d7ae61ffa2d63acec.zip |
core: New context flags "include-key-block" and "auto-key-import".
* src/gpgme.c (gpgme_set_ctx_flag): Add flags "include-key-block" and
"auto-key-import".
(gpgme_get_ctx_flag): Ditto.
* src/context.h (struct gpgme_context): Add flags include_key_block
and auto_key_import.
* src/engine-gpg.c (struct engine_gpg): Likewise.
(gpg_set_engine_flags): Set the flags for gpg versions >= 2.2.20.
(gpg_decrypt): Set option according to the new flags.
(gpg_encrypt): Ditto.
(gpg_encrypt_sign): Ditto.
(gpg_sign): Ditto.
(gpg_verify): Ditto.
tests/run-verify: Add option --auto-key-import.
tests/run-sign: add option --include-key-block.
--
GnuPG-bug-id: 4856
Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/gpgme.texi | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/doc/gpgme.texi b/doc/gpgme.texi index 88b5f2cd..8cbb1f22 100644 --- a/doc/gpgme.texi +++ b/doc/gpgme.texi @@ -3105,6 +3105,14 @@ a message signed by a brand new key (which you naturally will not have on your local keyring), the operator can tell both your IP address and the time when you verified the signature. +@item "auto-key-import" +Setting the @var{value} to "1" forces the GPG backend to automatically +import a missing key for signature verification from the signature. + +@item "include-key-block" +Setting the @var{value} to "1" forces the GPG backend to embed the +signing key as well as an encryption subkey into the the signature. + @item "request-origin" The string given in @var{value} is passed to the GnuPG engines to request restrictions based on the origin of the request. Valid values @@ -3496,7 +3504,7 @@ available. @since{1.7.0} The keygrip of the subkey in hex digit form or @code{NULL} if not -availabale. +available. @item long int timestamp This is the creation timestamp of the subkey. This is -1 if the |