aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2014-05-08 09:31:30 +0000
committerWerner Koch <[email protected]>2014-05-08 09:31:30 +0000
commit991cde9e79fec70aad093ded383c5574d30f9388 (patch)
treeb8739b6593d742b6cdf1b514da71d5af1ca86a39 /doc
parentw32: Fix another memleak on error. (diff)
downloadgpgme-991cde9e79fec70aad093ded383c5574d30f9388.tar.gz
gpgme-991cde9e79fec70aad093ded383c5574d30f9388.zip
Add GPGME_ENCRYPT_NO_COMPRESS flag.
* src/gpgme.h.in (GPGME_ENCRYPT_NO_COMPRESS): New. * src/engine-gpg.c (gpg_encrypt, gpg_encrypt_sign): Implement it. * src/gpgme-tool.c (_cmd_sign_encrypt): Add option --no-compress.
Diffstat (limited to 'doc')
-rw-r--r--doc/gpgme.texi15
1 files changed, 15 insertions, 0 deletions
diff --git a/doc/gpgme.texi b/doc/gpgme.texi
index 7697ff12..eaf1fcb7 100644
--- a/doc/gpgme.texi
+++ b/doc/gpgme.texi
@@ -5141,6 +5141,21 @@ The @code{GPGME_ENCRYPT_NO_ENCRYPT_TO} symbol specifies that no
default or hidden default recipients as configured in the crypto
backend should be included. This can be useful for managing different
user profiles.
+
+@item GPGME_ENCRYPT_NO_COMPRESS
+The @code{GPGME_ENCRYPT_NO_COMPRESS} symbol specifies that the
+plaintext shall not be compressed before it is encrypted. This is
+in some cases useful if the length of the encrypted message
+may reveal information about the plaintext.
+
+@item GPGME_ENCRYPT_PREPARE
+@itemx GPGME_ENCRYPT_EXPECT_SIGN
+The @code{GPGME_ENCRYPT_PREPARE} symbol is used with the UI Server
+protocol to prepare an encryption (i.e. sending the
+@code{PREP_ENCRYPT} command). With the
+@code{GPGME_ENCRYPT_EXPECT_SIGN} symbol the UI Server is advised to
+also expect a sign command.
+
@end table
If @code{GPG_ERR_UNUSABLE_PUBKEY} is returned, some recipients in