cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: How to specify specific ciphers for libssh2

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Mon, 28 Jul 2014 23:26:23 +0200

On Mon, Jul 28, 2014 at 06:35:44PM +0000, Valluri, Sathish wrote:
> I have implemented SFTP transport using CURL, which in turn uses libssh2.
>
> The following are the corresponding versions of libraries that I am using
>
> Openssl 1.0.0-20 FIPS certified
>
> Libssh2 1.4.3
>
> Curl 7.19
>
> I want know how I can make libssh2 select a specific cipher and not the default
> ones for the ssh connection. Is there a way i can do it through curl?

One might expect that the CURLOPT_SSL_CIPHER_LIST option would do this, but
sadly, it doesn't. There's currently no way to specify it through libcurl.

>>> Dan
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2014-07-28