aboutsummaryrefslogtreecommitdiffstats
path: root/src/sys-util.h
diff options
context:
space:
mode:
authorIngo Klöcker <[email protected]>2023-12-19 10:26:15 +0000
committerIngo Klöcker <[email protected]>2023-12-19 12:12:59 +0000
commit5efd3486a9fa9f4b0f383aca2f2f01412e73237c (patch)
tree01d62e7da673d239c19b0e221cfc919da8b1aa0d /src/sys-util.h
parentcore: Support direct signing of file with gpg (diff)
downloadgpgme-ikloecker/t6550.tar.gz
gpgme-ikloecker/t6550.zip
core: Support writing the decrypt/verify output directly to a fileikloecker/t6550
* 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
Diffstat (limited to 'src/sys-util.h')
0 files changed, 0 insertions, 0 deletions