gpgme doesn't seem to return the signatures

Randall Wood rhwood at mac.com
Fri May 20 14:41:25 CEST 2005


see the function gpgme_set_keylist_mode(gpgme_ctx_t CTX, 
gpgme_keylist_mode_t MODE)
to solve your problem. Since I only use gpgme via the GPGME.framework 
Objective-C wrapper, I can't help beyond that except to note that gpgme 
by default will not list signatures.

On 20 May 2005, at 21:34, Folkert van Heusden wrote:

> 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.
>
>
> 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!
> _______________________________________________
> Gnupg-devel mailing list
> Gnupg-devel at gnupg.org
> http://lists.gnupg.org/mailman/listinfo/gnupg-devel
>
--
Randall Wood
rhwood at mac.com

"The ball is round. The game lasts ninety minutes. The rest is 
theory..."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
Url : /pipermail/attachments/20050520/711765b5/PGP.pgp


More information about the Gnupg-devel mailing list