[Help-gnutls] PGP api

Angus angus at uducat.com
Tue Nov 27 15:09:46 CET 2007


On Tuesday 27 November 2007 06:36, Brad Hards wrote:
> On Tuesday 27 November 2007 01:41:53 am Angus wrote:
> > 	I'm not trying to authenticate, but section 3.1 doesn't specify or
> > generalize what I'm trying to do either. I'm sorry, I don't have much
> > experience with public key encryption. I just had the idea that the
> > contents of e-mails could be encrypted with PGP, and the more popular
> > mail clients had the facilities to decrypt such e-mails.
>
> This looks reasonable, but GnuTLS (or OpenCDK) probably is not the tool to
> do it. So this is probably off-topic.
>
> > > > 	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.
> > >
> > > GPGME is designed to support mail user agents handled PGP
> > > encryped/signed messages. Use of it for something wildly different is
> > > going to be messy.
> >
> > 	That does like what I'm trying to do. I have my own mail-sending daemon,
> > you see. It can do things like attach files, include special X- headers,
> > and now I want to encrypt the contents of these e-mails.
>
> OK. I still suggest gpgme. It does have reasonable key handling - read the
> info pages a few times. Note that it isn't just a PGP library - it also
> does X.509 based certificate operations. That makes some of the function
> names a bit abstract, and not all functions are OpenPGP related.

	Ok, thanks for your help. I'll goto the GPGME mailing list from here.





More information about the Gnutls-help mailing list