Home GnuPG
Diffusion GPGME 419adf41afa4

core: Allow setting the base directory when creating an archive

Description

core: Allow setting the base directory when creating an archive

* src/engine-gpg.c (gpg_encrypt, gpg_encrypt_sign, gpg_sign): Pass
file name set in data with --directory option to gpgtar.
* tests/run-encrypt.c (show_usage): New option --directory.
(main): Parse new option. Set file name of input data to option value.
* tests/run-sign.c (show_usage): New option --directory.
(main): Parse new option. Set file name of input data to option value.

Details

Provenance
ikloeckerAuthored on Jan 23 2023, 12:17 PM
Parents
rM4c872b674189: doc: Update NEWS and API documentation
Branches
Unknown
Tags
Unknown
Tasks
T6342: GPGME/Kleopatra: Extend gpgme to use gpgtar