From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.bugs Subject: bug#48103: 28.0.50; tls connection failing on invoking package-list-packages (and other operations) Date: Wed, 05 May 2021 14:55:16 +0200 Message-ID: <87bl9p8hmz.fsf@gmail.com> References: <87mtth87yw.fsf@tammy.lan.sha-bang.de> <87eeepk233.fsf@gnus.org> <87o8ds9lcf.fsf@tammy.lan.sha-bang.de> <87pmy6an42.fsf@gnus.org> <874kfiljya.fsf@tammy.lan.sha-bang.de> <87mtt97d0k.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36853"; mail-complaints-to="usenet@ciao.gmane.io" Cc: wilde@sha-bang.de, 48103@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed May 05 14:56:40 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1leH4w-0009SF-PT for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 05 May 2021 14:56:38 +0200 Original-Received: from localhost ([::1]:54326 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1leH4v-0000co-Se for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 05 May 2021 08:56:37 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46370) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1leH4M-0000Vz-57 for bug-gnu-emacs@gnu.org; Wed, 05 May 2021 08:56:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:48444) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1leH4L-0002gJ-SK for bug-gnu-emacs@gnu.org; Wed, 05 May 2021 08:56:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1leH4L-00034S-Qg for bug-gnu-emacs@gnu.org; Wed, 05 May 2021 08:56:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Robert Pluim Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 05 May 2021 12:56:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48103 X-GNU-PR-Package: emacs Original-Received: via spool by 48103-submit@debbugs.gnu.org id=B48103.162021932811791 (code B ref 48103); Wed, 05 May 2021 12:56:01 +0000 Original-Received: (at 48103) by debbugs.gnu.org; 5 May 2021 12:55:28 +0000 Original-Received: from localhost ([127.0.0.1]:59987 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1leH3n-000347-Ke for submit@debbugs.gnu.org; Wed, 05 May 2021 08:55:27 -0400 Original-Received: from mail-wr1-f49.google.com ([209.85.221.49]:38689) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1leH3k-000340-Q8 for 48103@debbugs.gnu.org; Wed, 05 May 2021 08:55:25 -0400 Original-Received: by mail-wr1-f49.google.com with SMTP id l14so1722674wrx.5 for <48103@debbugs.gnu.org>; Wed, 05 May 2021 05:55:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :mime-version; bh=WtuDWBj3fPh1uTf2TLNutw6GTUbCBNnV58a5AIgrKTc=; b=DlvmLu5zqVo812yO/YJwSux9A70dbtLcNi6OaQv2Zs4gJqDL8uRiQROlzX+n10ZgQI 4SXX0Gv8aaujeevUOxSWHQBwhta468Jwd6izN/FrNsv4/0uqotK1KDcdhENBt3wrXCdJ TKlkGMt+8TydGH5/tvY4aEUXB0+9mSoJwwpkE/OH3pw0gNTzBilR0XDi4c6veTCMsUiK 4FHgVJLn1F+WdoUSjSHD9uUIwUCV+YLKmPW9ZnMGi+VL/rcHKSE5MKJTc2iUrkwE8rKA RHZrur5QHgJr3loj3bE8jrAwKXJoIPKNED/0ewk5pyiVG7nOXDE2UaGlJg2Fy8Ti8y+u 0qXw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:mime-version; bh=WtuDWBj3fPh1uTf2TLNutw6GTUbCBNnV58a5AIgrKTc=; b=Kh9GyJlCbrSmNhSdGMeiScMZ37L0AB3aZRQl4HDZApAtFB3IxhaceKiyT8oPlTgWDA r4Nd1oR9lju7r4IEX1ACCHlYkxLTzZWklzyGmN7P9MNHaMDR5p3j7WLUVcuJJZ5z++f1 Fu778MpqP3AHB4a0066VpuQ0ivFrBi26b3dX2TE67UTddSH28BXKoKQUl+QzLRlWgTMf 53KmBy/vry6FRnGoVeu1Ry8nljpMvk+0Tpgl83XQqo1cFUauHQr/uCXy6EoFqO+s3P4G 66HRIMEcG7hjH+iIvhWfpJNTlYLINiaeYx/seTE59cH5qg6i4k7xAHR177MQJOqSufvN BePQ== X-Gm-Message-State: AOAM5317NTrcyoGyXAYCT7sHzbZU1AY52so+hsEaOOg1GrSAz3nN5r+M z5RIfOLsZHWVPj3TAGRldefSOZSYryg= X-Google-Smtp-Source: ABdhPJzJQEFBV5g3wiIfNaFb4qTvlH59N/Aa0B2eTFP+81aKVMGSMiN/9vxXzBFvkaWdI1u25tP8Jw== X-Received: by 2002:adf:a119:: with SMTP id o25mr38685030wro.61.1620219318427; Wed, 05 May 2021 05:55:18 -0700 (PDT) Original-Received: from rltb ([82.66.8.55]) by smtp.gmail.com with ESMTPSA id y21sm5740667wmi.15.2021.05.05.05.55.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 May 2021 05:55:17 -0700 (PDT) In-Reply-To: <87mtt97d0k.fsf@gnus.org> (Lars Ingebrigtsen's message of "Wed, 05 May 2021 11:20:27 +0200") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:205689 Archived-At: >>>>> On Wed, 05 May 2021 11:20:27 +0200, Lars Ingebrigtsen said: Lars> wilde@sha-bang.de writes: >>> Perhaps the version of gnutls on NetBSD doesn't support TLS 1.3? >> >> On my NetBSD system: >> >> % gnutls-cli -l | grep -i tls1.3 >> TLS_AES_128_GCM_SHA256 0x13, 0x01 TLS1.3 >> TLS_AES_256_GCM_SHA384 0x13, 0x02 TLS1.3 >> TLS_CHACHA20_POLY1305_SHA256 0x13, 0x03 TLS1.3 >> TLS_AES_128_CCM_SHA256 0x13, 0x04 TLS1.3 >> TLS_AES_128_CCM_8_SHA256 0x13, 0x05 TLS1.3 >> Protocols: VERS-TLS1.0, VERS-TLS1.1, VERS-TLS1.2, VERS-TLS1.3, VERS-DTLS0.9, >> VERS-DTLS1.0, VERS-DTLS1.2 >> >> This output is identical to the output I get on my GNU/Linux system >> where the system does not exist. So I'd assume the TLS 1.3 support does >> not differ... Lars> Doesn't sound like it, no, so I'm guessing there's something Lars> timing-related and a problem with retries. Unfortunately, I'm not able Lars> to build Emacs at all under Netbsd 9.0 (which is the version I have Lars> here), so I'll have to install a new VM with 9.1 to do some testing. Lars> That might take a while, though, so if somebody else can poke at this, Lars> that'd be nice. :-) I had a quick look at what gnutls-cli does differently, and it sets a timeout on the handshake, but that then requires you to supply a timeout callback, which ends up calling select. gnutls-cli sets a timeout of 40 seconds, but I guess we could set something shorter, but then I worry about the effect of calling select from outside wait_reading_process_output. Robert --