From 52d59d75cae5803ac49ddbee4aae9b862c73a075 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ingo=20Kl=C3=B6cker?= Date: Fri, 10 Nov 2023 08:55:07 +0100 Subject: [PATCH] qt: Deprecate DefaultKeyGenerationJob * lang/qt/src/defaultkeygenerationjob.h (class DefaultKeyGenerationJob): Deprecate. -- GnuPG generates Ed25519 keys by default and has switched to 3072 bits as default for RSA keys. DefaultKeyGenerationJob always generates RSA 2048 keys and uses the old parameter file API of GnuPG. It shouldn't be used anymore. GnuPG-bug-id: 6805 --- NEWS | 4 ++++ lang/qt/src/defaultkeygenerationjob.h | 4 +++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index 733a0fbb..58f39b3b 100644 --- a/NEWS +++ b/NEWS @@ -7,6 +7,10 @@ Noteworthy changes in version 1.23.2 (unreleased) * qt: Build Qt 6 bindings with -fPIC if requested or Qt 6 was built with this flag. [T6781] + * Interface changes relative to the 1.23.1 release: + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + qt: DefaultKeyGenerationJob DEPRECATED. + Noteworthy changes in version 1.23.1 (2023-10-27) ------------------------------------------------- diff --git a/lang/qt/src/defaultkeygenerationjob.h b/lang/qt/src/defaultkeygenerationjob.h index 0bc7b610..8bbbe34a 100644 --- a/lang/qt/src/defaultkeygenerationjob.h +++ b/lang/qt/src/defaultkeygenerationjob.h @@ -44,8 +44,10 @@ namespace QGpgME{ /** * Generates a PGP RSA/2048 bit key pair for given name and email address. + * + * This job is deprecated. Use QuickJob::startCreate instead. */ -class QGPGME_EXPORT DefaultKeyGenerationJob : public Job +class QGPGME_DEPRECATED_EXPORT DefaultKeyGenerationJob : public Job { Q_OBJECT public: