diff options
author | Werner Koch <[email protected]> | 2018-04-17 08:04:20 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2018-04-17 08:04:20 +0000 |
commit | 4bba3b8e2c350b8ff0d562ec63cc03a096448d84 (patch) | |
tree | ea160533cb38ecbed2cfbf8e8bf936a84c9d263d /doc/gpgme.texi | |
parent | core: New encryption flag GPGME_ENCRYPT_WANT_ADDRESS. (diff) | |
download | gpgme-4bba3b8e2c350b8ff0d562ec63cc03a096448d84.tar.gz gpgme-4bba3b8e2c350b8ff0d562ec63cc03a096448d84.zip |
core: Allow for --hidden keyword in OpenPGP recpstrings.
* src/engine-gpg.c (append_args_from_recipients_string): Add special
keywords.
--
GnuPG-bug-id: 3775
Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to '')
-rw-r--r-- | doc/gpgme.texi | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/doc/gpgme.texi b/doc/gpgme.texi index 330b167e..3975a971 100644 --- a/doc/gpgme.texi +++ b/doc/gpgme.texi @@ -6180,8 +6180,16 @@ This is an extended version of @code{gpgme_op_encrypt} with @var{recpstring} is not NULL, the latter is expected to be a linefeed delimited string with the set of key specifications. In contrast to @var{recp} the keys are given directly as strings and there is no need -to first create key objects. The keys are passed verbatim to the -backend engine. +to first create key objects. Leading and trailing white space is +remove from each line in @var{recpstring}. The keys are then passed +verbatim to the backend engine. + +For the OpenPGP backend two special keywords are supported to modify +the operation: If the keyword "--hidden" is given as a recipient, it +is skipped but will trun all following key specifications to be hidden +recipients. If the keyword "--" is given as a recipient, it will be +skipped but no keywords will be detected in all following key +specifications. @end deftypefun |