diff options
author | Ingo Klöcker <[email protected]> | 2023-01-24 10:05:52 +0000 |
---|---|---|
committer | Ingo Klöcker <[email protected]> | 2023-01-24 11:32:23 +0000 |
commit | 95ea3bf831aeac201108876e73750692aa1ba3f5 (patch) | |
tree | bff29ce413cb9ee4d55b5a3aa6f4c16888163e8a /src/engine-uiserver.c | |
parent | core: Allow setting the base directory when creating an archive (diff) | |
download | gpgme-95ea3bf831aeac201108876e73750692aa1ba3f5.tar.gz gpgme-95ea3bf831aeac201108876e73750692aa1ba3f5.zip |
core: Support usage of gpgtar for decrypting an encrypted archive
* src/gpgme.h.in (GPGME_DECRYPT_ARCHIVE): New decryption flag.
* src/engine-gpg.c (gpg_decrypt): Set use_gpgtar engine flag if
GPGME_DECRYPT_ARCHIVE flag is set. Check for new enough gpg and
incompatible flags. Use add_gpg_arg_with_value for gpg-only options
with a value and add_gpg_arg for gpg-only options without a value.
Set extra options for gpgtar and pass input data to stdin when using
gpgtar.
* tests/run-decrypt.c (show_usage): New options --archive and
--directory.
(main): Parse new options. Decrypt with gpgtar if --archive is given.
Set file name of output data to value of --directory option.
--
GnuPG-bug-id: 6342
Diffstat (limited to 'src/engine-uiserver.c')
0 files changed, 0 insertions, 0 deletions