gpgme doesn't seem to return the signatures
Folkert van Heusden
folkert at vanheusden.com
Tue May 17 18:22:53 CEST 2005
I have the following version:
130 folkert at keetweej:~/Personal/src/gpgstats$ dpkg --list | grep gpgme
ii libgpgme11 1.0.2-1 GPGME - GnuPG Made Easy
ii libgpgme11-dev 1.0.2-1 GPGME - GnuPG Made Easy
ii libgpgme6 0.3.16-2 GPGME - GnuPG Made Easy
lrwxrwxrwx 1 root root 18 Apr 14 08:27 /usr/lib/libgpgme.so -> libgpgme.so.11.3.3
lrwxrwxrwx 1 root root 18 Apr 14 08:26 /usr/lib/libgpgme.so.11 -> libgpgme.so.11.3.3
-rw-r--r-- 1 root root 127368 Jan 15 15:27 /usr/lib/libgpgme.so.11.3.3
lrwxrwxrwx 1 root root 17 Apr 3 02:12 /usr/lib/libgpgme.so.6 -> libgpgme.so.6.3.7
-rw-r--r-- 1 root root 99184 May 1 2004 /usr/lib/libgpgme.so.6.3.7
I'm doing:
(void)gpgme_check_version(NULL);
err = gpgme_new(&ctx);
err = gpgme_op_keylist_start (ctx, NULL, 0);
err = gpgme_op_keylist_next(ctx, &r_key);
gpgme_user_id_t uids = r_key -> uids;
...for each uid...
gpgme_key_sig_t sigs = uids -> signatures;
Now sigs in this case is *always* NULL!
And I've verified (with gpg --list-sigs) that *all* keys have one or more signature.
Oh, and do I need to free-up something after I do gpgme_op_keylist_next?
Folkert van Heusden
--
Auto te koop, zie: http://www.vanheusden.com/daihatsu.php
Op zoek naar een IT of Finance baan? Mail me voor de mogelijkheden.
--------------------------------------------------------------------
UNIX admin? Then give MultiTail (http://vanheusden.com/multitail/)
a try, it brings monitoring logfiles to a different level! See
http://vanheusden.com/multitail/features.html for a feature-list.
--------------------------------------------------------------------
Phone: +31-6-41278122, PGP-key: 1F28D8AE
Get your PGP/GPG key signed at www.biglumber.com!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 282 bytes
Desc: Digital signature
Url : /pipermail/attachments/20050517/6570ff28/attachment-0001.pgp
More information about the Gnupg-users
mailing list