From e5ef5e3b914d5c8f0b841b078b164500ea157804 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Mon, 21 Mar 2022 13:06:00 +0100 Subject: 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 --- tools/gpgtar.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tools/gpgtar.h') 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; -- cgit v1.2.3