gpgme/doc
Ingo Klöcker 0221d7f28a
core: Support direct encryption of file with gpg
* src/gpgme.h.in (GPGME_ENCRYPT_FILE): New encryption flag.
* src/engine-gpg.c (gpg_encrypt, gpg_encrypt_sign): Check for
incompatible flags. Pass filename instead of fd to gpg when new flag is
set.
* src/engine-gpgsm.c (gpgsm_encrypt): Return error if new flag is set.
* src/engine-uiserver.c (uiserver_encrypt): Ditto.

* tests/run-encrypt.c (show_usage): New option --direct-file-io.
(main): Parse new option. Make gpg read the input file itself if the
option is given.
--

With this change the gpgme_op_encrypt* and gpgme_op_encrypt_sign*
functions gain the possibility to make gpg read the data to (sign and)
encrypt directly from a file instead of from an input FD to which it is
written by gpgme.

GnuPG-bug-id: 6550
2023-12-19 13:07:45 +01: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 direct encryption of file with gpg 2023-12-19 13:07:45 +01: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 doc: Fix typos in documentation and source code comments 2023-10-13 09:18:12 +02:00
uiserver.texi Revert "doc: Remove UI Server documentation" 2019-12-11 10:30:41 +01:00