From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS53758 23.128.96.0/24 X-Spam-Status: No, score=-3.9 required=3.0 tests=AWL,BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI, SPF_HELO_PASS,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by dcvr.yhbt.net (Postfix) with ESMTP id 8237B1F5AE for ; Mon, 3 May 2021 21:23:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229607AbhECVYs (ORCPT ); Mon, 3 May 2021 17:24:48 -0400 Received: from elephants.elehost.com ([216.66.27.132]:14805 "EHLO elephants.elehost.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229497AbhECVYr (ORCPT ); Mon, 3 May 2021 17:24:47 -0400 X-Virus-Scanned: amavisd-new at elehost.com Received: from gnash (cpe00fc8d49d843-cm00fc8d49d840.cpe.net.cable.rogers.com [173.33.197.34]) (authenticated bits=0) by elephants.elehost.com (8.15.2/8.15.2) with ESMTPSA id 143LNfPx021150 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Mon, 3 May 2021 17:23:42 -0400 (EDT) (envelope-from rsbecker@nexbridge.com) From: "Randall S. Becker" To: "'Daniel Stenberg'" Cc: "'Jeff King'" , "'Daniel Carpenter'" , "=?iso-8859-1?Q?'=C6var_Arnfj=F6r=F0_Bjarmason'?=" , References: <8f664b07d1df45bcb6b3f787f42bd046@ammonit.com> <87pmy7x6le.fsf@evledraar.gmail.com> <000c01d7405f$823fd090$86bf71b0$@nexbridge.com> In-Reply-To: Subject: RE: http.sslVersion only specifies minimum TLS version, later versions are allowed Date: Mon, 3 May 2021 17:23:33 -0400 Message-ID: <000d01d74062$95cf6a50$c16e3ef0$@nexbridge.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 16.0 Content-Language: en-ca Thread-Index: AQKPGlYstJZ8C8cfxIQEUsjO/sA2RwDtbvgMAogttL0B5xbjXgDjS/DiAVlmsj8BH0oORKkcyj5w Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org On May 3, 2021 5:10 PM, Daniel Stenberg wrote: >Subject: RE: http.sslVersion only specifies minimum TLS version, later versions >are allowed > >On Mon, 3 May 2021, Randall S. Becker wrote: > >> What if http.sslVersion=v1[,v2]... were supported, so there would be >> an enumeration of allowed versions. > >That doesn't map very well to the options libcurl provide. > >> The benefit of an enumeration is that you could force something like >> 3.0-fips if your environment requires a FIPS-certified version for >> communication. Admittedly this is a different use case than discussed above. > >Yes, and as "3.0-fips" is not a TLS version at all I think it would complicate >matters in a wrong direction. > >You can build libcurl to use use a FIPS compatible crypto library today, but if you >do then you still select TLS version using the same options like before. Sadly, curl_version_info_data.ssl_version does not provide this level of detail. Maybe it should, but I'm not about to go there. Regards, Randall