GNU bug report logs - #58925
29.0.50; url-open-stream has no option pass tls options per call

Previous Next

Package: emacs;

Reported by: Björn Bidar <bjorn.bidar <at> thaodan.de>

Date: Mon, 31 Oct 2022 11:36:01 UTC

Severity: normal

Tags: wontfix

Found in version 29.0.50

Done: Stefan Kangas <stefankangas <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #19 received at control <at> debbugs.gnu.org (full text, mbox):

From: Stefan Kangas <stefankangas <at> gmail.com>
To: Björn Bidar <bjorn.bidar <at> thaodan.de>
Cc: 58925 <at> debbugs.gnu.org, Robert Pluim <rpluim <at> gmail.com>
Subject: Re: 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
tags 58925 + wontfix
close 58925
thanks

Björn Bidar <bjorn.bidar <at> thaodan.de> writes:

> Robert Pluim <rpluim <at> gmail.com> writes:
>
>>>>>>> On Mon, 31 Oct 2022 13:35:16 +0200, Björn Bidar via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs <at> gnu.org> said:
>>
>>     Björn> While investigating who to use magit with tls client certificates
>>     Björn> I noticed that url-open-stream has no option to pass options to
>>     Björn> network-open-stream on a per connection basis to do thing like e.g.
>>     Björn> request the use of tls client certificates.
>>
>>     Björn> If this was possible the client could be able to call url with something
>>     Björn> like (url-http "https://example.com" 'my-cb gw-options) to pass more
>>     Björn> options to the specific gateway that is used.
>>
>>     Björn> I know it is possible to use network-stream-use-client-certificates
>>     Björn> 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.




This bug report was last modified 2 years and 248 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.