diff options
author | Werner Koch <[email protected]> | 2022-03-21 12:06:00 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2022-03-21 12:21:20 +0000 |
commit | e5ef5e3b914d5c8f0b841b078b164500ea157804 (patch) | |
tree | 5a30d08231a5f9fae6598ec3bd434dcaa5793662 /tools/gpgtar.h | |
parent | common: Fix another race condition, and address the other one. (diff) | |
download | gnupg-e5ef5e3b914d5c8f0b841b078b164500ea157804.tar.gz gnupg-e5ef5e3b914d5c8f0b841b078b164500ea157804.zip |
gpgtar: Finally use a pipe for decryption.
* tools/gpgtar.h (opt): Add new flags.
* tools/gpgtar.c: new options --batch, --yes, --no, --status-fd, and
--require-compliance.
(main): Init signals.
* tools/gpgtar-create.c: Add new header files.
(gpgtar_create): Rework to use a pipe for encryption and signing.
* tools/gpgtar-list.c: Add new header files.
(gpgtar_list): Rework to use a pipe for decryption.
* tools/gpgtar-extract.c: Add new header files.
(gpgtar_extract): Rework to use a pipe for decryption.
--
Fixes-commit: 40dbee86f3043aff8a8c2055521e270318e33068
Diffstat (limited to 'tools/gpgtar.h')
-rw-r--r-- | tools/gpgtar.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/gpgtar.h b/tools/gpgtar.h index 02b2d358c..c403835b5 100644 --- a/tools/gpgtar.h +++ b/tools/gpgtar.h @@ -41,6 +41,11 @@ struct int symmetric; const char *filename; const char *directory; + int batch; + int answer_yes; + int answer_no; + int status_fd; + int require_compliance; } opt; |