From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id cO4OEEXVzWBCtwAAgWs5BA (envelope-from ) for ; Sat, 19 Jun 2021 13:30:13 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id 4BXRC0XVzWApUQAA1q6Kng (envelope-from ) for ; Sat, 19 Jun 2021 11:30:13 +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 BA0F51F574 for ; Sat, 19 Jun 2021 13:30:12 +0200 (CEST) Received: from localhost ([::1]:56616 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1luZAx-0003m2-7V for larch@yhetil.org; Sat, 19 Jun 2021 07:30:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53284) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1luZAp-0003lX-0h for bug-guix@gnu.org; Sat, 19 Jun 2021 07:30:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:47091) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1luZAo-0001rP-PD for bug-guix@gnu.org; Sat, 19 Jun 2021 07:30:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1luZAo-0003B9-Js for bug-guix@gnu.org; Sat, 19 Jun 2021 07:30:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#49114: =?UTF-8?Q?=E2=80=98guix_?= =?UTF-8?Q?lint=E2=80=99?= should catch certificate validation exceptions Resent-From: Tobias Geerinckx-Rice Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 19 Jun 2021 11:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 49114 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 49114@debbugs.gnu.org X-Debbugs-Original-To: Bug Guix Received: via spool by submit@debbugs.gnu.org id=B.162410216812127 (code B ref -1); Sat, 19 Jun 2021 11:30:02 +0000 Received: (at submit) by debbugs.gnu.org; 19 Jun 2021 11:29:28 +0000 Received: from localhost ([127.0.0.1]:58637 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1luZAG-00039X-7I for submit@debbugs.gnu.org; Sat, 19 Jun 2021 07:29:28 -0400 Received: from lists.gnu.org ([209.51.188.17]:44090) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1luZAE-00039P-0P for submit@debbugs.gnu.org; Sat, 19 Jun 2021 07:29:26 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53160) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1luZAB-0003iJ-PV for bug-guix@gnu.org; Sat, 19 Jun 2021 07:29:25 -0400 Received: from tobias.gr ([2a02:c205:2020:6054::1]:57850) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1luZA5-0001RJ-97 for bug-guix@gnu.org; Sat, 19 Jun 2021 07:29:20 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; s=2018; bh=itDk9EfQMk18C acu4FIGJeM8bhmXGWqbxCuQruG+79c=; h=date:subject:to:from; d=tobias.gr; b=pfxmMBT169W5dWrdb+1Pnl2xcq4GWOT3R7CgtXiWDJEy6isd9OLYR64/YjkC113x2P5e XgoM96iPefARr4hzajqqu8B9FH5ouIlhcoFrxWPEFoPur/ttKYRzD62sxVYlOCjGiGygwK EfvGuJ6QKY84fLFkKFKcdLttmUHhLkEX9K/5CAYRwsG7DikLBckFBFJFDr0Gt4bq2qOo8A NjzLhb93Sh/HZWS+MnlVPzSwe245oTVfDQbYYbSERdciYh19F3xyrYzyDRUxFI4wM7polm 7t3jQ1etOzq3w4DBdkw1HFhrMHdSaZMW49Ov0bnsS4ooJeOTKJ7KRLujTUIYABRA== Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id 5ef9c3b0 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO) for ; Sat, 19 Jun 2021 11:29:12 +0000 (UTC) BIMI-Selector: v=BIMI1; s=default; Date: Sat, 19 Jun 2021 13:29:48 +0200 Message-ID: <87eecy3xeb.fsf@nckx> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: pass client-ip=2a02:c205:2020:6054::1; envelope-from=me@tobias.gr; helo=tobias.gr X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" Reply-to: Tobias Geerinckx-Rice From: Tobias Geerinckx-Rice via Bug reports for GNU Guix X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1624102212; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post:dkim-signature; bh=itDk9EfQMk18Cacu4FIGJeM8bhmXGWqbxCuQruG+79c=; b=ktS+fNwaNybKBsbZLaN/IuttOONWh7mm+CKNl47Jqu6M7oBvdNpogQDM+se1DBpTOIPmJd VGmtxNV3y7PXfGFMQ3ZCZKcif/NRmn7e1sGA1fGRE970hWGX5ccYQshxjBf0nN/B6eMQ3r WeaZXMaVz2JBxrEuxhXCczNOBhDqjAN7Mx4avcVfMZ2eRfPnCjx8F3kKCrrwL0nznJr5aI TUqWNEPfLax2ZxS1zOqQGCy+nIgmMXHclhM39vGo6ztwwrJuzUBFrho9VGRuiX50J/hgY5 y44dnHa04G+LoDuYYy/XVeqiANsRB33mHBPUWq+GW6apjPG93zOAecpqjM34tQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1624102212; a=rsa-sha256; cv=none; b=tf/9Q/OqdOtcggq1tC6oS411G83gCXk7Sid5lKxsdch6xldkcWpXGjMxvoyOh6Wj8raQFG rn6olUcCXFcoOiERY4NAw/dMFznHxLGNbniMMge0Hr9O2D2zFly+F5kVOGen0JG9KV8Zj6 dwCQp+8k7zoCd9hOrcBVh8eTvr2O74litMM3DTM9caWawAwLqC6+HDaO7rlVekg6oigGSl ujmoe8oCJ8w4h/xTPk77kWq8+IyTOI0sJwuhsyZF6zlEbecGVRJSvduIkCvxz7kRVZqD6L zEOn0mHvExh147BtVLvDGq+93Ddv+KlRkAAN+uD6mj/acFmrC6iJ+6o7NkY3Bg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tobias.gr header.s=2018 header.b=pfxmMBT1; 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: -4.52 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tobias.gr header.s=2018 header.b=pfxmMBT1; 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: BA0F51F574 X-Spam-Score: -4.52 X-Migadu-Scanner: scn1.migadu.com X-TUID: rS7YngM1+9lW --=-=-= Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Guix, The linter should obviously warn about TLS errors but it should=20 not terminate processing. See =E2=80=98guix lint ibndp=E2=80=99 or =E2=80= =98guix lint=20 ttping=E2=80=99, where the hostname and certificate CN/SAN don't match. In any other situation Guix is probably right to throw a scary=20 error and abort, even if hashes are our primary defence, not TLS. Kind regards, T G-R --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIMEARYKACsWIQT12iAyS4c9C3o4dnINsP+IT1VteQUCYM3VLA0cbWVAdG9iaWFz LmdyAAoJEA2w/4hPVW15QD4A/RMEHCY66lQXkQQa1Tb70TWjf+ThETlu2xsWv0qG rP7PAP9rjrkuXweiqje7fiLEEjgDfkZkf0AkG+ptDJEkzrnvBA== =Vwle -----END PGP SIGNATURE----- --=-=-=--