curl / Mailing Lists / curl-users / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

RE: --curves parameter ?

From: Michael Baentsch via curl-users <curl-users_at_cool.haxx.se>
Date: Thu, 23 Apr 2020 19:17:21 +0200

Hi Daniel,

   Thanks for the quick answer(s). The google-search also didn't turn out another response than "not yet implemented".

As I only started to look into the curl source code today (though being a longtime happy curl user), I'm certain I didn't understand all internal structures and concepts already to do a regular PR -- however, I put together a patch that someone truly knowledgeable may want to take a look at (attached):

Applied to 7.69.1. it does what I've been asking for, though and I'd apply it as such to our "downstream project" (OpenQuantumSafe) where we're adding quantum-safe cryptographic capabilities to curl (https://github.com/open-quantum-safe/oqs-demos/tree/master/curl)

So, I'd be glad if you'd find the time to take a look and let me know whether something like this could be added to curl so that we wouldn't need to apply it manually whenever we build our project (and need to redo when the curl code moves on...):

Thanks in advance,

--Michael

´╗┐On 23.04.20, 14:13, "curl-users on behalf of Daniel Stenberg via curl-users" <curl-users-bounces_at_cool.haxx.se on behalf of curl-users_at_cool.haxx.se> wrote:

    On Thu, 23 Apr 2020, Michael Baentsch via curl-users wrote:

> is there a way to set the (EC) curves parameter (list) advertised in curl
> (TLS) in the same way that openssl s_client/server permit it via the -curves
> parameter, i.e., invoking SSL_CTX_set1_curves_list?

    No, there isn't! Room for improvement I guess.

> Checking the source code (7.69.1) and the (incl. past) issues in github I
> could not find a way (or past discussion on this feature).

    I can't recall any such either.

> Any hints how to use the Mail-Archives Search function properly would be
> most welcome (https://urldefense.proofpoint.com/v2/url?u=https-3A__curl.haxx.se_mail_list.cgi-3Flist-3Dcurl-2Dusers-26full-3D1&d=DwIDaQ&c=jf_iaSHvJObTbx-siA1ZOg&r=P7u4k_NTA-MMBziH70VhanW--FgaLtu5uNHkMS36osY&m=lUulNuw4Y7xr18piRIO2w5nlC0R8JMlaNv6zM0HyfeA&s=9mFWFwKx2WagmBzFsLJtTFr2Wp5tKvwhgaBwtU3CRtQ&e= )

    Uh, that search thing at the bottom of the screen seems to have broken
    completely! I'll see what I can do to get it back, but I can't tell you
    exactly when its going to happen.

    The general trick is otherwise to add "site:https://urldefense.proofpoint.com/v2/url?u=https-3A__curl.haxx.se_mail&d=DwIDaQ&c=jf_iaSHvJObTbx-siA1ZOg&r=P7u4k_NTA-MMBziH70VhanW--FgaLtu5uNHkMS36osY&m=lUulNuw4Y7xr18piRIO2w5nlC0R8JMlaNv6zM0HyfeA&s=Bs5i7l4I4TzqL5mx_Tb4bkmIDrTuIhEHmwUpEkXMggE&e= " to your
    google search field to only get results from the curl mailing list archives.

    --

      / daniel.haxx.se | Commercial curl support up to 24x7 is available!
                       | Private help, bug fixes, support, ports, new features
                       | https://urldefense.proofpoint.com/v2/url?u=https-3A__www.wolfssl.com_contact_&d=DwIDaQ&c=jf_iaSHvJObTbx-siA1ZOg&r=P7u4k_NTA-MMBziH70VhanW--FgaLtu5uNHkMS36osY&m=lUulNuw4Y7xr18piRIO2w5nlC0R8JMlaNv6zM0HyfeA&s=iFM2Zh2fLtj018QZsYyVBAF3uh224y1j8NuMqi4cCzo&e= -----------------------------------------------------------
    Unsubscribe: https://urldefense.proofpoint.com/v2/url?u=https-3A__cool.haxx.se_list_listinfo_curl-2Dusers&d=DwIGaQ&c=jf_iaSHvJObTbx-siA1ZOg&r=P7u4k_NTA-MMBziH70VhanW--FgaLtu5uNHkMS36osY&m=lUulNuw4Y7xr18piRIO2w5nlC0R8JMlaNv6zM0HyfeA&s=AGWcP1vtvKL3TS-k0l8v4eh3wRhV17ThAFPGCAQlxNw&e=
    Etiquette: https://urldefense.proofpoint.com/v2/url?u=https-3A__curl.haxx.se_mail_etiquette.html&d=DwIGaQ&c=jf_iaSHvJObTbx-siA1ZOg&r=P7u4k_NTA-MMBziH70VhanW--FgaLtu5uNHkMS36osY&m=lUulNuw4Y7xr18piRIO2w5nlC0R8JMlaNv6zM0HyfeA&s=aqe5gGRB-3yltvzJMjWbYGoctKCRaJEPIsl60lWB2Pg&e=

-----------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-users
Etiquette: https://curl.haxx.se/mail/etiquette.html

Received on 2020-04-23