|
|
|
|
|
by acatton
873 days ago
|
|
TLS prevents a different kind of attack, the MitM one which you describe. GPG signing covers this threat model but much more, the threats include: * The server runs vulnerable software and is compromised by script-kiddies. They, then, upload arbitrary packages on the server * The cloud provider is compromised and attackers take over the server from the admin cloud provider account. * Attacker use a vulnerability (from SSH, HTTPd, ...) to upload arbitrary software packages to the server GPG doesn't protect against the developer machine getting compromised, but it guarantees that what you're downloading has been issued from the developer's machine. |
|
So, you're right, that GPG verifies source, whereas TLS verifies distribution. I suppose those can be very different things.
Perhaps counter example: https://launchpad.net/~lubuntu-ci/+archive/ubuntu/stable-bac...
> The packages here are from the latest upstream release with WORK IN PROGRESS packaging, built from our repositories on Phabricator. These are going to be manually uploaded to the Backports PPA once they are considered stable.
And presumably "manually" means "signed and uploaded"