diff options
author | Ingo Klöcker <[email protected]> | 2023-06-19 14:31:17 +0000 |
---|---|---|
committer | Ingo Klöcker <[email protected]> | 2023-06-19 16:08:47 +0000 |
commit | c38b6200396f703917e4c66aca068f90cfbad325 (patch) | |
tree | bacb6cf68582d81a3c99addfd5a09e15158d94c9 /lang/python/examples/howto/advanced/cython/setup.py | |
parent | qt: Add a generic hook to start a job (diff) | |
download | gpgme-c38b6200396f703917e4c66aca068f90cfbad325.tar.gz gpgme-c38b6200396f703917e4c66aca068f90cfbad325.zip |
core: Support writing the sign/encrypt output directly to a file
* src/engine-gpg.c (gpg_encrypt): Pass output file name to gpg if output
has file name set.
(gpg_encrypt_sign): Ditto.
(gpg_sign): Ditto.
* tests/run-encrypt.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-sign.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.
--
This change makes it possible to tell gpg (and gpgtar) to write the
output (i.e. the signed/encrypted data or the signature or the created
archive) directly to a file with given file name instead of piping
the output back to gpgme.
GnuPG-bug-id: 6530
Diffstat (limited to 'lang/python/examples/howto/advanced/cython/setup.py')
0 files changed, 0 insertions, 0 deletions