[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#58925: 29.0.50; url-open-stream has no option pass tls options per c
From: |
Robert Pluim |
Subject: |
bug#58925: 29.0.50; url-open-stream has no option pass tls options per call |
Date: |
Mon, 31 Oct 2022 15:37:51 +0100 |
>>>>> 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@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?
Robert
--