Problem with C++ wrapper and gpgme
dshaw at jabberwocky.com
Mon May 26 22:29:12 CEST 2003
-----BEGIN PGP SIGNED MESSAGE-----
On Mon, May 26, 2003 at 09:27:23PM +0400, Yenot wrote:
> On Monday 26 May 2003 04:08 am, Robert J. Hansen wrote:
> > 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.
> Even that solution can be problematic. Let's say your application
> is a keymanager written in C++. Your goal is to take the information
> from *all* keys on a keyring and display them in a pretty GUI.
> For this, your best bet is parse the raw binary output of
> "gpg --list-keys". If you don't parse the raw binary output, this is
> what will happen:
Do you mean "--export" here? --list-keys just lists keys, and does
not include much information you might want (key flags, etc).
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3-cvs (GNU/Linux)
-----END PGP SIGNATURE-----
More information about the Gnupg-devel