From 4c872b674189d84d936d6c5cbe18b27c90c162e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ingo=20Kl=C3=B6cker?= Date: Thu, 19 Jan 2023 12:08:35 +0100 Subject: doc: Update NEWS and API documentation -- GnuPG-bug-id: 6342 --- NEWS | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'NEWS') diff --git a/NEWS b/NEWS index b5fb0a73..3ccb371f 100644 --- a/NEWS +++ b/NEWS @@ -5,6 +5,12 @@ Noteworthy changes in version 1.18.1 (unreleased) * Optionally, build QGpgME for Qt 6 + * Support component "gpgtar-name" in gpgme_get_dirinfo. [T6342] + + * Extended gpgme_op_encrypt*, gpgme_op_encrypt_sign*, and + gpgme_op_sign* to allow creating an encrypted and/or signed + archive. [T6342] + * cpp: Handle error when trying to sign expired keys. [T6155] * cpp, qt: Fix building with C++11. [T6141] @@ -24,6 +30,8 @@ Noteworthy changes in version 1.18.1 (unreleased) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gpgme_get_ctx_flag EXTENDED: New flag 'no-auto-check-trustdb'. gpgme_set_ctx_flag EXTENDED: New flag 'no-auto-check-trustdb'. + GPGME_ENCRYPT_ARCHIVE NEW. + GPGME_SIG_MODE_ARCHIVE NEW. cpp: GpgGenCardKeyInteractor::Curve NEW. cpp: GpgGenCardKeyInteractor::setCurve NEW. qt: ListAllKeysJob::Option NEW. -- cgit v1.2.3 From 95ea3bf831aeac201108876e73750692aa1ba3f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ingo=20Kl=C3=B6cker?= Date: Tue, 24 Jan 2023 11:05:52 +0100 Subject: core: Support usage of gpgtar for decrypting an encrypted archive * src/gpgme.h.in (GPGME_DECRYPT_ARCHIVE): New decryption flag. * src/engine-gpg.c (gpg_decrypt): Set use_gpgtar engine flag if GPGME_DECRYPT_ARCHIVE flag is set. Check for new enough gpg and incompatible flags. Use add_gpg_arg_with_value for gpg-only options with a value and add_gpg_arg for gpg-only options without a value. Set extra options for gpgtar and pass input data to stdin when using gpgtar. * tests/run-decrypt.c (show_usage): New options --archive and --directory. (main): Parse new options. Decrypt with gpgtar if --archive is given. Set file name of output data to value of --directory option. -- GnuPG-bug-id: 6342 --- NEWS | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'NEWS') diff --git a/NEWS b/NEWS index 3ccb371f..824faeb7 100644 --- a/NEWS +++ b/NEWS @@ -11,6 +11,9 @@ Noteworthy changes in version 1.18.1 (unreleased) gpgme_op_sign* to allow creating an encrypted and/or signed archive. [T6342] + * Extended gpgme_op_decrypt* and gpgme_op_decrypt_verify* to allow + extracting an encrypted and/or signed archive. [T6342] + * cpp: Handle error when trying to sign expired keys. [T6155] * cpp, qt: Fix building with C++11. [T6141] @@ -30,6 +33,7 @@ Noteworthy changes in version 1.18.1 (unreleased) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gpgme_get_ctx_flag EXTENDED: New flag 'no-auto-check-trustdb'. gpgme_set_ctx_flag EXTENDED: New flag 'no-auto-check-trustdb'. + GPGME_DECRYPT_ARCHIVE NEW. GPGME_ENCRYPT_ARCHIVE NEW. GPGME_SIG_MODE_ARCHIVE NEW. cpp: GpgGenCardKeyInteractor::Curve NEW. -- cgit v1.2.3 From ab7146aa61f009f51a9bcf5b8855b128aadec55d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ingo=20Kl=C3=B6cker?= Date: Wed, 25 Jan 2023 12:17:05 +0100 Subject: doc: Update NEWS and API documentation -- GnuPG-bug-id: 6342 --- NEWS | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'NEWS') diff --git a/NEWS b/NEWS index 824faeb7..365d4f95 100644 --- a/NEWS +++ b/NEWS @@ -11,8 +11,8 @@ Noteworthy changes in version 1.18.1 (unreleased) gpgme_op_sign* to allow creating an encrypted and/or signed archive. [T6342] - * Extended gpgme_op_decrypt* and gpgme_op_decrypt_verify* to allow - extracting an encrypted and/or signed archive. [T6342] + * Extended gpgme_op_decrypt*, gpgme_op_decrypt_verify*, and gpgme_op_verify* + to allow extracting an encrypted and/or signed archive. [T6342] * cpp: Handle error when trying to sign expired keys. [T6155] @@ -36,6 +36,10 @@ Noteworthy changes in version 1.18.1 (unreleased) GPGME_DECRYPT_ARCHIVE NEW. GPGME_ENCRYPT_ARCHIVE NEW. GPGME_SIG_MODE_ARCHIVE NEW. + GPGME_VERIFY_ARCHIVE NEW. + gpgme_verify_flags_t NEW. + gpgme_op_verify_ext_start NEW. + gpgme_op_verify_ext NEW. cpp: GpgGenCardKeyInteractor::Curve NEW. cpp: GpgGenCardKeyInteractor::setCurve NEW. qt: ListAllKeysJob::Option NEW. -- cgit v1.2.3 From 261245a2e0e76568607c79a0c80372cb6f46444e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ingo=20Kl=C3=B6cker?= Date: Fri, 27 Jan 2023 09:37:05 +0100 Subject: cpp: Add convenience overload to set file name * lang/cpp/src/data.h, lang/cpp/src/data.cpp (setFileName): Add overload. -- GnuPG-bug-id: 6342 --- NEWS | 1 + 1 file changed, 1 insertion(+) (limited to 'NEWS') diff --git a/NEWS b/NEWS index 365d4f95..4830dd51 100644 --- a/NEWS +++ b/NEWS @@ -42,6 +42,7 @@ Noteworthy changes in version 1.18.1 (unreleased) gpgme_op_verify_ext NEW. cpp: GpgGenCardKeyInteractor::Curve NEW. cpp: GpgGenCardKeyInteractor::setCurve NEW. + cpp: Data::setFileName EXTENDED: New overload qt: ListAllKeysJob::Option NEW. qt: ListAllKeysJob::Options NEW. qt: ListAllKeysJob::setOptions NEW. -- cgit v1.2.3 From 275a3a2c16d27e5bc87f7d80af2ee703a92b6758 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ingo=20Kl=C3=B6cker?= Date: Fri, 27 Jan 2023 11:44:55 +0100 Subject: qt: Add data provider for list of file names * lang/qt/src/Makefile.am: Add new files and corresponding camel-case header. * lang/qt/src/dataprovider.h: Include interface from gpgme++ when not building. * lang/qt/src/filelistdataprovider.cpp, lang/qt/src/filelistdataprovider.h: New. -- The new data provider simplifies providing a nul-separated list of UTF-8-encoded filenames, e.g. for creating signed or encrypted archives. It is a simple read-only proxy for QByteArrayDataProvider. GnuPG-bug-id: 6342 --- NEWS | 1 + 1 file changed, 1 insertion(+) (limited to 'NEWS') diff --git a/NEWS b/NEWS index 4830dd51..a96973cd 100644 --- a/NEWS +++ b/NEWS @@ -49,6 +49,7 @@ Noteworthy changes in version 1.18.1 (unreleased) qt: ListAllKeysJob::options NEW. qt: Job::startNow NEW. qt: ImportJob::startLater NEW. + qt: FileListDataProvider NEW. Noteworthy changes in version 1.18.0 (2022-08-10) -- cgit v1.2.3 From 7afd135ccec73585e06272f98b4a0895e3ee6579 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ingo=20Kl=C3=B6cker?= Date: Fri, 27 Jan 2023 11:53:45 +0100 Subject: qt: Add job for creating encrypted archives * lang/qt/src/encryptarchivejob.cpp, lang/qt/src/encryptarchivejob.h, lang/qt/src/encryptarchivejob_p.h, lang/qt/src/qgpgmeencryptarchivejob.cpp, lang/qt/src/qgpgmeencryptarchivejob.h: New. * lang/qt/src/protocol.h (class Protocol): Add pure virtual member function encryptArchiveJob * lang/qt/src/protocol_p.h (Protocol::encryptArchiveJob): ... and implement it. * lang/qt/src/Makefile.am: Update accordingly. * lang/qt/tests/run-encryptarchivejob.cpp: New. * lang/qt/tests/Makefile.am: Add new test runner. -- GnuPG-bug-id: 6342 --- NEWS | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'NEWS') diff --git a/NEWS b/NEWS index a96973cd..f36be620 100644 --- a/NEWS +++ b/NEWS @@ -29,6 +29,8 @@ Noteworthy changes in version 1.18.1 (unreleased) * qt: Allow deferred start of import jobs. [T6323] + * qt: Support creating encrypted archives. [T6342] + * Interface changes relative to the 1.18.0 release: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gpgme_get_ctx_flag EXTENDED: New flag 'no-auto-check-trustdb'. @@ -50,6 +52,8 @@ Noteworthy changes in version 1.18.1 (unreleased) qt: Job::startNow NEW. qt: ImportJob::startLater NEW. qt: FileListDataProvider NEW. + qt: EncryptArchiveJob NEW. + qt: Protocol::encryptArchiveJob NEW. Noteworthy changes in version 1.18.0 (2022-08-10) -- cgit v1.2.3