gpgme: differences and similarities of signatures

Miguel Coca e970095 at zipi.fi.upm.es
Tue Dec 10 02:37:02 CET 2002


On Mon, Dec 09, 2002 at 18:57:41 -0600, Jacob Perkins wrote:
> I'd like to know some of the major differences and similarities between
> how gpgme will treat a standard data signature and a key signature.

Speaking from my experience implementing this for GPA, they are completely
different. 

> I assume this is being worked on in 0.4.0.  Will both use GpgmeSigStat? 
> Are there specific files I should look at in cvs for info?

They are already in CVS, but there is no documentation yet. The functions
used are gpgme_key_sig_get_string_attr and gpgme_key_sig_get_ulong_attr. But
first you need to fetch the signatures by using a different keylist mode.

If you want to see an example of how it's used, there is one in GPA CVS
(file src/siglist.c, and in gpa_siglist_set_userid () you have the cleanest
example).

Regards,
-- 
Miguel Coca                                         e970095 at zipi.fi.upm.es
PGP Key 0x27FC3CA8                         http://zipi.fi.upm.es/~e970095/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : /pipermail/attachments/20021210/e2fa5a45/attachment.bin


More information about the Gnupg-devel mailing list