package signing

The use of cryptographic signatures on packages or repository metadata so a package manager can reject software that did not come from a trusted publisher.

Adding an unsigned or wrongly trusted repository lets whoever controls it install code as root.

In more detail

The distribution signs its repository index with a private key, and your machine holds the matching public key. Before installing, the package manager checks the signature and the checksums the index lists for each package. Signing proves where software came from and that it was not altered; it does not prove the software is correct or safe to run.

Related terms

Taught in

References