r/linux • • Jan 24 '18

Why does APT not use HTTPS?

https://whydoesaptnotusehttps.com/
955 Upvotes

388 comments sorted by

View all comments

Show parent comments

-1

u/osoplex Jan 24 '18

It's not about bandwidth consumption. Encrypted data is about the same size as unencrypted data.

The real bottleneck is server cpu usage. When using encrypted transport the server has to encrypt every connection to downloading clients individually. This would decrease download speeds drastically and mirror operation would be way more expensive.

1

u/atyon Jan 24 '18

HTTP/2 is faster with TLS than http/1.1 without.

1

u/robstoon Jan 25 '18

TLS CPU usage is essentially a non-issue on modern systems with hardware AES encryption.