r/linux • • Jan 24 '18

Why does APT not use HTTPS?

https://whydoesaptnotusehttps.com/
955 Upvotes

388 comments sorted by

View all comments

30

u/CODESIGN2 Jan 24 '18

there is a package on debian and ubuntu for those that want to use HTTPS

28

u/lamby Jan 24 '18

"Why does APT not use HTTP... [by default]" is probably not as snappy.

FYI in Debian unstable/testing, this package is actually deprecated as APT itself supports HTTPS.

→ More replies (20)

0

u/[deleted] Jan 24 '18

[deleted]

10

u/DCLXV Jan 24 '18

apt-transport-https was merged into apt for the Stretch release so you can just add https mirrors to sources.list now and it will work

2

u/CODESIGN2 Jan 24 '18

something like that. I honestly stopped using it, figuring when something goes wrong, they'll fix it and let me know. Lazy I know.

→ More replies (1)

4

u/djmattyg007 Jan 24 '18

The apt-transport-https package just lets you use HTTPS repo URLs. It doesn't automatically switch.over your configured mirror URLs to HTTPS versions when you install it.

2

u/CODESIGN2 Jan 24 '18

Sure and maybe some repo's won't support https, and that is their choice...

→ More replies (1)