gpgme problems w/gaim plugin
Philip D. Lowman
lowman@uiuc.edu
Sat Apr 13 11:08:02 2002
--5vNYLRcllDrimb99
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
I've been working on a GPG plugin for gaim and am using gpgme. I am
running into some problems however with an error of "No Recipients". I
have the following code in a standalone program that works just fine.=20
When I try to work with essentially identical code in Gaim I get the
Invalid Recipients error. I have removed everything from my Gaim code
except for essentially what I have in the standalone code (a basic
encryption set of commands) just to make it more readable.
I have traced into the library and I know that it's at least setting up
the arguments to gpg properly as far as I can tell. I have attached both
files in a tarball. I am trying to figure out what exactly is causing
libgpgme to die. As you can see my calls are virtually identical.
I suspect this may be a file descriptor or piping problem but I am not
sure.
the error I get is below:
gpg.c:239: GpgmeError No Recipients
Program exited with code 01.
(the gaim plugin can be built in gaim/plugins of the gaim source code
with 'make gpg.so' after adding -lgpgme to the makefile)
--=20
Philip Lowman <lowman@uiuc.edu>
"Those who would give up essential liberties for temporary security,=20
deserve neither liberty nor security."
-- Benjamin Franklin
--5vNYLRcllDrimb99
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE8t/WSL78avKCRU4wRAkVMAJ9F5pS4043OJZkF5gt0oQhsOhi9BQCgiwqL
5JCptPXcp/7u5RbQ0hgsMio=
=mPMZ
-----END PGP SIGNATURE-----
--5vNYLRcllDrimb99--