From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id iJ78IjLc62J8fAAAbAwnHQ (envelope-from ) for ; Thu, 04 Aug 2022 16:48:18 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id +JPYIjLc62J3KAEAauVa8A (envelope-from ) for ; Thu, 04 Aug 2022 16:48:18 +0200 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 495621354 for ; Thu, 4 Aug 2022 16:48:18 +0200 (CEST) Received: from localhost ([::1]:49370 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oJc8y-0007rJ-UE for larch@yhetil.org; Thu, 04 Aug 2022 10:48:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45198) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oJc8o-0007ms-Fc for bug-guix@gnu.org; Thu, 04 Aug 2022 10:48:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:36327) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oJc8o-0001Ji-6L for bug-guix@gnu.org; Thu, 04 Aug 2022 10:48:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oJc8o-0004K9-35 for bug-guix@gnu.org; Thu, 04 Aug 2022 10:48:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#56005: [bug#56867] [PATCH] download: Do not wrap TLS port on GnuTLS >= 3.7.7. Resent-From: Thiago Jung Bauermann Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 04 Aug 2022 14:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56005 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 56005@debbugs.gnu.org, 56867@debbugs.gnu.org, guile-devel@gnu.org Received: via spool by 56005-submit@debbugs.gnu.org id=B56005.165962442416451 (code B ref 56005); Thu, 04 Aug 2022 14:48:02 +0000 Received: (at 56005) by debbugs.gnu.org; 4 Aug 2022 14:47:04 +0000 Received: from localhost ([127.0.0.1]:54307 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oJc7s-0004HF-2j for submit@debbugs.gnu.org; Thu, 04 Aug 2022 10:47:04 -0400 Received: from mx.kolabnow.com ([212.103.80.155]:43026) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oJc7n-0004Gg-Dj; Thu, 04 Aug 2022 10:47:03 -0400 Received: from localhost (unknown [127.0.0.1]) by mx.kolabnow.com (Postfix) with ESMTP id A4EE4113F; Thu, 4 Aug 2022 16:46:53 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kolabnow.com; h= content-transfer-encoding:content-type:content-type:mime-version :message-id:date:date:in-reply-to:subject:subject:from:from :references:received:received:received; s=dkim20160331; t= 1659624413; x=1661438814; bh=EC4BgR3lwgUGxyeP8hTpn2p3G9+cSMQufcD Mf5MNVlg=; b=baw3HWdxPu8J5rqXYEaLiye2QXSCjOXiuCS1qhCyHYGnsm4Z254 1UWVAPpAS4vYgJrXPRAr4bxZWzo9z8+qtwCEUgwQyKDphgGmgvMwwd7WpDEc5hEQ ax1KaLQQNmh9eIuA0HrOaWhV9tCKtkpkMFckbPqZPhWyvdvcGrfmKFfuIyU4FYNm KPuDmbOAodMPWgB3Yl9Vg1beZTcz4xCIqnZfllt9TDzpk3SscfvGnfkTCf11zGkK mOfb8dDeI4WfaTK16H5MjtGbK5d2WIbfWyzP+8FhJlcsXMqm0MuKORDYmT7e+kKO hLOm7/LNYzh8rhocQR0q57SBBAGc01GTBBR1z11Lyp31qgg2htad/Z0jIgSq3ZV1 HdGtU86hPCfJGA3/iGeDe82K5F+C8XeqIZHOfprCO9P8pyTX5sEwDmmZA1tkwmbc J0etjNqdHhLd7Z1sDRftWp6ntE8okU+tHVgcx7FCWFjypqsp9cseKSMNwaOXZFd3 K/Q6xwGpHeMUWS7SJURLwneIQ6H5YBsTaBXxGdY8OtFJ2Cwxb8Nq0QYAZfiVn/n0 F1i+Qqjz1lxI4BJqjKlj5ifesOqcAL+DsbpTfDkQBfT1VVRuRqYJ6DfJ09eleYPX WOTtiMvcwaQiaNuIPGHMEIOyfFJH5sL+uFlhcDocueAx/FhQsYpchTsc= X-Virus-Scanned: amavisd-new at mykolab.com Received: from mx.kolabnow.com ([127.0.0.1]) by localhost (ext-mx-out002.mykolab.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id G9b8L7OQkdJv; Thu, 4 Aug 2022 16:46:53 +0200 (CEST) Received: from int-mx003.mykolab.com (unknown [10.9.13.3]) by mx.kolabnow.com (Postfix) with ESMTPS id 765DD49E; Thu, 4 Aug 2022 16:46:52 +0200 (CEST) Received: from ext-subm002.mykolab.com (unknown [10.9.6.2]) by int-mx003.mykolab.com (Postfix) with ESMTPS id 31AFD33FF; Thu, 4 Aug 2022 16:46:52 +0200 (CEST) References: <20220801090749.11655-1-ludo@gnu.org> <87pmhgks4j.fsf@gnu.org> In-reply-to: <87pmhgks4j.fsf@gnu.org> Date: Thu, 04 Aug 2022 11:46:47 -0300 Message-ID: <87v8r86p7s.fsf@kolabnow.com> 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: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" Reply-to: Thiago Jung Bauermann From: Thiago Jung Bauermann via Bug reports for GNU Guix X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1659624498; h=from:from:sender:sender:reply-to: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:dkim-signature; bh=EC4BgR3lwgUGxyeP8hTpn2p3G9+cSMQufcDMf5MNVlg=; b=BBIfK5N9fEPPauQ/L8yu6UsfrYvKqd0a0F36ci3gAaGMH4R4MxAqXzbwc2aaEU2j+SiLqy 3BLGkrv++jU3g/nPvMGhMaDgqGjk2czr+r2IOxpD4mVXlWZyNJH6NtsgNRCKv3vbBJFsPj dkbEseO59u858KxdJbh9/Xvv+dAJlsbm/v7l22XlBU60Lnw82oviIIfzvyRChb/Lh7KSSl DdZ4jAPs8Rt5O3b74/eakFhsySF+ydGuI+zKBoX8g6lBknwcbbejdxfR1oqjsuUEGy+2B9 Hh+OWt9IMWXtyd570QaqtHzq8e2fHX4/HwCyiZdOJ28A6rD3mlnvckf9PjTFBg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1659624498; a=rsa-sha256; cv=none; b=p63FgjKTRgjV67XlPzpj2iXXJtgliVv3+R298eBWD4K2IzDOxT5fqZ+Sz7F3h0p5gixUXz u/UoLySaMDJwzjTg2qXrcDykL8/za4J4JvG2vrOD5bQ6vRS5DkDAYfXBSeTwOGp87N2jmC ma2T/DgJVTUK/fyVW/BbiqTF4L34RHkZwYeKJNOEF51lefeNLUAv06LvVIaAab/DdhwCrV yjsorty+naOXOawNFUPrfjjjl6yrLUXkKqKIWpqYYUi4/RWPqk9nmMDHp/L9Jx1akdW+9F opFDUDZMLhqFwHCFyKAflYyO6OSy9xjbgRs+TMuQ4A7FJk+cKd9g/uNwm72xBQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=kolabnow.com header.s=dkim20160331 header.b=baw3HWdx; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.41 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=kolabnow.com header.s=dkim20160331 header.b=baw3HWdx; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 495621354 X-Spam-Score: -3.41 X-Migadu-Scanner: scn1.migadu.com X-TUID: nxwc/qj0HZat Hello Ludo, I don't have any comment/insight on what you're doing in general, except about one of your points below: Ludovic Court=C3=A8s writes: > First, I noticed that GnuTLS doesn=E2=80=99t implement =E2=80=98write_wai= t_fd=E2=80=99, only > =E2=80=98read_wait_fd=E2=80=99 (not sure how problematic that is): > > scheme@(guile-user)> ,use(web client) > scheme@(guile-user)> (define p (open-socket-for-uri "https://guix.gnu.org= ")) > scheme@(guile-user)> ((@@ (ice-9 suspendable-ports) wait-for-writable) p) > ice-9/boot-9.scm:1685:16: In procedure raise-exception: > In procedure write_wait_fd: unimplemented > > Entering a new prompt. Type `,bt' for a backtrace or `,q' to continue. > scheme@(guile-user) [1]> ,q > scheme@(guile-user)> ,use(gnutls) > scheme@(guile-user)> (gnutls-version) > $1 =3D "3.7.7" > scheme@(guile-user)> ((@@ (ice-9 suspendable-ports) wait-for-readable) p) > $2 =3D 1 This occasionally causes problems when fetching substitutes, as can be seen in bug #56005 (during substitution: write_wait_fd: unimplemented). --=20 Thanks Thiago