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
This commit is contained in:
Ingo Klöcker 2023-11-10 08:55:07 +01:00
parent ae332749ee
commit 52d59d75ca
No known key found for this signature in database
GPG Key ID: F5A5D1692277A1E9
2 changed files with 7 additions and 1 deletions

4
NEWS
View File

@ -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 * qt: Build Qt 6 bindings with -fPIC if requested or Qt 6 was built with
this flag. [T6781] 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) Noteworthy changes in version 1.23.1 (2023-10-27)
------------------------------------------------- -------------------------------------------------

View File

@ -44,8 +44,10 @@ namespace QGpgME{
/** /**
* Generates a PGP RSA/2048 bit key pair for given name and email address. * 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 Q_OBJECT
public: public: