I code a C program to encrypt / decrypt file using GPGME library in AIX system.
The gpgme_get_key method return error message "Invalid crypto engine". It seems it cannot find the OpenPGP protocol that be used to encrypt / decrypt file.
I try to call gpgme_get_engine_info to return all protocols, but it only list one protocol with name "Spawn" and cannot list all 6 protocols includes the major protocol "OpenPGP".
BTW, the same code run in Linux system can call gpgme_get_engine_info to list all 6 protocols as follow.
"OpenPGP / CMS / GPGCONF / Assuan / UIServer / Spawn"
Please help to find out what cause it and how to resolve it. Thanks!
Environment:
AIX 7.3
GPGME-devel v1.13.1