On Sat, 30 Jan 2016 10:13, sasc0...@stud.hs-kl.de said:
> error = gpgme_ctx_set_engine_info(mContext, GPGME_PROTOCOL_OpenPGP, NULL,
> CONFIG_DIR);
> if(error)
> return false;
You should print the error here:
err = gpgme_ctx_set_engine_info(
> I somehow can't get GPGME to work with a custom configuration
> directory for GnuPG. Every time I set a path any key generation fails
> with a GPGME_ERR_GENERAL afterwards.
Let's tackle this.
> const char* dir = "/home/myuser/crypttest";
So far so good.
> // error = gpgme_set_engine_info(GPGM
Hello again,
I somehow can't get GPGME to work with a custom configuration directory for
GnuPG. Every time I set a path any key generation fails with a
GPGME_ERR_GENERAL afterwards. There is nothing special about how I set the path:
gpgme_engine_info_t info;
gpgme_error_t error;
con