aboutsummaryrefslogtreecommitdiffstats
path: root/NEWS
diff options
context:
space:
mode:
authorIngo Klöcker <[email protected]>2023-12-15 10:05:19 +0100
committerIngo Klöcker <[email protected]>2023-12-19 13:09:33 +0100
commit963ace1f9f39f09fee522b996e05d42040b1f4b4 (patch)
tree67a375f39ead00e24aea7082ed1163b0bd26c4b7 /NEWS
parentcore: Support direct encryption of file with gpg (diff)
downloadgpgme-963ace1f9f39f09fee522b996e05d42040b1f4b4.tar.gz
gpgme-963ace1f9f39f09fee522b996e05d42040b1f4b4.zip
core: Support direct signing of file with gpg
* src/gpgme.h.in (GPGME_SIG_MODE_FILE): New signature mode flag. * src/engine-gpg.c (gpg_sign): Separate signature mode from additional flags. Check for incompatible flags. Explicitly set output to stdout if no output file is used. Pass filename instead of fd to gpg when new flag is set. * src/engine-gpgsm.c (gpgsm_sign): Return error if new flag is set. * src/engine-uiserver.c (uiserver_sign): Ditto. * src/sign.c (sign_start): Consider new flag on check for invalid flags. * tests/run-sign.c (show_usage): New options --detach and --direct-file-io. (main): Parse new options. Create a detached signature if --detach is given. Make gpg read the input file itself if --direct-file-io is given. -- With this change the gpgme_op_sign* functions gain the possibility to make gpg read the data to sign directly from a file instead of from an input FD to which it is written by gpgme. GnuPG-bug-id: 6550
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS5
1 files changed, 3 insertions, 2 deletions
diff --git a/NEWS b/NEWS
index 81bd564a..e9e2ed28 100644
--- a/NEWS
+++ b/NEWS
@@ -1,12 +1,13 @@
Noteworthy changes in version 1.23.3 (unrelease)
-------------------------------------------------
- * Extended gpgme_op_encrypt* and gpgme_op_encrypt_sign* to allow reading
- the input data directly from a file. [T6550]
+ * Extended gpgme_op_encrypt*, gpgme_op_encrypt_sign*, and gpgme_op_sign*
+ to allow reading the input data directly from a file. [T6550]
* Interface changes relative to the 1.23.2 release:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
GPGME_ENCRYPT_FILE NEW.
+ GPGME_SIG_MODE_FILE NEW.
Noteworthy changes in version 1.23.2 (2023-11-28)