[Help-gnutls] Perl binding

Nikos Mavrogiannopoulos nmav at gnutls.org
Sun Jun 4 23:05:20 CEST 2006


On Fri 02 Jun 2006 17:35, Florian Weimer wrote:

Hello Florian,

> Is there some kind of Perl binding for GNUTLS?
None that I'm aware of.

> And, while I'm at it, is it possible to use GNUTLS in a
> straightforward manner with self-signed X.509 certificates (or
> OpenPGP keys)?  With "straightforward" I mean something like SSH: The
> client specifies the server key (preferably given as an in-memory
> blob), and the library will establish the connection only if the
> server key matches.  The server accepts all clients, but will then
> verify the certifcate against a user-supllied database (e.g. the
> library returns some unqiue identifier, and a callback provides the
> corresponding key material, again in memory).

Yes you could use gnutls that way. If you ask for a function to do
exactly that it doesn't exist. You may want to check the certificate
verification example to get an idea how you could do it.

regards,
Nikos






More information about the Gnutls-help mailing list