Do I have to install gpg before using gpgme library?

Daniel Kahn Gillmor dkg at fifthhorseman.net
Sat Mar 24 21:30:49 CET 2012


On 03/24/2012 12:07 PM, Peter Chen wrote:
> I am making development on an encryption tool based on the GPGME library.
> As the gpgme manual describes, it uses GnuPG as one of its backends.
> Then my question arises, if I want to encrypt/sign some messages with
> OpenGPG protocol through GPGME , do I have to install gpg on my computer as
> well?

Yes, i believe you do need to have gpg installed on the computer which 
you expect to use libgpgme on.  This is because libgpgme forks a 
background process to invoke gpg directly to do most of its work.

Regards,

	--dkg



More information about the Gnupg-users mailing list