diff options
author | Werner Koch <[email protected]> | 2025-03-18 15:22:58 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2025-03-18 15:22:58 +0000 |
commit | 91a59d2a35540769c055da2341b5face0be6c286 (patch) | |
tree | 671b47ebd72d8ef86ac370cdd6892f9c8b65ac55 /doc | |
parent | Add API gpgme_op_random_value. (diff) | |
download | gpgme-master.tar.gz gpgme-master.zip |
* src/gpgme.h.in (GPGME_DECRYPT_LISTONLY): New.
* src/decrypt.c (op_data_t): Add member list_only.
(_gpgme_decrypt_status_handler): Do not return NO_DATA in list_only
mode.
(_gpgme_op_decrypt_init_result): Add arg flags and set the list_only
flag.
(_gpgme_decrypt_start): Pss flags to the init function.
* src/decrypt-verify.c (decrypt_verify_start): Ditto.
* src/engine-gpg.c (gpg_decrypt): Add --list-only if flag is set.
* tests/run-decrypt.c (main): Add option --list-only.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/gpgme.texi | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/gpgme.texi b/doc/gpgme.texi index fa93083c..bc4b1ac5 100644 --- a/doc/gpgme.texi +++ b/doc/gpgme.texi @@ -5830,6 +5830,15 @@ be an OpenPGP message with only the encryption layer removed. This requires GnuPG 2.1.12 and works only for OpenPGP. This is the counterpart to @code{GPGME_ENCRYPT_WRAP}. +@item GPGME_DECRYPT_LIST +@since{2.0.0} + +The @code{GPGME_DECRYPT_LIST} symbol specifies that the actual +decryption step of an OpenPGP message shall be skipped. This can be +used to information on the keyids of the recipients of some encrypted +data. Note that most other result items have no or no useful +information in this case. + @end table The function returns the error codes as described for |