{"id":25994,"date":"2019-07-17T16:21:50","date_gmt":"2019-07-17T20:21:50","guid":{"rendered":"https:\/\/mjtsai.com\/blog\/?p=25994"},"modified":"2019-07-17T16:21:50","modified_gmt":"2019-07-17T20:21:50","slug":"why-does-apt-not-use-https","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2019\/07\/17\/why-does-apt-not-use-https\/","title":{"rendered":"Why Does APT Not Use HTTPS?"},"content":{"rendered":"<p><a href=\"https:\/\/whydoesaptnotusehttps.com\">Chris Lamb<\/a> (via <a href=\"https:\/\/news.ycombinator.com\/item?id=20460101\">Hacker<\/a> <a href=\"https:\/\/news.ycombinator.com\/item?id=18958679\">News<\/a>):<\/p>\n<blockquote cite=\"https:\/\/whydoesaptnotusehttps.com\"><p>Accessing mirrors over HTTPS would not prevent a compromised mirror tampering with packages, so APT already has other mechanisms to guard against this.<\/p>\n<p>Also, HTTPS would not stop a determined attacker deducing which apt packages your system was downloading (though this becomes more difficult).<\/p>\n<p>[&#8230;]<\/p>\n<p>A switch to HTTPS would also mean you could not take advantage of local proxy servers for speeding up access and would additionally prohibit many kinds of peer-to-peer mirroring where files are stored on servers not controlled directly by your distribution. This would disproportionately affect users in remote locales.<\/p><\/blockquote>\n\n<p>Previously:<\/p>\n<ul>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2016\/02\/02\/sparkle-updater-vulnerability\/\">Sparkle Updater Vulnerability<\/a><\/li>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2015\/08\/28\/shipping-an-app-with-app-transport-security\/\">Shipping an App With App Transport Security<\/a><\/li>\n<\/ul>","protected":false},"excerpt":{"rendered":"<p>Chris Lamb (via Hacker News): Accessing mirrors over HTTPS would not prevent a compromised mirror tampering with packages, so APT already has other mechanisms to guard against this. Also, HTTPS would not stop a determined attacker deducing which apt packages your system was downloading (though this becomes more difficult). [&#8230;] A switch to HTTPS would [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"apple_news_api_created_at":"2019-07-17T20:21:52Z","apple_news_api_id":"488a2c85-4d75-4e8f-bb12-4f494cb2d0ff","apple_news_api_modified_at":"2019-07-17T20:21:54Z","apple_news_api_revision":"AAAAAAAAAAD\/\/\/\/\/\/\/\/\/\/w==","apple_news_api_share_url":"https:\/\/apple.news\/ASIoshU11To-7Ek9JTLLQ_w","apple_news_coverimage":0,"apple_news_coverimage_caption":"","apple_news_is_hidden":false,"apple_news_is_paid":false,"apple_news_is_preview":false,"apple_news_is_sponsored":false,"apple_news_maturity_rating":"","apple_news_metadata":"\"\"","apple_news_pullquote":"","apple_news_pullquote_position":"","apple_news_slug":"","apple_news_sections":"\"\"","apple_news_suppress_video_url":false,"apple_news_use_image_component":false,"footnotes":""},"categories":[2],"tags":[448,48,96],"class_list":["post-25994","post","type-post","status-publish","format-standard","hentry","category-technology","tag-linux","tag-security","tag-web"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/25994","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/comments?post=25994"}],"version-history":[{"count":1,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/25994\/revisions"}],"predecessor-version":[{"id":25995,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/25994\/revisions\/25995"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=25994"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=25994"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=25994"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}