by a--b · 13y ago · 0 comments
The portsnap client has hash of the signing public key (in /etc/portsnap.conf, where it was placed during the install process) and uses that to check the validity of the bits it downloads from a portsnap mirror.
For the ISO mirrors, I don't think there's anything automatic, you have to manually run sha256 on the file and compare checksums. Do Linux distributions have another way?
It makes sense to sign packages, but not ports. Ports do contain checksum files though, to make sure the source tarball/zip you download hasn't been changed -- this is what 'gaadd33' was referring to.
I really like ports - as much for the knowledge that I have all the right header files.