#994032 switch from https to http transport for certain proxies

Package:
apt
Source:
apt
Description:
commandline package manager
Submitter:
Eduard Bloch
Date:
2021-09-10 11:39:02 UTC
Severity:
wishlist
Tags:
#994032#5
Date:
2021-09-10 09:12:04 UTC
From:
To:
Hi,

as of now, there are certain HTTPS protocol schemes used in apt in
conjunction with proxies.
a) for http, the requests are used with GET and plain URL over http transport
b) for https, CONNECT establishes a tunnel and then plain http over TLS
stream is used

What we don't have is option c) the user might trust his proxy and
want requests to be made in plain text (GET) but with https:// schema,
and the proxy gets the responsibility for HTTPS communication and
delivery of the content as plain HTTP response.

This should be configurable through some options. Some idea from mstone
and me in the recent debian-devel thread about #992692:

I would make it a list of trusted hosts and a special value ALL.

Best regards,
Eduard.

#994032#10
Date:
2021-09-10 11:36:48 UTC
From:
To:
Control: tag -1 wontfix

This is a NAK from my side. https sources should always be accessed
over https, anything else is a potential security issue (you might
forget you have that setting).

This issue is better addresses by having the proxy transparently
reencrypt the HTTPS connections, and users configuring the
certificate(s) the proxy uses for MitM as trusted. This allows
more control, and substantially reduces the risk for mistakes.