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#74193: 30.0.92; noquery argument ignored when creating a TLS connection Date: Mon, 04 Nov 2024 18:18:06 +0100 Message-ID: <87bjyuor3l.fsf@gmail.com> References: <87cyjc6v8n.fsf@ars3.mail-host-address-is-not-set> <86a5efw6ku.fsf@gnu.org> <87msifneco.fsf@gmail.com> <86zfmfszea.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31703"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 74193@debbugs.gnu.org, arstoffel@gmail.com To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Nov 04 18:20:25 2024 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 1t80kY-00080f-03 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 04 Nov 2024 18:20:22 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t80kH-00022p-M1; Mon, 04 Nov 2024 12:20:06 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t80kF-0001qq-1n for bug-gnu-emacs@gnu.org; Mon, 04 Nov 2024 12:20:03 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1t80kE-0007az-Lb for bug-gnu-emacs@gnu.org; Mon, 04 Nov 2024 12:20:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=Wl3iTGDp0gHm9n3VpcltNS3jcLCTf1VxQ3IT25ZC8UE=; b=ocG0QMAZnNgpyViPUfVd26dug57mZLdB+Ua3kjyuclL3iKlYQvw6ar2YCry/s0Obvpm0D9+qVwUdW3yy5+eiew8Ou8Oyi2nMB6tyGmrf7OSjUKoYcDKgzN6zm9s3nn53Y2NLLkvTEla6Gvs7THASI4RrhlyMNKSPoKBcPi98npMaPxjkIgOJ2OG1Zs9INfdR620ttCW/HdoB11KyrEpLxSUcdy4VGjH92MMm+qn3wnoGSMIhxRMpwv1zTB4CntDRfbVFZ5wl3gDgmC5zAJ5xnsif3GVM23M707chSVDf4dtMP0p/4J7O6ryMMkzJ8eM5Y3HZR7Gg/4yrQTdO2gsN0g==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t80kE-0002B1-EW for bug-gnu-emacs@gnu.org; Mon, 04 Nov 2024 12:20:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Robert Pluim Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 04 Nov 2024 17:20:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74193 X-GNU-PR-Package: emacs Original-Received: via spool by 74193-submit@debbugs.gnu.org id=B74193.17307407588335 (code B ref 74193); Mon, 04 Nov 2024 17:20:02 +0000 Original-Received: (at 74193) by debbugs.gnu.org; 4 Nov 2024 17:19:18 +0000 Original-Received: from localhost ([127.0.0.1]:41230 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t80jS-0002AN-Db for submit@debbugs.gnu.org; Mon, 04 Nov 2024 12:19:18 -0500 Original-Received: from mail-wr1-f46.google.com ([209.85.221.46]:47453) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t80jM-0002AF-Vj for 74193@debbugs.gnu.org; Mon, 04 Nov 2024 12:19:13 -0500 Original-Received: by mail-wr1-f46.google.com with SMTP id ffacd0b85a97d-37d6ff1cbe1so3239389f8f.3 for <74193@debbugs.gnu.org>; Mon, 04 Nov 2024 09:19:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1730740688; x=1731345488; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:from:to:cc:subject:date:message-id :reply-to; bh=Wl3iTGDp0gHm9n3VpcltNS3jcLCTf1VxQ3IT25ZC8UE=; b=LMbrNLi19ZW3tmrgRF4wEGV5uuxfl0Y7VSClixFjR13XeAVGz1HPyHrtOXTCO78zwd knXgGJGl404QAM4Glnq8pMKiS/7MDDLel7KZ/fW8XgY9zzhr6N/9r8V+vJSqjRdH14hH vU0XwGWHe5iosXssczf7xj/qYMux7aEizVerW5doBgyVfV5AMFngSBCq5oYdq7DbqGXo mN7VZDypwK0foZSiEpf1nmhIRfVGBUbuCPwW860HfeKR5dHXyKlzhWzLKRe5FqaM+u4Y x+FoMoaypJdHtGdfXVCkGMHPD+Qyon+/nWy8+hBA8Iblx168f7K4RZepwT3L9UUcsu7Q 41Gw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730740688; x=1731345488; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Wl3iTGDp0gHm9n3VpcltNS3jcLCTf1VxQ3IT25ZC8UE=; b=PHFOKu6D3zU0pFvbKq7J1ib+7jFEA444LymlodAUiYTxUhpxvQ6KSp9+a9HCTaKbkI jHCRi1VcfNZ+bnuVf4tJ3C2NhGyEtMcOO85z4/8De8EeV5sD9ddW/wlrU3B5OmcQwzVj uQYRbdAJ34h0tXR1Mj2l83JoaS8jmI6VrIOa58S8TeQ3jIdmYz2WaJXGASkyL4UYpb02 7HzXKWxsTr+Tw/ZY+MiT2Zd+CaQVxvZal4QX5m6xQPnNKfk0Rwaiu4D27sK2R+hwtw/g LsGMco+Y8QMlpnOS22TuSEY527KsugE0eiJjVWQN9QdMsZlMSqClWJ0GdAzmFII0WVtY 7czg== X-Forwarded-Encrypted: i=1; AJvYcCXhbADT5JxMaOs6JMJwsDvjLfuAGQO4FVZzhUemHxrbeVVTj8FZ1zqmBSHDDqbnjiCistHK/w==@debbugs.gnu.org X-Gm-Message-State: AOJu0YyK5IuYpAhJ5CryHYsz6+mnbLKg/1vJF/orNxMi6yR0ox1F4Tzb 2hCjoLQbU3K2+Ezk/0IcTyYLbAVwZrHksuN4u/PwRIUR+k2furnMgvGCYw== X-Google-Smtp-Source: AGHT+IGDVBtyinaNKhFzgV2GyATdkc4Nw36om7LV2/IXOnE3LFR4PyBtX6ChxFllSR3BSQz4Z0iI3w== X-Received: by 2002:a5d:47a2:0:b0:37d:4ef1:1820 with SMTP id ffacd0b85a97d-381bea1c0bemr13634697f8f.40.1730740687486; Mon, 04 Nov 2024 09:18:07 -0800 (PST) Original-Received: from rltb ([2a01:e0a:3f3:fb51:e0ad:8e3b:a99f:8c4]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4327d5ac002sm159125055e9.5.2024.11.04.09.18.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Nov 2024 09:18:07 -0800 (PST) In-Reply-To: <86zfmfszea.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 04 Nov 2024 19:05:17 +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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:294869 Archived-At: >>>>> On Mon, 04 Nov 2024 19:05:17 +0200, Eli Zaretskii said: >> From: Robert Pluim >> Cc: Augusto Stoffel , 74193@debbugs.gnu.org >> Date: Mon, 04 Nov 2024 17:38:47 +0100 >>=20 Eli> Robert, do you know if GnuTLS, as we use it in Emacs, supports thi= s on Eli> all platforms? With both :nowait and non-:nowait? More generally= , I Eli> wonder why we don't pass all the parameters to open-network-stream? >>=20 >> I don=CA=BCt know if it=CA=BCs supported everywhere, I suspect the i= nteractions >> with :nowait could get interesting. As far as I remember, >> `open-gnutls-stream' is supposed to be a 'simple' wrapper, which is >> why it doesn=CA=BCt support all the keywords. Eli> Yes. But we are going to allow more keywords, it would be good to Eli> test them in at least the more popular configurations. I=CA=BCve re-read the many-headed hydra that is `open-network-stream', and ':noquery' is the only keyword that appears to be missing for `open-gnutls-stream'. The others are only used when opening plain connections or when upgrading plain connections to TLS (which should be avoided if at all possible). I=CA=BCll see if I can find time to test. I have GNU/Linux, macOS, and if really needed, MSWindows (I need to test the ALPN changes in any case). Eli> In any case, the doc string should be fixed to mention :noquery. >>=20 >> Which doc string? `open-gnutls-stream', after this patch? Eli> Yes. OK Robert --=20