Problem with C++ wrapper and gpgme

Marcus Brinkmann Marcus.Brinkmann at ruhr-uni-bochum.de
Mon May 26 04:00:02 CEST 2003


On Sun, May 25, 2003 at 07:08:06PM -0500, Robert J. Hansen wrote:
> > 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.

Why did that surprise you?

Thanks,
Marcus

-- 
`Rhubarb is no Egyptian god.' GNU      http://www.gnu.org    marcus at gnu.org
Marcus Brinkmann              The Hurd http://www.gnu.org/software/hurd/
Marcus.Brinkmann at ruhr-uni-bochum.de
http://www.marcus-brinkmann.de/




More information about the Gnupg-devel mailing list