The defaultkeygenerationjob in qgpgme uses outdated defaults and the old API with the parameter file.
Instead it should use the create key API and let GnuPG decide what the defaults are. This is important because nowadays the defaults are configurable e.g. for VSD its 3072 bit RSA while for Gpg4win it is cv25519.