News for hackers. Stuff that matters.
Re:Why does APT not use HTTPS? by Carpetsmoker on Monday January 21, 2019 @05:15AM (#18959242)
Genuine question: what are you doing with APT that requires privacy?
Re:Why does APT not use HTTPS? by dangerface on Monday January 21, 2019 @05:28AM (#18959312)
In the past cryptographic export was illegal in the us and many other countries, it can still get you put on a list.

In some countries messaging apps like signal and telegram are illegal.

There is no telling what seemingly benign software will be made illegal in the future for political reasons.

Privacy is always a requirement because of these reasons.

Re:Why does APT not use HTTPS? by AstralStorm on Monday January 21, 2019 @07:55AM (#18960041)
Size fingerprinting defeats such "privacy". If you need this, use Tor instead.
Re:Why does APT not use HTTPS? by seqastian on Monday January 21, 2019 @08:05AM (#18960094)
Cause pushing the barrier of how easy it is to detect is a bad thing.
Re:Why does APT not use HTTPS? by zaphar on Monday January 21, 2019 @08:30AM (#18960235)
This is very asymmetric though. The cost for an attacker is very low. The cost for Debian and it's mirror network is very high.

Given that the cost of implementation is high and the protection is minimal the decision to not do so is reasonable.

Re:Why does APT not use HTTPS? by Twirrim on Monday January 21, 2019 @10:36AM (#18961012)
> The cost for Debian and it's mirror network is very high.

I'm curious how high it actually is. They say it's high, but that could well just be hand-waving. Sure, prior to things like LetsEncrypt those SSL certs would have been a notable financial burden. There's also some extra cost on infrastructure covering the cryptographic workload, but increasingly the processors in servers are capable of handling that without any notable effort.

Re:Why does APT not use HTTPS? by toast0 on Monday January 21, 2019 @11:18AM (#18961319)
Certificate cost is trivial. Let's encrypt makes it free, but with a small change to the host names (country code.ftp.debian.org instead of ftp.countrycode.debian.org), all mirrors could have been covered with a single certificate. Some CAs will let you buy one wildcard cert and issue unlimited duplicate certificates with the same name. So, that would cost some money, but probably not too much.

The real costs are organizational and technical.

Organizing all the different volunteers who are running the mirrors to get certificates installed and updated and configured properly is work. Maybe let's encrypt automation helps here.

From a technical perspective, assuming mirrors get any appreciable traffic, adding https adds significantly to the CPU required to provide service. TLS handshaking is pretty expensive, and it adds to the cost of bulk transfer as well.

I get the feeling that alot of the volunteer mirrors are running on oldish hardware that happens to have a big enough disk and a nice 10G ethernet. I've run a bulk http download service that enabled https, and after that our dual xeon 2690 (v1) systems ran out of CPU instead of out of bandwidth. CPUs newer than 2012 (Sandy Bridge) do better with TLS tasks, but mirrors might not be running a dual CPU system either.

Re:Why does APT not use HTTPS? by Ayesh on Tuesday January 22, 2019 @06:06AM (#18967453)
Old hardware will eventually die and needs replacing. I run infrastructure for a CDN setup, and we actually _reeuced_ the CPU overhead with TLS 1.3 + HTTP/2.
Re:Why does APT not use HTTPS? by jowsie on Monday January 21, 2019 @10:56AM (#18961150)
When someone says the cost is high, most people jump to monetary issues. The cost is in the time and effort required to make the changes, and to have those changes synchronised across every single APT mirror.
Re:Why does APT not use HTTPS? by skywhopper on Monday January 21, 2019 @07:59AM (#18960068)
None of your business.

But! As mentioned above, outside entities being able to monitor exactly which versions of which packages are being installed to which hosts is a significant security risk.

Re:Why does APT not use HTTPS? by gnulinux on Monday January 21, 2019 @02:30PM (#18962863)
This sort of comments aren't helpful. Switching to HTTPS will require tremendous amount of work from volunteers. You need to convince me that (1) your usecase exists (2) your usecase can be remedied with HTTPS.
Re:Why does APT not use HTTPS? by arghwhat on Monday January 21, 2019 @05:23AM (#18959276)
Nothing requires privacy. However, the HTTPS movement is about making privacy the default, not the exception.
Re:Why does APT not use HTTPS? by black-tea on Monday January 21, 2019 @08:07AM (#18960099)
The HTTPS movement is about ensuring that only Google gets your data. It's not about privacy.
Re:Why does APT not use HTTPS? by crankylinuxuser on Monday January 21, 2019 @09:44AM (#18960656)
I don't quite follow. Please explain why Google gets the data.
Re:Why does APT not use HTTPS? by astrodust on Monday January 21, 2019 @10:30AM (#18960971)
Presumably Google Analytics which can embed on HTTPS pages.
Re:Why does APT not use HTTPS? by pasta on Monday January 21, 2019 @10:52AM (#18961119)
Which is already blocked by 40% of the users via ad-blockers.

Edit: some report even over 70% that block GA.

Re:Why does APT not use HTTPS? by black-tea on Monday January 21, 2019 @02:18PM (#18962758)
Using an adblocker is not part of HTTPS.
Re:Why does APT not use HTTPS? by amaccuish on Monday January 21, 2019 @06:00AM (#18959468)
If I was a particular government, I could block apt requests for the tor package e.g.
Re:Why does APT not use HTTPS? by jermy on Monday January 21, 2019 @07:26AM (#18959879)
We deploy our software packages to our own infrastructure and clients using a private APT repository and basic HTTP auth. Obviously we're running it with apt-transport-https installed for making the latter not completely insecure.

I see no reason to do that for signed packages from the main repositories, however.

Re:Why does APT not use HTTPS? by dingaling on Monday January 21, 2019 @05:29AM (#18959323)
For a theoretical example, hiding the fact that I have installed encryption or steganography from my government.
Re:Why does APT not use HTTPS? by switch007 on Monday January 21, 2019 @05:33AM (#18959335)
Genuinely: it's 2019: shouldn't privacy be the default?