[Help-gnutls] PGP api

Angus angus at uducat.com
Fri Nov 23 15:21:33 CET 2007


On Thursday 22 November 2007 18:27, Brad Hards wrote:
> On Friday 23 November 2007 08:17:05 am Angus wrote:
> > I need a C (or C++) API to PGP encrypt stuff. Unfortunately, I have no
> > experience with public key encryption, and I'm having a hard time
> > figuring out what available APIs even do this.
>
> I'm not sure what you are asking. Are you trying to do PGP with TLS?

	From what I can tell, OpenCDK falls under TLS, so yes.

> If you are just trying to encrypt a file, why not just use GPGME:
> http://www.gnupg.org/related_software/gpgme/
> It is a library that talks to the gnupg binary over a special machine
> interface.

	I'm looking at GPGME, and it looks a little too DIY. From what I can tell, 
all it does is open a socket to an algorithmic backend, and pipes data to and 
from it--no place to insert things like public and private keys and whatever 
else PGP needs.





More information about the Gnutls-help mailing list