gpgme/tests
Ingo Klöcker 5efd3486a9
core: Support writing the decrypt/verify output directly to a file
* src/engine-gpg.c (gpg_decrypt): Pass output file name to gpg if output
has file name set.
(gpg_verify): Ditto.

* tests/run-decrypt.c (show_usage): New option --output.
(main): Parse new option. Set file name on output if --output is given.
Do not print output if --output is given.
* tests/run-verify.c (show_usage): New option --output.
(main): Parse new option. Set file name on output if --output is given.
--

This change makes it possible to tell gpg to write the output (i.e. the
decrypted/verified data) directly to a file with given file name instead
of piping the output back to gpgme.

GnuPG-bug-id: 6550
2023-12-19 13:12:59 +01:00
..
gpg core: Prevent wrong plaintext when verifying clearsigned signature 2023-07-28 16:15:12 +02:00
gpgsm tests: Add ECC key generation for tests/gpgsm. 2020-03-27 19:50:24 +09:00
json doc: Fix typos in documentation and source code comments 2023-10-13 09:18:12 +02:00
opassuan core: Fully implement the inquire callback for assuan_transact 2020-09-09 12:13:20 +02:00
.gitignore .gitignore: flesh out rules and add subdirectory-.gitignores. 2012-04-20 16:05:11 +02:00
ChangeLog-2011 Spelling fixes for comments and doc 2017-12-08 05:59:11 +01:00
Makefile.am Revert "tests: Avoid problems with local time across a day boundary." 2022-06-09 15:43:24 +02:00
run-decrypt.c core: Support writing the decrypt/verify output directly to a file 2023-12-19 13:12:59 +01:00
run-encrypt.c core: Support direct encryption of file with gpg 2023-12-19 13:07:45 +01:00
run-export.c core: Add new option --secret-subkey to help texts. 2022-01-04 12:30:22 +01:00
run-genkey.c tests: Fix generation of keys without expiration 2022-01-13 16:30:56 +01:00
run-identify.c Add SPDX identifiers to most source files 2018-11-16 13:27:33 +01:00
run-import.c tests: Support offline mode in run-import 2023-08-14 14:04:44 +02:00
run-keylist.c tests: Add option --chain to run-keylist 2023-11-10 09:45:35 +01:00
run-keysign.c core: New flag GPGME_KEYSIGN_FORCE. 2021-03-11 11:49:07 +01:00
run-receive-keys.c core: New function gpgme_op_receive_keys 2022-02-03 15:56:30 +01:00
run-sign.c core: Support direct signing of file with gpg 2023-12-19 13:09:33 +01:00
run-support.h Add SPDX identifiers to most source files 2018-11-16 13:27:33 +01:00
run-swdb.c tests: Remove unsupported option --status from usage help 2022-01-13 15:23:43 +01:00
run-threaded.c core: Detect bad passphrase error on certificate import 2021-12-22 15:25:42 +01:00
run-tofu.c Add SPDX identifiers to most source files 2018-11-16 13:27:33 +01:00
run-verify.c core: Support writing the decrypt/verify output directly to a file 2023-12-19 13:12:59 +01:00
start-stop-agent build: Fix make distcheck problem. 2021-08-27 14:13:36 +02:00
t-data-1.txt 2001-10-16 Marcus Brinkmann <marcus@g10code.de> 2001-10-17 19:17:46 +00:00
t-data-2.txt 2001-10-16 Marcus Brinkmann <marcus@g10code.de> 2001-10-17 19:17:46 +00:00
t-data.c Add SPDX identifiers to most source files 2018-11-16 13:27:33 +01:00
t-engine-info.c core: Extend gpgme_get_dirinfo to return the gpgtar name 2023-01-18 10:30:17 +01:00
t-version.c Add SPDX identifiers to most source files 2018-11-16 13:27:33 +01:00