cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-users list Archives

Cipher selection not working for Curl with GnuTLS

From: Ekawat (Ice) Homsirikamol <ehomsiri_at_acadiaoptronics.com>
Date: Tue, 16 Jul 2013 18:09:16 -0400 (EDT)

Hi,

I recently compiled Curl v7.31.0 with GnuTLS v3.2.2.

$ ~/work/curltest# /usr/local/gnutls/bin/curl -V
$ curl 7.31.0 (x86_64-unknown-linux-gnu) libcurl/7.31.0 GnuTLS/3.2.2
zlib/1.2.3.4 libidn/1.23 librtmp/2.3
$ Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3
pop3s rtmp rtsp smtp smtps telnet tftp
$ Features: IDN IPv6 Largefile NTLM NTLM_WB SSL libz TLS-SRP

The process seems flawless but when I issued a curl command i.e.
$ /usr/local/gnutls/bin/curl https://10.245.81.77/ --insecure --ciphers ABC -v
The ciphers command is ignored and curl starts the transfer as if no cipher is
selected.
In the above case, the following message should occur as "ABC" is not a valid
cipher.
$ curl: (59) failed setting cipher list

I have tried with a valid cipher option picked from 'gnutls-cli --list' and the
same behaviour occurs.

Is this a bug? Or cipher selection is not an implemented feature for GnuTLS?

Regards,
Ekawat

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2013-07-17

These mail archives are generated by hypermail.

donate! Page updated May 06, 2013.
web site info

File upload with ASP.NET