Earlier quoted context omitted.
> HTTP/1.1 alone is a trivial protocol Eh? CWE-444 would beg to differ: https://cwe.mitre.org/data/definitions/444.html https://http1mustdie.com/ > the alternative is trusting the client's much more complicated TLS stack and its HTTP stack. An attacker doesn't get to attack client's HTTP stack without first piercing protection offered by TLS.
You seem to have forgotten all the critical TLS bugs we had. Heartbleed ring a bell? > An attacker doesn't get to attack client's HTTP stack without first piercing protection offered by TLS. You misunderstand: this means more attack surface. The attacker can mess with the far more complex and fragile TLS stack, and any attacker controlling a server or server payload can also attack the HTTP stack. Have you recently i…
Modern TLS stacks are far from fragile, especially in comparison to PGP implementations. It's a significant reduction in attack surface when it's a MITM we're talking about.
Malicious mirrors remain a problem, but having TLS in the mix doesn't make it more dangerous. Potential issues with PGP, HTTP and Apt's own logic are just so much more likely.