From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id zpKxEbOyz2Ag8AAAgWs5BA (envelope-from ) for ; Sun, 20 Jun 2021 23:27:15 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id oEq9DLOyz2BlbAAAbx9fmQ (envelope-from ) for ; Sun, 20 Jun 2021 21:27:15 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 8DD761596D for ; Sun, 20 Jun 2021 23:27:14 +0200 (CEST) Received: from localhost ([::1]:60690 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lv4yG-0001p3-Bq for larch@yhetil.org; Sun, 20 Jun 2021 17:27:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38686) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lv4y6-0001od-3G for bug-guix@gnu.org; Sun, 20 Jun 2021 17:27:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:51637) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lv4y5-0004Wc-Rs for bug-guix@gnu.org; Sun, 20 Jun 2021 17:27:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lv4y5-0007i5-Pm for bug-guix@gnu.org; Sun, 20 Jun 2021 17:27:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#49035: [gnutls-help] TLS downgrade at bitbucket.org Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 20 Jun 2021 21:27:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49035 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Daiki Ueno Received: via spool by 49035-submit@debbugs.gnu.org id=B49035.162422438729594 (code B ref 49035); Sun, 20 Jun 2021 21:27:01 +0000 Received: (at 49035) by debbugs.gnu.org; 20 Jun 2021 21:26:27 +0000 Received: from localhost ([127.0.0.1]:34950 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lv4xX-0007hG-JS for submit@debbugs.gnu.org; Sun, 20 Jun 2021 17:26:27 -0400 Received: from eggs.gnu.org ([209.51.188.92]:40800) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lv4xS-0007h0-DJ for 49035@debbugs.gnu.org; Sun, 20 Jun 2021 17:26:26 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:50430) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lv4xL-0003xk-48; Sun, 20 Jun 2021 17:26:15 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=41758 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lv4xK-00011u-SQ; Sun, 20 Jun 2021 17:26:15 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <871r93v665.fsf@inria.fr> <87pmwns3of.fsf@gnu.org> <87eed2re43.fsf_-_@gnu.org> <87tultyjcl.fsf-ueno@gnu.org> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 2 Messidor an 229 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Sun, 20 Jun 2021 23:26:13 +0200 In-Reply-To: <87tultyjcl.fsf-ueno@gnu.org> (Daiki Ueno's message of "Sat, 19 Jun 2021 17:17:30 +0200") Message-ID: <87wnqo6xe2.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 49035@debbugs.gnu.org, Emmanuel Agullo , gnutls-help@lists.gnutls.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1624224434; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=ZyKmCnnOuD7fgWkPd/5hrAKTVTLoc6DWE5fB5C7hcc0=; b=samjqZr6svBcIn0L+PzBJPLC1pEH75aHHrX6uGr9ng4vJnqQGqokPqH0ZnpLmwvnPIblhv diY1N/2wONzXxyEc8PTxzvRGi7M3Fiak7wHi6ooTYqWdTNZjOQNsDXQAjehaH3D1WHXa8Q g9tGOgh8+PK1phClNxK5liadAOE6aN5EpmxAuuGVZMhCyEG+uO6k+sL9ekYDOQ4jfxBhXP W9Z/0dD5Ozqja84fv+gusNlIGbshIA31FkD2CtDKPz3txGYl2dGHJHYxGBKnQ0I6dfmeJj 0IJtFYBKGitzsdCMR8Rh3gR/xSsu8uyMhkGT6QzD4gDsCh7oKX63ZZ0WuXKvCA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1624224434; a=rsa-sha256; cv=none; b=bwSTnFx6+L3jixnJV+ZK0PKD5936lauY+nxaDPEMtegE6BrceTSNnlBcPkY7sPmiPCT2Tn Wqqm5kWsu+J8HB1Vhdi3qhp+f3czxy5DhiUNtyBrewcWj7U3VshElJlz+dTfvizVc6gA7g w4nZvQufbUzWDhYBiS5+rh/9BtQ8AA0umwmQh10IhjU1ENKQjppwoVgnixvvWjxuSUEB9H cz4Fa8u5u1aig393MtAmuht/LXdcVj1HuLN+ZfA0FOLB6u9ZXoQz6dqnjvl5QKRhfGceuN SmgyVauJUieGpIPiZ1fL4MHUPc90pCat7C4bkmB5zsv2CYpqY/FN/BfwOfNzIg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Spam-Score: -2.93 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: 8DD761596D X-Spam-Score: -2.93 X-Migadu-Scanner: scn1.migadu.com X-TUID: LSWAZctUxdt3 Hi Daiki, Daiki Ueno skribis: > Ludovic Court=C3=A8s writes: > >> $ gnutls-cli --priority=3D"NORMAL:-ARCFOUR-128:-CTYPE-ALL:+CTYPE-X509:-V= ERS-SSL3.0:-VERS-TLS-ALL:+VERS-TLS1.0:+VERS-TLS1.1:+VERS-TLS1.2:+VERS-TLS1.= 3" -p https bitbucket.org [...] >> Aren=E2=80=99t these two priority strings supposed to be equivalent toda= y? > > No. If -VERS-TLS-ALL is used, the default priorities on TLS versions in > NORMAL are ignored; the user is responsible for building the priority > string so it reflects the actual preference, which in this case is: > > -VERS-TLS-ALL:+VERS-TLS1.3:+VERS-TLS1.2:+VERS-TLS1.1:+VERS-TLS1.0 Thanks for the explanations. As you suggest, the mistake was that cURL 7.77.0 would pass the priority string in the =E2=80=9Cwrong order=E2=80=9D,= preferring older TLS versions. This is now fixed: https://github.com/curl/curl/issues/7277 Ludo=E2=80=99.