News for hackers. Stuff that matters.
Re:Why does APT not use HTTPS? by jlarocco on Monday January 21, 2019 @05:32PM (#18964262)
Even with HTTPS, it's easy enough to figure out which package is being downloaded based on the download size, as explained in TFA.

Every time this comes up, it's always the same handful of incorrect arguments made in favor of HTTPS.

The cargo-cult mentality that HTTPS == security really does more damage than it does good.

Re:Why does APT not use HTTPS? by zaptheimpaler on Monday January 21, 2019 @06:04PM (#18964454)
I mean deducing the package from download size is way harder than just seeing the name in the open.. security is rarely perfect and more like an arms race, making things more difficult is a big deal. This kind of "you can hack Y too" argument doesn't make any sense if its way harder to hack Y than X.
Re:Why does APT not use HTTPS? by jlarocco on Monday January 21, 2019 @06:23PM (#18964592)
I would agree with you IF it were actually "way harder", but realistically it's no more difficult than checking the file name or the md5 checksum.
Re:Why does APT not use HTTPS? by gtsteve on Tuesday January 22, 2019 @07:44AM (#18967844)
What if keepalive is used and multiple packages are downloaded? Surely that is at least plausible deniability.
Re:Why does APT not use HTTPS? by wallunit on Monday January 21, 2019 @06:34PM (#18964659)
Is that even true? In practice rather than downloading a single package you'd download/update a bunch of packages over the same connection, and an attacker would only see the accumulated size, right?
Re:Why does APT not use HTTPS? by jlarocco on Monday January 21, 2019 @06:51PM (#18964765)
You can see when you run "apt-get install ..." or "apt-get upgrade" that it opens multiple connections to download packages...

And the Debian contributor who wrote TFA says it's possible, and I'm sure he knows a lot more about it than I do.

Re:Why does APT not use HTTPS? by pvorb on Monday January 21, 2019 @06:50PM (#18964752)
I'm not sure how APT handles connections, but with a typical browser connections will be reused if requests are made shortly after another.

That doesn't mean it's impossible to determine what packages you downloaded. But it will be more effort to do so.

Re:Why does APT not use HTTPS? by dcbadacd on Monday January 21, 2019 @08:45PM (#18965311)
Less with HTTP2/TLSv1.3, endpoints are also hard to detect with ESNI.
Re:Why does APT not use HTTPS? by AstralStorm on Tuesday January 22, 2019 @02:59AM (#18966741)
No they aren't. HTTPS fingerprinting is easy. It's been done by lcamtuf years ago and it's available as a layer 7 filter in Linux... TLS adds more information because it prevents proxies and has specific server implementations.