74 points SG- 2 hours ago 14 comments
8organicbits 2 hours ago | parent
edit: On lobste.rs I see a recommendation for `apt download`: https://lobste.rs/s/h7bvma/man_middle_arbitrary_code_executi...
thewisenerd 2 hours ago | parent
justicz 1 hour ago | parent
justicz 58 minutes ago | parent
sczi 40 minutes ago | parent
apt -o Acquire::http::AllowRedirect=false update
apt -o Acquire::http::AllowRedirect=false upgrade
Since this also involves redirects, would that protect users while updating apt for this one also?SoftTalker 53 minutes ago | parent
mikepurvis 46 minutes ago | parent
So you pass through the upstream headers but then simulate a failure/resume and supply different contents for the resumed download.
SoftTalker 41 minutes ago | parent
dinosaurdynasty 31 minutes ago | parent
from the OP
APT can use HTTPS, but often doesn't, making a MITM attack easier (also the idea for a long time has been signatures are enough, and/or TLS certs used to be a lot harder to get, but at this point you should really be using both).
SoftTalker 9 minutes ago | parent
hollow-moe 23 minutes ago | parent
ChrisArchitect 22 minutes ago | parent