After upgrading gnupg to version 2.3.1 on our CI for MacOS (via homebrew), the invokation of the GPGME function gpgme_op_createkey fails with error message "General Error".
I was able to reproduce the error in ArchLinux by manually compiling and installing gnupg 2.3.1 on the vm (Arch still uses 2.2.27-1 in its repo as of now). The problem disappears whenever I switch back to gnupg version 2.2.27.
Attached please find the code to reproduce the problem.
Versions used:
- gnupg 2.3.1
- gpgme 1.15.1
We temporarily mitigated the issue by using gnupg 2.2.27 on our build server.