Problem with C++ wrapper and gpgme

Robert J. Hansen cortana at earthlink.net
Mon May 26 03:07:02 CEST 2003


> I use version 0.3.15 of gpgme with gpg 1.2.1 and I try to write a C++ wrapper 
> of gpgme. But encrypting is not working, and I can't find out why.

I have a C++ wrapper for GPGME which works fine with encryption,
signing, and decryption.  (Decrypt + verify is still undone.)  It was a
three-day hack, not at all bad.

Surprisingly, though, I found that it was faster and easier to do a gpg
--list-keys --fingerprint --with-colons, grab the output, and parse that
to create the key database than it was to use the GPGME key-iteration
functions.

-- 
Robert J. Hansen <cortana at earthlink.net>





More information about the Gnupg-devel mailing list