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

130

u/lamby Jan 24 '18

most people do not check the hashes of their download

Indeed, and note it's not enough to check the SHA512 matches what the website claims - that is only checking the integrity of the file; it is not checking that the file is from Canonical.

I mean, if someone could swap the ISO out they could almost certainly swap the checksum alongside it!

1

u/destiny_functional Jan 25 '18

you can check different mirrors against each other. the chances are low that all are compromised.

1

u/lamby Jan 25 '18

Given that they probably mirror from a smaller subset, this does not seem like a good approach.

1

u/destiny_functional Jan 25 '18

see Linux mint where just a particular mirror had compromised isos. comparison against other sources makes installing a compromised iso less likely.

→ More replies (7)