gpgme/doc
Ingo Klöcker 1a9f192ab4
core: Support reading the archive to decrypt/verify directly from a file
* src/engine-gpg.c (add_file_name_arg_or_data): New.
(gpg_decrypt): Use add_file_name_arg_or_data instead of add_data for the
ciphertext.
(gpg_verify): Use add_file_name_arg_or_data instead of add_data for the
signature and the signed text.

* tests/run-decrypt.c (show_usage): New option --direct-file-io.
(main): Parse new option. If option is given, then don't open input
file, create simple data object instead of data object from stream and
set input file name on input data.
* tests/run-verify.c (show_usage): New option --direct-file-io.
(main): Parse new option. If option is given, then don't open input
files, create simple data objects instead of data objects from stream
and set input file names on input data objects.
--

This change makes it possible to tell gpg (and gpgtar) to read the
input (i.e. the signed/encrypted data or the signature or the created
archive) directly from the files with given file names instead of from
streams piped through GpgME's Data IO.

GnuPG-bug-id: 6530
2023-06-21 14:38:50 +02:00
..
examples spelling: fix misspellings 2018-11-08 12:34:27 +07:00
.gitignore .gitignore: flesh out rules and add subdirectory-.gitignores. 2012-04-20 16:05:11 +02:00
ChangeLog-2011 spelling: fix misspellings 2018-11-08 12:34:27 +07:00
DCO Add DCO file 2012-09-25 19:21:00 +02:00
gpgme.texi core: Support reading the archive to decrypt/verify directly from a file 2023-06-21 14:38:50 +02:00
gpl.texi doc: Replace http: by https: in core source files. 2016-11-16 13:27:00 +01:00
HACKING Release 1.6.0 2015-08-26 10:06:00 +02:00
lesser.texi Release 1.6.0 2015-08-26 10:06:00 +02:00
Makefile.am Revert "doc: Remove UI Server documentation" 2019-12-11 10:30:41 +01:00
mdate-sh Update automake scripts. 2008-07-04 15:46:01 +00:00
mkdefsinc.c doc: Get rid of version.texi 2016-08-10 16:33:20 +02:00
module-overview.sk Add a module overview diagram. 2008-07-17 17:09:39 +00:00
texinfo.tex Spelling fixes for comments and doc 2017-12-08 05:59:11 +01:00
uiserver.texi Revert "doc: Remove UI Server documentation" 2019-12-11 10:30:41 +01:00