aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2024-09-09 15:33:29 +0000
committerWerner Koch <[email protected]>2024-09-09 15:33:29 +0000
commitcd79fc39736fda6ce38f1f79700cf658c47372f9 (patch)
treee4da5d060c6d487dbe7897ec7bf9441814b69e27 /doc
parentcore: Treat email-only user IDs with upper case letters as email address (diff)
downloadgpgme-cd79fc39736fda6ce38f1f79700cf658c47372f9.tar.gz
gpgme-cd79fc39736fda6ce38f1f79700cf658c47372f9.zip
core: New encryption flags GPGME_ENCRYPT_ADD_RECP and _CHG_RECP.
* src/gpgme.h.in (GPGME_ENCRYPT_ADD_RECP, GPGME_ENCRYPT_CHG_RECP): New flag values. * src/engine-gpg.c (have_cmd_modify_recipients): New. (gpg_encrypt): Check availability of the feature and prepare command. * tests/run-encrypt.c (main): New options --add-recipients and --change-recipients. -- GnuPG-bug-id: 1825
Diffstat (limited to 'doc')
-rw-r--r--doc/gpgme.texi11
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/gpgme.texi b/doc/gpgme.texi
index a630e0e2..0e64254b 100644
--- a/doc/gpgme.texi
+++ b/doc/gpgme.texi
@@ -6760,6 +6760,17 @@ output should be additionally encrypted symmetrically even
if recipients are provided. This feature is only supported
for the OpenPGP crypto engine.
+@item GPGME_ENCRYPT_ADD_RECP
+@item GPGME_ENCRYPT_CHG_RECP
+@since{1.24.0}
+
+Instead of encrypting, decrypt the input and write an output which is
+additionally encrypted to the specified keys. The CHG flag is similar
+but does not add encryption to the specified keys but existing
+encryption keys by the new ones. This feature is only supported for
+the OpenPGP crypto engine and requires at least GnuPG version 2.5.1.
+
+
@item GPGME_ENCRYPT_THROW_KEYIDS
@since{1.8.0}