From 7d5df0bf0d86391151911160db24441966b6d938 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ingo=20Kl=C3=B6cker?= Date: Tue, 18 Jun 2024 16:36:40 +0200 Subject: qt: Allow appending a detached signature to an existing file * lang/qt/src/qgpgmesignjob.cpp (sign_to_filename): Add argument "appendSignature". Append new detached signature to an existing file if requested. * lang/qt/src/signjob.cpp, lang/qt/src/signjob.h (class SignJob): Add member functions setAppendSignature, appendSignatureEnabled. * lang/qt/src/signjob_p.h (struct SignJobPrivate): Add member m_appendSignature. * lang/qt/tests/run-signjob.cpp (struct CommandLineOptions): Add members signingFlags, appendSignature. Initialize armor. (parseCommandLine): Add command line options --detach-sign and --append. (main): Do not exit if output file exists and append is enabled. Pass new options to the job. -- This change simplifies cross-signing a document by appending additional detached signatures to a file with already existing detached signatures. GnuPG-bug-id: 6867 --- NEWS | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'NEWS') diff --git a/NEWS b/NEWS index 796e3c9e..c317d2f3 100644 --- a/NEWS +++ b/NEWS @@ -24,6 +24,8 @@ Noteworthy changes in version 1.24.0 (unrelease) * qt: Allow specifying import options when importing keys. [T7152] + * qt: Allow appending a detached signature to an existing file. [T6867] + * Interface changes relative to the 1.23.2 release: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ GPGME_ENCRYPT_FILE NEW. @@ -67,6 +69,8 @@ Noteworthy changes in version 1.24.0 (unrelease) qt: SignJob::outputFile NEW. qt: SignJob::setSigningFlags NEW. qt: SignJob::signingFlags NEW. + qt: SignJob::setAppendSignature NEW. + qt: SignJob::appendSignatureEnabled NEW. qt: VerifyDetachedJob::setSignatureFile NEW. qt: VerifyDetachedJob::signatureFile NEW. qt: VerifyDetachedJob::setSignedFile NEW. -- cgit v1.2.3