From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#58925: 29.0.50; url-open-stream has no option pass tls options per call Date: Sat, 12 Nov 2022 12:34:26 -0800 Message-ID: References: <87pme8b4zv.fsf@thaodan.de> <875yg0oy80.fsf@gmail.com> <877d0f3pzd.fsf@thaodan.de> 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="926"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 58925@debbugs.gnu.org, Robert Pluim To: =?UTF-8?Q?Bj=C3=B6rn?= Bidar Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Nov 12 21:36:10 2022 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 1otxEX-000Abs-W6 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 12 Nov 2022 21:36:10 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1otxDx-0001Ts-Ix; Sat, 12 Nov 2022 15:35:33 -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 1otxDZ-0001AK-8f for bug-gnu-emacs@gnu.org; Sat, 12 Nov 2022 15:35:09 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1otxDS-00007q-D2 for bug-gnu-emacs@gnu.org; Sat, 12 Nov 2022 15:35:08 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1otxDS-0004oy-8w for bug-gnu-emacs@gnu.org; Sat, 12 Nov 2022 15:35:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 12 Nov 2022 20:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58925 X-GNU-PR-Package: emacs Original-Received: via spool by 58925-submit@debbugs.gnu.org id=B58925.166828527218434 (code B ref 58925); Sat, 12 Nov 2022 20:35:02 +0000 Original-Received: (at 58925) by debbugs.gnu.org; 12 Nov 2022 20:34:32 +0000 Original-Received: from localhost ([127.0.0.1]:49166 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1otxCy-0004nG-Gz for submit@debbugs.gnu.org; Sat, 12 Nov 2022 15:34:32 -0500 Original-Received: from mail-oa1-f44.google.com ([209.85.160.44]:37537) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1otxCs-0004jT-Q7 for 58925@debbugs.gnu.org; Sat, 12 Nov 2022 15:34:27 -0500 Original-Received: by mail-oa1-f44.google.com with SMTP id 586e51a60fabf-12c8312131fso8805154fac.4 for <58925@debbugs.gnu.org>; Sat, 12 Nov 2022 12:34:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:cc:to:subject:message-id:date :mime-version:references:in-reply-to:from:from:to:cc:subject:date :message-id:reply-to; bh=/CNBjCuHxrP6sS1DhHGjJZ7WkKXt+XshD3MkLf0/RwU=; b=Tkm0AFXLMIBWCZx8LwT22kVllX91FZbbpjOxOgnCkt8wYyRIKyvFoeGwu9OHDCPxO6 8xyx4sG12fyI/ln3MLhfB7dePxKVY6Q3fN105LHTuszmbd9R6cPO/Xzu3FQnj0UIngMq nmpgqm99U0FjQl8DuR7r8clmSXMsz9oDXsDg7Wa786Gxmua0lwqQCupx/CN4RcvRQdo5 HI22BfW8EEx4EC61ietiK0p/qeuKgLNaSXmNxMnAGN4vUel5I6gmSBT37Zr2sXUTYffZ /eAKPy5Slz5teUHuj7g0WHri0Ih92NCsZS4cuW3JQWC/U+p7qV8fbDImLQ/ilerDgudK Ch5w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:cc:to:subject:message-id:date :mime-version:references:in-reply-to:from:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=/CNBjCuHxrP6sS1DhHGjJZ7WkKXt+XshD3MkLf0/RwU=; b=BC9vE/9+aZPSUY16cVY1DKyCyhDXf/rQOd7ZDexmM0vDKSkTfNWnDK6PUPVsVjDLv7 GK+CMX7Z1b91GvuM/9x7jQSPnb2iaAjLU3f10nSe2Z6XQUb5gyDv1xdyOTTWLjGprO3t lMEqxhYKtJaPfrOQ6L4uwbYFfUZaS2UbCSUTHnNN4nke49dfnrvJQ4nhfGuL3L8bCanJ EwlaL+tfVaWl5TxiNwXF9kx5NsElHcILS7yXooMmpPshkwO3NVjblASfdry49b/NQhsX IoPxk/WjIkERhYXF4ZNKg5sxN+nG3kzOjvgqR2Cp58wAKpkSs3uTnnMeLKKEZZCI9IyP N3mw== X-Gm-Message-State: ANoB5pnkmxdl9mC+WzXPniGH/dkllek3vcM7RM8/fhiaeWHeWxd2r5EC bmp3Mf8XfULRSFgHjFDK8ioDkMFro3SrH7rJHWph1HO3 X-Google-Smtp-Source: AA0mqf5rpYjIcWBzRvxemMd9hH9wAHpeSHZWW/S0iohOItUrz1FTgnkSam7ytzvO7QXmpk2L1BXLk0P6r9MeyWJMY4g= X-Received: by 2002:a05:6870:6c15:b0:13b:8a07:2a1f with SMTP id na21-20020a0568706c1500b0013b8a072a1fmr3965658oab.199.1668285266589; Sat, 12 Nov 2022 12:34:26 -0800 (PST) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Sat, 12 Nov 2022 12:34:26 -0800 In-Reply-To: <877d0f3pzd.fsf@thaodan.de> ("=?UTF-8?Q?Bj=C3=B6rn?= Bidar"'s message of "Tue, 01 Nov 2022 12:53:42 +0200") X-Hashcash: 1:20:221112:rpluim@gmail.com::u00i6HOl+OgIJClZ:G9Oj 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:247697 Archived-At: tags 58925 + wontfix close 58925 thanks Bj=C3=B6rn Bidar writes: > Robert Pluim writes: > >>>>>>> On Mon, 31 Oct 2022 13:35:16 +0200, Bj=C3=B6rn Bidar via "Bug repor= ts for GNU Emacs, the Swiss army knife of text editors" said: >> >> Bj=C3=B6rn> While investigating who to use magit with tls client cer= tificates >> Bj=C3=B6rn> I noticed that url-open-stream has no option to pass opt= ions to >> Bj=C3=B6rn> network-open-stream on a per connection basis to do thin= g like e.g. >> Bj=C3=B6rn> request the use of tls client certificates. >> >> Bj=C3=B6rn> If this was possible the client could be able to call ur= l with something >> Bj=C3=B6rn> like (url-http "https://example.com" 'my-cb gw-options) = to pass more >> Bj=C3=B6rn> options to the specific gateway that is used. >> >> Bj=C3=B6rn> I know it is possible to use network-stream-use-client-c= ertificates >> Bj=C3=B6rn> however that might be not always as elegant to use. >> >> Elegance is in the eye of the beholder :-) >> `network-stream-use-client-certificates' lets you configure which >> client certificate is used for a host via auth-source. What other >> options did you have in mind? > > As I said the option to pass options to the gw by something like a list > witn gw-options as an optional argument. > > I don't think that would break existing usecases however I agree with > Stefan Kangas point of view. Thanks, no further comments within a week, so I'm closing this bug report.