This is about a solution for issue behind T7674: Kleopatra: Restore behavior of RSAKeySizes and PGPKeyType on master (KF6), the solution in T7674 was for the legacy kf5 branch only.
On master the new option AllowedPGPKeyTypes should support a list of algorithms (same as gpg's --quick-add-key and --quick-gen-key support). This new name ensures that there is no confusion with the old option PGPKeyType.
PGPKeyType and RSAKeySizes should be migrated to AllowedPGPKeyTypes, i.e. PGPKeyType=RSA + RSAKeySizes=NNN,MMM would become AllowedPGPKeyTypes=rsaNNN,rsaMMM. The old settings PGPKeyType and RSAKeySizes should be left as-is by the migration so that people trying out a beta version don't break the configuration of their production version.