Re: gpa fails to deal with my key: Invalid crypto engine

Jim Meyering <[email protected]> Tue, 20 Sep 2011 10:38:50 +0200
Newsgroups gmane.comp.encryption.gpg.gpa.devel
Message-ID <[email protected]>
Werner Koch wrote:

> On Mon, 19 Sep 2011 21:22, [email protected] said:
>
>> Did you manage to reproduce the failure?
>
> No.  I tried to reproduce but it worked (Debian Sid on x86).
>
>>     gnupg
>>     libassuan
>>     libgpg-error
>>     libgcrypt
>>     libksba
>
> I use the same except for Libgcrypt which is 1.5.0 due to the ABI
> change.  But that is not the problem.
>>
>> Even with that, I still end up with the pesky undismissable
>> "GPA error" dialog.
>
>>From the log:
>
>  gpgme_set_protocol: enter: ctx=0x9d9600, protocol=1 (CMS)
>  gpgme_set_protocol: check: ctx=0x9d9600, releasing ctx->engine=0x958ae0
>  gpgme_set_protocol: leave
>  gpgme_op_keylist_start: enter: ctx=0x9d9600, pattern=(null), secret_only=1
>  gpgme_op_keylist_start: error: Invalid crypto engine <GPGME>
>
> Do you have any X.509 key?

No.

That you always use one makes me wonder.
Would you recommend doing so, in general?

> I have not tested without.  Let's try to set
>
>   cms_hack = 1; /* CMS is now always enabled.  */
>
> in gpa/src/gpa.c to 0.

I made that change, recompiled gpa, and now it works.
Thanks!