Issue generating key on GPA

Hi, I was wondering if someone could assist me with resolving an issue I am having with the GPA for windows (the most recent version 3.1.5), I have successfully used it in the past and am confused as to why I am no longer able to do so, after I launch the application and am prompted to generate a key the program crashes and gives the error message:
'The GPGME library returned an unexpected
error at gpagenkeysimpleop.c:159. The error was:

Invalid argument

This is either an installation problem or a bug in GPA.
GPA will now try to recover from this error.’

from what I have seen online it may be an issue with security certificates? My computer skills are remedial at best so my ability to amend the security certificates when the application is starting is limited but I was hoping someone would be able to assist me with fixing whatever the issue is

Yes, big apologies about that. Please use Kleopatra in this version. We will fix it for the next version. It is a Bug in GPA that missed our testing as we are mostly focused on Kleopatra for new developments :-/

Our ticket for this is: https://dev.gnupg.org/T4265

Thanks for making the effort to report this!