aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorAndre Heinecke <[email protected]>2016-08-09 09:40:29 +0000
committerAndre Heinecke <[email protected]>2016-08-09 12:23:51 +0000
commit3d2f027d0f40e7ec4ab48cee89ff0ee10b423566 (patch)
tree2ce3f95c548e471777506e85618e203c3ee73a16 /doc
parentcore: Let GPGME_PROTOCOL_ASSUAN pass Assuan comments through. (diff)
downloadgpgme-3d2f027d0f40e7ec4ab48cee89ff0ee10b423566.tar.gz
gpgme-3d2f027d0f40e7ec4ab48cee89ff0ee10b423566.zip
core: Add support for mixed symmetric and asym enc
* src/gpgme.h.in (gpgme_encrypt_flags_t): New flag GPGME_ENCRYPT_SYMMETRIC. * src/engine-gpg.c (gpg_encrypt): Also add --symmetric if the flag is given. * NEWS: Mention new flag. * tests/run-encrypt.c (show_usage): Extend for --symmetric. (main): Handle --symmetric. (main): Set passphrase_cb in loopback mode. (main): Fix encrypt call if no recipients are given. * tests/gpg/t-encrypt-mixed.c: New. * tests/gpg/Makefile.am (c_tests): Add new test. * doc/gpgme.texi: Document new flag.
Diffstat (limited to '')
-rw-r--r--doc/gpgme.texi6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/gpgme.texi b/doc/gpgme.texi
index 68f85ece..907099ad 100644
--- a/doc/gpgme.texi
+++ b/doc/gpgme.texi
@@ -5398,6 +5398,12 @@ protocol to prepare an encryption (i.e. sending the
@code{GPGME_ENCRYPT_EXPECT_SIGN} symbol the UI Server is advised to
also expect a sign command.
+@item GPGME_ENCRYPT_SYMMETRIC
+The @code{GPGME_ENCRYPT_SYMMETRIC} symbol specifies that the
+output should be additionally encrypted symmetically even
+if recipients are provided. This feature is only supported for
+for the OpenPGP crypto engine.
+
@end table
If @code{GPG_ERR_UNUSABLE_PUBKEY} is returned, some recipients in