Subject: Re: about libcurl, libgcrypt and nettle

Re: about libcurl, libgcrypt and nettle

From: Simon Josefsson <>
Date: Fri, 01 Jul 2011 17:31:10 +0200

Vincent Torri <> writes:

> Hey,
> afaik, libssh2 is used to allow secured file transfert protocol (sftp, for
> example) with libcurl
> and afaik too, libgcrypt and nettle have the same purposes.
> libcurl can use openssl or gnutls.
> libssh2 can use openssl or libgcrypt
> the next major release of gnutls will use only nettle, and not libgcrypt
> anymore. And even now, nettle is preferred over libgcrypt.
> So, if I don't want to use openssl at all, I will have to install nettle
> (because of gnutls dep of libcurl), and libgcrypt (because of libssh2 dep of
> libcurl), which is a bit redundant.
> Is there any plan to add nettle support in libssh2 ?

Not that I know of, but I think it would be great addition. Note that
nettle does not have randomness generation, though, but I'm working on
something to resolve that. ;)

Received on 2011-07-01