Re: Bug#992692: general: Use https for {deb,security}.debian.org by default

2021-09-13 Thread David Kalnischkies
On Sun, Sep 12, 2021 at 03:10:27AM +, Paul Wise wrote: > On Fri, Sep 10, 2021 at 6:03 PM David Kalnischkies wrote: > > Because this thread started with the idea to switch the default of d-i > > and co to another URI. If you target only apt then you still need > > a solution for d-i and a way to

Re: Bug#992692: general: Use https for {deb,security}.debian.org by default

2021-09-12 Thread Holger Levsen
On Sun, Sep 12, 2021 at 03:10:27AM +, Paul Wise wrote: > ISTR the future of creating new Debian installations is to move from > debootstrap to dpkg/apt. As an interim step, debootstrap could [...] I've switched all my occurances of using debootstrap to mmdebstrap and am a very happy user of it

Re: Bug#992692: general: Use https for {deb,security}.debian.org by default

2021-09-11 Thread Paul Wise
On Fri, Sep 10, 2021 at 6:03 PM David Kalnischkies wrote: > Because this thread started with the idea to switch the default of d-i > and co to another URI. If you target only apt then you still need > a solution for d-i and a way to convert whatever d-i had into what apt > gets in the end (of the

Re: Bug#992692: general: Use https for {deb,security}.debian.org by default

2021-09-10 Thread Michael Stone
On Fri, Sep 10, 2021 at 08:02:42PM +0200, David Kalnischkies wrote: On Fri, Sep 10, 2021 at 11:08:38AM -0400, Michael Stone wrote: On Fri, Sep 10, 2021 at 04:33:42PM +0200, David Kalnischkies wrote: > On Thu, Sep 09, 2021 at 08:53:21AM -0400, Michael Stone wrote: > > The only thing I could see t

Re: Bug#992692: general: Use https for {deb,security}.debian.org by default

2021-09-10 Thread David Kalnischkies
On Fri, Sep 10, 2021 at 11:08:38AM -0400, Michael Stone wrote: > On Fri, Sep 10, 2021 at 04:33:42PM +0200, David Kalnischkies wrote: > > On Thu, Sep 09, 2021 at 08:53:21AM -0400, Michael Stone wrote: > > > The only thing I could see that would be a net gain would be to > > > generalizes > > > sour

Re: Bug#992692: general: Use https for {deb,security}.debian.org by default

2021-09-10 Thread Michael Stone
On Fri, Sep 10, 2021 at 04:33:42PM +0200, David Kalnischkies wrote: On Thu, Sep 09, 2021 at 08:53:21AM -0400, Michael Stone wrote: The only thing I could see that would be a net gain would be to generalizes sources.list more. Instead of having a user select a specific protocol and path, allow th

Re: Bug#992692: general: Use https for {deb,security}.debian.org by default

2021-09-10 Thread David Kalnischkies
On Thu, Sep 09, 2021 at 08:53:21AM -0400, Michael Stone wrote: > The only thing I could see that would be a net gain would be to generalizes > sources.list more. Instead of having a user select a specific protocol and > path, allow the user to just select high-level objects. Make this a new > pseud

Re: Bug#992692: general: Use https for {deb,security}.debian.org by default

2021-09-10 Thread Michael Stone
On Fri, Sep 10, 2021 at 09:33:56AM +0200, Helmut Grohne wrote: Laptops of end-user systems are the target, but also developers. When people gather at a place (conference, hackspace, private meetup, etc.) downloading of .debs should just work quickly by default. Many such sites could easily provid

Re: Bug#992692: general: Use https for {deb,security}.debian.org by default

2021-09-10 Thread Michael Stone
On Fri, Sep 10, 2021 at 12:00:57PM +0200, Timo Röhling wrote: * Michael Stone [2021-09-08 19:25]: I think the issue isn't certificate validation, it's that https proxy requests are made via CONNECT rather than GET. You could theoretically rewrite the proxy mechanism to MITM the CONNECT, but t

Re: Bug#992692: general: Use https for {deb,security}.debian.org by default

2021-09-10 Thread Timo Röhling
* Michael Stone [2021-09-08 19:25]: I think the issue isn't certificate validation, it's that https proxy requests are made via CONNECT rather than GET. You could theoretically rewrite the proxy mechanism to MITM the CONNECT, but that wouldn't be a drop-in replacement. I suppose you could inst

Re: Bug#992692: general: Use https for {deb,security}.debian.org by default

2021-09-10 Thread Eduard Bloch
Hallo, * Michael Stone [Wed, Sep 08 2021, 07:25:26PM]: > On Wed, Sep 08, 2021 at 03:56:14PM +0200, Ansgar wrote: > > On Wed, 2021-09-08 at 15:41 +0200, Helmut Grohne wrote: > > > On Wed, Sep 08, 2021 at 02:01:03PM +0200, Ansgar wrote: > > > > So what do you suggest then? Tech-ctte as with merged-/u

Re: Bug#992692: general: Use https for {deb,security}.debian.org by default

2021-09-10 Thread Helmut Grohne
On Wed, Sep 08, 2021 at 07:12:18PM -0400, Michael Stone wrote: > Why not simply automate setting it at install time using preseed? I'm > honestly not sure who the target audience for auto-apt-proxy is--apparently > someone who has an infrastructure including a proxy, possibly the ability to > set d

Re: Bug#992692: general: Use https for {deb,security}.debian.org by default

2021-09-09 Thread Timo Röhling
* Michael Stone [2021-09-09 09:05]: Because the controversy concerning changing the default is over whether it's reasonable for someone using auto-apt-proxy to have to manage additional configuration settings. Ah, I understand your point now and I agree. It would be an inconvenience, yes, not

Re: Bug#992692: general: Use https for {deb,security}.debian.org by default

2021-09-09 Thread Michael Stone
On Thu, Sep 09, 2021 at 02:54:21PM +0200, Timo Röhling wrote: * Michael Stone [2021-09-09 08:32]: I'm honestly not sure who the target audience for auto-apt-proxy is--apparently someone who has an infrastructure including a proxy, possibly the ability to set dns records, etc., but can't chang

Re: Bug#992692: general: Use https for {deb,security}.debian.org by default

2021-09-09 Thread Timo Röhling
* Michael Stone [2021-09-09 08:32]: I'm honestly not sure who the target audience for auto-apt-proxy is--apparently someone who has an infrastructure including a proxy, possibly the ability to set dns records, etc., but can't change defaults at install time or via some sort of runtime configu

Re: Bug#992692: general: Use https for {deb,security}.debian.org by default

2021-09-09 Thread Michael Stone
On Thu, Sep 09, 2021 at 11:54:44AM +0530, Pirate Praveen wrote: Why can't auto-apt-proxy ask this as a debconf question? I also like auto-apt-proxy but I agree with this, someone needing auto-apt-proxy should be able to change the default as well. I don't really see why adding another debcon

Re: Bug#992692: general: Use https for {deb,security}.debian.org by default

2021-09-09 Thread Michael Stone
On Thu, Sep 09, 2021 at 08:36:28AM +0200, Timo Röhling wrote: * Michael Stone [2021-09-08 19:12]: Why not simply automate setting it at install time using preseed? I'm honestly not sure who the target audience for auto-apt-proxy is--apparently someone who has an infrastructure including a prox

Re: Bug#992692: general: Use https for {deb,security}.debian.org by default

2021-09-08 Thread Timo Röhling
* Michael Stone [2021-09-08 19:12]: Why not simply automate setting it at install time using preseed? I'm honestly not sure who the target audience for auto-apt-proxy is--apparently someone who has an infrastructure including a proxy, possibly the ability to set dns records, etc., but can't ch

Re: Bug#992692: general: Use https for {deb,security}.debian.org by default

2021-09-08 Thread Pirate Praveen
2021, സെപ്റ്റംബർ 9 4:42:18 AM IST, Michael Stone ൽ എഴുതി >On Wed, Sep 08, 2021 at 01:09:13PM +0200, Helmut Grohne wrote: >>Enabling https by default quite simply breaks the simple recipe of >>installing auto-apt-proxy. Would you agree with auto-apt-proxy's >>postinst automatically editing your s

Re: Bug#992692: general: Use https for {deb,security}.debian.org by default

2021-09-08 Thread Timothy M Butterworth
All, I am against automatically setting HTTPS. Their should be an option in the installer to set or unset HTTPS while configuring the mirror! I like a lot of folks am on a metered internet connection with a UTM proxy firewall. I have multiple computers that need patched and only having to download

Re: Bug#992692: general: Use https for {deb,security}.debian.org by default

2021-09-08 Thread Michael Stone
On Wed, Sep 08, 2021 at 03:56:14PM +0200, Ansgar wrote: On Wed, 2021-09-08 at 15:41 +0200, Helmut Grohne wrote: On Wed, Sep 08, 2021 at 02:01:03PM +0200, Ansgar wrote: > So what do you suggest then? Tech-ctte as with merged-/usr? Or a > GR? Or > something else? I propose that the proponents pay

Re: Bug#992692: general: Use https for {deb,security}.debian.org by default

2021-09-08 Thread Michael Stone
On Wed, Sep 08, 2021 at 01:09:13PM +0200, Helmut Grohne wrote: Enabling https by default quite simply breaks the simple recipe of installing auto-apt-proxy. Would you agree with auto-apt-proxy's postinst automatically editing your sources.list to drop the s out of https? The answer repeatedly giv

Re: Bug#992692: general: Use https for {deb,security}.debian.org by default

2021-09-08 Thread Helmut Grohne
On Wed, Sep 08, 2021 at 02:01:03PM +0200, Ansgar wrote: > So what do you suggest then? Tech-ctte as with merged-/usr? Or a GR? Or > something else? I propose that the proponents pay the cost. In this case, it is a bit unclear what that means precisely (which likely is the reason they haven't done

Re: Bug#992692: general: Use https for {deb,security}.debian.org by default

2021-09-08 Thread Tim Woodall
On Wed, 8 Sep 2021, Helmut Grohne wrote: I do see the advantages of using https. I do not see how to not make it happen without breaking relevant use cases. Same with the /usr-merge. I do see the advantages. I've stopped counting the things that broke. Most recent one is the uucp FTBFS. Change h

Re: Bug#992692: general: Use https for {deb,security}.debian.org by default

2021-09-08 Thread Helmut Grohne
On Wed, Sep 08, 2021 at 01:37:37PM +0200, Ansgar wrote: > Maybe we should just find out who is responsible for this decision and > reassign the bug to them. The installer team maintaining d-i and > debootstrap or the mirror team seem reasonable choices? We've already tried that approach on the /u

Re: Bug#992692: general: Use https for {deb,security}.debian.org by default

2021-09-08 Thread Helmut Grohne
Hi, On Thu, Sep 02, 2021 at 10:22:15AM +0900, Hideki Yamane wrote: > Some users want proxy but they can configure their settings. > So just change "default setting for {deb,security}.debian.org" > is not so harmful, IMO. I fear you are putting this upside down. In reality, some sites (not use

Re: Bug#992692: general: Use https for {deb,security}.debian.org by default

2021-09-02 Thread Jeremy Stanley
On 2021-09-02 12:27:34 -0400 (-0400), Roberto C. Sánchez wrote: [...] > In this context, it might make sense to describe using HTTPS as > the transport for APT operations is providing "default > confidentiality". Which, as similarly discussed, it really doesn't do either (because of deterministic

Re: Bug#992692: general: Use https for {deb,security}.debian.org by default

2021-09-02 Thread Roberto C . Sánchez
On Thu, Sep 02, 2021 at 04:08:37PM +, Jeremy Stanley wrote: > On 2021-09-02 10:22:15 +0900 (+0900), Hideki Yamane wrote: > [...] > > Providing "default secure setting" is good message to users. > [...] > > As previously covered, I'd suggest steering clear of referring to > this as adding "def

Re: Bug#992692: general: Use https for {deb,security}.debian.org by default

2021-09-02 Thread Jeremy Stanley
On 2021-09-02 10:22:15 +0900 (+0900), Hideki Yamane wrote: [...] > Providing "default secure setting" is good message to users. [...] As previously covered, I'd suggest steering clear of referring to this as adding "default security." That implies APT wasn't already effectively secure over plain

Re: Bug#992692: general: Use https for {deb,security}.debian.org by default

2021-09-01 Thread Hideki Yamane
Hi, On Wed, 01 Sep 2021 07:46:07 -0700 Russ Allbery wrote: > >> I believe that the discussion has later identified that doing so would > >> break squid-deb-proxy-client and auto-apt-proxy. Given that the > >> security benefits are not strong (beyond embracing good habits), I > >> think the reason

Re: Bug#992692: general: Use https for {deb,security}.debian.org by default

2021-09-01 Thread Russ Allbery
Ansgar writes: > On Wed, 2021-09-01 at 11:15 +0200, Helmut Grohne wrote: >> I believe that the discussion has later identified that doing so would >> break squid-deb-proxy-client and auto-apt-proxy. Given that the >> security benefits are not strong (beyond embracing good habits), I >> think the

Re: Bug#992692: general: Use https for {deb,security}.debian.org by default

2021-09-01 Thread Ansgar
On Wed, 2021-09-01 at 11:15 +0200, Helmut Grohne wrote: > I believe that the discussion has later identified that doing so > would > break squid-deb-proxy-client and auto-apt-proxy. Given that the > security > benefits are not strong (beyond embracing good habits), I think the > reasonable thing to

Processed: Re: Bug#992692: general: Use https for {deb,security}.debian.org by default

2021-09-01 Thread Debian Bug Tracking System
Processing control commands: > tags -1 + moreinfo Bug #992692 [general] general: Use https for {deb,security}.debian.org by default Added tag(s) moreinfo. -- 992692: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=992692 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems

Re: Bug#992692: general: Use https for {deb,security}.debian.org by default

2021-09-01 Thread Helmut Grohne
Control: tags -1 + moreinfo On Sun, Aug 22, 2021 at 09:56:57PM +0900, Hideki Yamane wrote: > As we discussed on -devel(*), it seems that we can enable https for > {deb,security}.debian.org by default. With this bug report, I'll > collect related things and fix it. I believe that the discussion