[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-gnutls] PGP api
From: |
Angus |
Subject: |
Re: [Help-gnutls] PGP api |
Date: |
Fri, 23 Nov 2007 09:21:33 -0500 |
User-agent: |
KMail/1.9.5 |
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.