[Help-gnutls] Re: gnutls with pgp
Simon Josefsson
simon at josefsson.org
Fri Feb 2 14:22:40 CET 2007
dellanna at csp.it writes:
> Hi all,
> I should implement autenthication inside of web application with gnutls.
> I should use OpenPGP inside TLS connection (I do not use certificate X.509).
> It is possible in GnuTLS, but can someone indicate me any reference guide (with
> example server-client)?
Hi! Yes, that should be possible. There are example code for a
server in the GnuTLS manual:
http://www.gnu.org/software/gnutls/manual/html_node/Echo-Server-with-OpenPGP-authentication.html
There are no explicit examples for OpenPGP clients, but modifying the
standard X.509 example:
http://www.gnu.org/software/gnutls/manual/html_node/Simple-client-example-with-X_002e509-certificate-support.html
using the hints from:
http://www.gnu.org/software/gnutls/manual/html_node/Certificate-authentication.html
should not be impossible.
Note that this part of GnuTLS is not widely used, so it isn't unlikely
that you run into problems. Let us know how it works for you!
/Simon
More information about the Gnutls-help
mailing list