can decrypt a message only with gpgme lib?!

Bernhard Reiter bernhard at
Wed Oct 22 11:43:13 CEST 2008

On Freitag, 17. Oktober 2008, Yunfeng wrote:
> But I am not clear that can I decrypt a message only use the Gpgme lib?!

Yes, you can decrypt a message using gpgme.
Gpgme will call gpg2 or gpgsm, so you must have one of them.

> What the relationship between the Gpg and the gpgme ?

AFAIR, gpgme calls gpg2 and gpgsm and provides 
a higher level interface to their functions.
The interface is more stable because it does not depend
on parsing a command line output.


Managing Director - Owner:      (Free Software Company)
Germany Coordinator: Coordinator:
Intevation GmbH, Osnabrück, DE; Amtsgericht Osnabrück, HRB 18998
Geschäftsführer Frank Koormann, Bernhard Reiter, Dr. Jan-Oliver Wagner
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 1603 bytes
Desc: not available
URL: </pipermail/attachments/20081022/732d0601/attachment.bin>

More information about the Gnupg-devel mailing list