gpgme: export key problems

Werner Koch wk at gnupg.org
Mon Aug 6 09:27:26 CEST 2007


On Sun,  5 Aug 2007 00:05, nico-linux-gnupg at schottelius.org said:

> p = gpgme_strerror(errno); /* returns "Invalid encoding method" */

You may not pass errno to a gpg_strerror or gpgme_strerror (which is
just a wrapper).  You shall pass an gpg_error_t error code to these
functions.

> I searched for examples for using gpgme, but there seem to be more or
> less none available.

What about: KMail, Mutt, Sylpheeed, Claws, Seahorse, Licq, GPA, Elmo,
Centericq, Bazaar and Balsa?

There is also a complete manual which comes with gpgme.



Salam-Shalom,

   Werner





More information about the Gnupg-users mailing list