Re: gpgme error no data for op_verify

2009-10-25 Thread Josselin Jacquard
Ok I found that the gpgme engine is set to gpg for my system. I set it explicitely to gpg2 and now it's working using gpgme_set_engine_info(GPGME_PROTOCOL_OpenPGP, "/usr/bin/gpg2", NULL)) Should this work on Mac too ? Does someone now how to change the gpgme lib to use gpg2 by default on my system

Re: gpgme error no data for op_verify

2009-10-23 Thread Josselin Jacquard
I've working on my problem, and the data allocation seem solved. (Or maybe it never appeared and I misjudge the debug info) Now it's the gpg engine which throws a no data error. I've got this gpgme debug output, can someone ather information from it (I myself don't understand it quite well). For

gpgme error no data for op_verify

2009-10-22 Thread Josselin Jacquard
Hi, I've got a bug and I can't find the solution. I'm calling gpgme_op_verify with a non empty signature and a non empty plain text, but the gpgme returns a no data error. It looks like when debugging that the _gpgme_op_data_lookup return this error (called by _gpgme_op_verify_init_result) The l