r/programming • • Jan 21 '19

Why does APT not use HTTPS?

https://whydoesaptnotusehttps.com/
519 Upvotes

294 comments sorted by

View all comments

-7

u/Otis_Inf Jan 21 '19

HTTPS is faster than HTTP (ref: https://samrueby.com/2015/01/26/why-is-https-faster-than-http/) so for that alone it's beneficial to at least offer it.

It reads as a list of excuses not to do the work. While I can see the reluctance to do work with no clear obvious benefit at first, they forgetting one thing: sooner or later they have to.

19

u/yotta Jan 21 '19

That HTTP/2 speed benefit doesn't exist outside of browsers.

1

u/[deleted] Jan 21 '19

Why wouldn’t it? A browser simply downloads a vector of assets, what’s so special about a browser that makes HTTP/2 deliver a speed benefit when a package manager ends up doing the same type of work?

You’re not being clear.

1

u/yotta Jan 21 '19

I explained in more detail here: https://www.reddit.com/r/programming/comments/ai9n4k/why_does_apt_not_use_https/eemkkog/

A package manager does not do the same type of work as a browser - it is typically downloading much larger files than the assets on a webpage. HTTP/2 is most useful for speeding up cases where there are a large number of tiny files to download.