aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIngo Klöcker <[email protected]>2023-11-10 07:55:07 +0000
committerIngo Klöcker <[email protected]>2023-11-10 07:55:07 +0000
commit52d59d75cae5803ac49ddbee4aae9b862c73a075 (patch)
tree39be5aeb9d61e43a3fd08ef954babd200a503e15
parentbuild,qt: Build Qt with -fPIC if required or requested (diff)
downloadgpgme-52d59d75cae5803ac49ddbee4aae9b862c73a075.tar.gz
gpgme-52d59d75cae5803ac49ddbee4aae9b862c73a075.zip
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
-rw-r--r--NEWS4
-rw-r--r--lang/qt/src/defaultkeygenerationjob.h4
2 files changed, 7 insertions, 1 deletions
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: